[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X11 should not run as root or?



Am Fri, Jun 02, 2023 at 07:52:03PM -0400 schrieb Greg Wooledge:
> That's quite strange.  I have not installed bookworm, but I just upgraded
> to it.  I use startx as well (but with fvwm instead of i3-wm), and I'm not
> seeing this problem.  Xorg runs as me, just as it has done for the last
> few releases.
> 
> unicorn:~$ ps -ef | grep X
> greg        1030    1007  0 May31 tty1     00:00:00 xinit /etc/X11/xinit/xinitrc -- /etc/X11/xinit/xserverrc :0 vt1 -keeptty -auth /tmp/serverauth.C7PjJM0pDW
> greg        1032    1030  1 May31 tty1     00:45:52 /usr/lib/xorg/Xorg -nolisten tcp :0 vt1 -keeptty -auth /tmp/serverauth.C7PjJM0pDW
> greg       54927    1160  0 19:46 pts/3    00:00:00 grep X
> unicorn:~$ grep -v ^# /etc/X11/Xwrapper.config 
> allowed_users=console
> 
> No "needs_root_rights" here, so I don't know why yours needs it.  Maybe
> it's got something to do with driver selection?  If I recall correctly
> from the days when this change was made, some cards that use legacy
> drivers may need special configuration.
> 

graphic driver is nvidia.
secureboot is activated with mok (debian default key).

what makes you think it's different with e.g. amdgpu?


Reply to: