On Tue 18 Jun 2019 at 18:48:52 (-0400), Bob Bernstein wrote:
> I put this into google: "systemd X windows Debian" and was brought
> here:
> 
> https://www.debian.org/doc/manuals/debian-reference/ch07.en.html

… which includes the statement "The entire X architecture is
considered insecure if run as root. You must always use the lowest
privilege level possible, like a regular user account."

> I executed the suggested command:
> 
> # dpkg-reconfigure --priority=low x11-common
> 
> ...and then decided to throw all caution to the winds:
> 
> # startx
> 
> Saints Be Praised! I had a colorful image in front of me, and my icewm
> had been neatly launched. No mouse problem. OMG!
> 
> But it only works for root.
> 
> :(

Posting that something works, when the command is delinquent (how
Americans love that word :) ), is not much help in diagnosis. So
it might be worth posting the mode of failure using the command
under the correct circumstances, ie as a user. It might avoid the
scattergun fixes being suggested by some.

I've never run startx as root, and have no idea what's supposed to
be the result. (Because of the frequency with which one starts an
X server, I use a function to call startx, so that my fingers don't
get used to typing it.)

As Greg said, startx has always worked; since 1996 for me. On jessie,
-rwsr-sr-x 1 root   root        9468 Apr  1  2014 X*
but on stretch:
lrwxrwxrwx 1 root   root           4 Oct 31  2018 X -> Xorg*
-rwxr-xr-x 1 root   root         274 Oct 31  2018 Xorg*
hence the move by the logs.

> We're almost there kids. Please bear with me, as I know I have been
> testing the patience of some of you.

Cheers,
David.

Reply via email to