Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #229286 > unrolled thread

Problem with Xserver

Started byKlaus Jantzen <k.d.jantzen@mailbox.org>
First post2020-12-04 10:00 +0100
Last post2020-12-04 20:00 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  Problem with Xserver Klaus Jantzen <k.d.jantzen@mailbox.org> - 2020-12-04 10:00 +0100
    Re: Problem with Xserver Dan Ritter <dsr@randomstring.org> - 2020-12-04 14:10 +0100
      Re: Problem with Xserver Klaus Jantzen <k.d.jantzen@mailbox.org> - 2020-12-04 20:00 +0100

#229286 — Problem with Xserver

FromKlaus Jantzen <k.d.jantzen@mailbox.org>
Date2020-12-04 10:00 +0100
SubjectProblem with Xserver
Message-ID<Bif6y-35a-9@gated-at.bofh.it>
Hi,

yesterday I encountered a problem with using the console with zsh.

In the internet I found a "solution": modify 'allowed_users' in 
/etc/X11/Xwrapper.config.

I made the change and that was it.

Now the autlogin does not work anymore. Instead the normal login screen 
is shown. But the login as the normal user results in

a short blank screen and a new login screen is shown (obviously the 
system does not like me anymore); i.e. I cannot log in as user.

I can log in as root and can do whatever I want there.

I am using Debian Buster AMD64 (updated weekly), XFCE4 desktop with 
lightdm.


Does anybody have a suggestion on how to solve this problem?

Thanks.

K.D.J.

[toc] | [next] | [standalone]


#229301

FromDan Ritter <dsr@randomstring.org>
Date2020-12-04 14:10 +0100
Message-ID<Bij0u-5Eu-3@gated-at.bofh.it>
In reply to#229286
Klaus Jantzen wrote: 
> Hi,
> 
> yesterday I encountered a problem with using the console with zsh.
> 
> In the internet I found a "solution": modify 'allowed_users' in
> /etc/X11/Xwrapper.config.
> 
> I made the change and that was it.
> 
> Now the autlogin does not work anymore. Instead the normal login screen is
> shown. But the login as the normal user results in
> 
> a short blank screen and a new login screen is shown (obviously the system
> does not like me anymore); i.e. I cannot log in as user.
> 
> I can log in as root and can do whatever I want there.
> 
> I am using Debian Buster AMD64 (updated weekly), XFCE4 desktop with lightdm.
> 
> 
> Does anybody have a suggestion on how to solve this problem?

Obviously, some users are not allowed_users. 

man Xwrapper.config says:

    allowed_users = rootonly|console|anybody

    Specify  which  users may start the X server
    through the wrapper. Use rootonly to only allow root, use console to
    only allow users logged into a physical console, and use anybody to
    allow anybody.  The default is console.

Have you set it to "anybody"?

-dsr-

[toc] | [prev] | [next] | [standalone]


#229325

FromKlaus Jantzen <k.d.jantzen@mailbox.org>
Date2020-12-04 20:00 +0100
Message-ID<Biotb-rJ-1@gated-at.bofh.it>
In reply to#229301
On 12/4/20 2:04 PM, Dan Ritter wrote:
> Klaus Jantzen wrote:
>> Hi,
>>
>> yesterday I encountered a problem with using the console with zsh.
>>
>> In the internet I found a "solution": modify 'allowed_users' in
>> /etc/X11/Xwrapper.config.
>>
>> I made the change and that was it.
>>
>> Now the autlogin does not work anymore. Instead the normal login screen is
>> shown. But the login as the normal user results in
>>
>> a short blank screen and a new login screen is shown (obviously the system
>> does not like me anymore); i.e. I cannot log in as user.
>>
>> I can log in as root and can do whatever I want there.
>>
>> I am using Debian Buster AMD64 (updated weekly), XFCE4 desktop with lightdm.
>>
>>
>> Does anybody have a suggestion on how to solve this problem?
> Obviously, some users are not allowed_users.
>
> man Xwrapper.config says:
>
>      allowed_users = rootonly|console|anybody
>
>      Specify  which  users may start the X server
>      through the wrapper. Use rootonly to only allow root, use console to
>      only allow users logged into a physical console, and use anybody to
>      allow anybody.  The default is console.
>
> Have you set it to "anybody"?
>
> -dsr-
>
Thanks for your quick reply.

Originally the setting in Xwrapper.config was 'allowed-users=console'.

I changed that to '...=anybody' and that 'killed me'.

Even a 'dpkg-reconfigure ..' as recommended in the comments of 
Xwrapper.config did not help.

Looking further I found a rather brutal solution to the problem:

==> remove ~/.Xauthority

I did that, I can login, autologin works: my machine accepts me as user 
again!

The original problem still exists, but that seems to be a 
zsh/xorg-problem. I will have to see how that can be resolved.

K.D.J.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web