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

Re: X11 als non-root



Hallo Eduard,

On [01-07-01 09:49], Eduard Bloch wrote:

> > beim rum googlen hab ich irgendwo (URL hab ich leider nicht mehr)
> > gelesen, dass man "allowed_users=rootonly" in /etc/X11/Xwrapper.config
> > zu "allowed_users=console" aendern muss um X als non-root laufen
> 
> Das gilt ab XFree-4.x und dann gilt: man Xwrapper.config ;)

Achso, vielleicht sollte ich doch mal upgraden.

> > lassen zu koennen (es ging um Debian). Die Datei existiert hier
> > allerdings gar nicht und auch wenn ich sie erstelle funktioniert es
> > nicht.
> 
> Da ist noch ein Bug im Setup-Skript, die nötigen Dateien werden manchmal
> nicht im ersten Durchgang angelegt. Abhilfe: 
> dpkg-reconfigure xserver-xfree86
> dpkg-reconfigure xserver-common

Werde ich mal ausprobieren.

> > Kann mir jemand sagen ob es ueberhaupt so einfach moeglich ist. X
> 
> Hast du die ganze Zeit X als root laufen oder was?

Ja, scheinbar schon:

$ ps auxwww

janto  ...  sh /usr/bin/X11/startx -- -nolisten tcp
janto  ... xinit /usr/X11R6/lib/X11/xinit/xinitrc -- -nolisten tcp -auth /home/janto/.Xauthority
root  ... X :0 -nolisten tcp -auth /home/janto/.Xauthority

Gruss
Janto

-- 
http://learn.to/quote/ http://learn.to/quote/ http://learn.to/quote/
http://quote.6x.to/    http://quote.6x.to/    http://quote.6x.to/
http://learn.to/quote/ http://learn.to/quote/ http://learn.to/quote/
http://quote.6x.to/    http://quote.6x.to/    http://quote.6x.to/

Attachment: pgpsHptWa3yW_.pgp
Description: PGP signature


Reply to: