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

Re: X11 should not run as root or?



Am Sun, Jun 04, 2023 at 07:18:36PM -0400 schrieb Greg Wooledge:
> On Sun, Jun 04, 2023 at 11:03:27PM +0000, therealcyclist wrote:
> > Am Sun, Jun 04, 2023 at 08:26:55PM +0200 schrieb Vincent Lefevre:
> > > i3-wm is a window manager, not a display manager. So it depends on
> > > what display manager you're using (if any).
> > 
> > so we assume that the majority use a display manager who cares about this via polkit or similar.
> > x11 as root by default is a security risk to which all those running i3-wm under xinit are unnecessarily exposed.
> > unless they know what they are doing.
> 

> If you are running "startx" on tty1 in Debian 11 and Xorg is running
> as root instead of your regular user account, then START THERE.

I have tested debian 12 not 11.

> What video card do you have?

nvidia/amd *seperate systems

> Which driver is Xorg using?  (Find the actually correct Xorg.0.log file --
> there may be more than one -- and find the driver details in there.)

nvidia/amdgpu *seperate systems

> Is the xserver-xorg-legacy package installed?

apt install i3-wm xinit 
don't pull it. 

> Do you have all the firmware installed that your video card wants?
> (Look for "firmware" in dmesg.)

firmware-amd-graphics/firmware-nvidia-gsp

--


Reply to: