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


Groups > linux.debian.user > #160009

Re: Keyboard and Mouse not Working after Upgrade

From Flo <debianflo@gmx.at>
Newsgroups linux.debian.user
Subject Re: Keyboard and Mouse not Working after Upgrade
Date 2015-10-30 18:30 +0100
Message-ID <qplF0-bI-27@gated-at.bofh.it> (permalink)
References <qphL3-6gp-1@gated-at.bofh.it> <qpixr-6LW-11@gated-at.bofh.it> <qpjaa-70R-9@gated-at.bofh.it> <qpjDc-7r6-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> 
>> $ ps auxw | grep Xorg
>> username       8566  0.0  0.3 245992 25544 tty1     Sl   15:19   0:00
>> /usr/lib/xorg/Xorg -nolisten tcp :0 vt1 -keeptty -auth
>> /tmp/serverauth.Gi5TPbXzpf
> 
> OK, I *think* that's the problem: Once upon a time, X was setuid root.
> So "startx" as a user used to do the right thing. In the brave new
> systemd world, X is run as a regular user and systemd-whatever (sorry,
> I'm not versed on systemd's innards) does whatever root magic is
> needed.
> 
> Assuming my hunch above is right, you might try to
> 
>  - start X from a display manager (this one runs as root and can inherit
>    that to the X server)
>  - afaik there is an X "setuid wrapper", but I forgot how it's called,
>    perhaps something like "xorg-legacy" or thereabouts. This should make
>    startx work again for "mortals".
> 

That was the right thought: I installed xserver-xorg-legacy. No effect.
But then I had a closer look at /etc/X11/Xwrapper.config. This file is
from 2012 and was there before installation of xserver-xorg-legacy
(maybe from x11-common). And I had to set needs_root_rights to yes. Now
it's working. Thanks a lot.

> Or you go the systemd way.
> 

Yes, this would have been better way but I am afraid that my init
scripts don't work anymore. I need to take some time to get into it.

Thank you again,
best Regards,
Flo.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Keyboard and Mouse not Working after Upgrade Flo <debianflo@gmx.at> - 2015-10-30 14:20 +0100
  Re: Keyboard and Mouse not Working after Upgrade <tomas@tuxteam.de> - 2015-10-30 15:10 +0100
    Re: Keyboard and Mouse not Working after Upgrade Flo <debianflo@gmx.at> - 2015-10-30 15:50 +0100
      Re: Keyboard and Mouse not Working after Upgrade <tomas@tuxteam.de> - 2015-10-30 16:20 +0100
        Re: Keyboard and Mouse not Working after Upgrade Sven Joachim <svenjoac@gmx.de> - 2015-10-30 17:10 +0100
          Re: Keyboard and Mouse not Working after Upgrade Flo <debianflo@gmx.at> - 2015-10-30 18:30 +0100
        Re: Keyboard and Mouse not Working after Upgrade Flo <debianflo@gmx.at> - 2015-10-30 18:30 +0100
      Re: Keyboard and Mouse not Working after Upgrade Brian <ad44@cityscape.co.uk> - 2015-10-30 17:20 +0100
        Re: Keyboard and Mouse not Working after Upgrade Brian <ad44@cityscape.co.uk> - 2015-10-30 17:40 +0100
        Re: Keyboard and Mouse not Working after Upgrade Flo <debianflo@gmx.at> - 2015-10-30 18:40 +0100

csiph-web