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

Re: xinit's xserverrc



On Wed, 28 May 2008, Kai Hendry wrote:

> On 2008-05-28T01:15+0200 Brice Goglin wrote:
> > Try passing /etc/X11/xorg.webc.conf instead of a relative path. IIRC, we
> > only allow alternative config files from /etc/X11.
> 
> Not sure about the argument ordering:
> xinit /etc/X11/xinit/xinitrc -- /usr/bin/X -conf /etc/X11/xorg.webc.conf :1 -auth /tmp/serverauth.CBjhw27703
> xinit /etc/X11/xinit/xinitrc -- /usr/bin/X :1 -conf /etc/X11/xorg.webc.conf -auth /tmp/serverauth.CBjhw27703
> 
> However both fail with:
> 
> 	Fatal server error:
> 	Unrecognized option: -conf

man Xorg says the option is named '-config', not '-conf'

> 
> Still a bit confused over X & Xorg:
> 
> x61:~% ll /usr/bin/Xorg /usr/bin/X
> -rwsr-sr-x 1 root root 7.4K 2008-01-06 20:20 /usr/bin/X*
> -rwxr-xr-x 1 root root 1.6M 2008-05-18 12:55 /usr/bin/Xorg
> 
> 
> Why can't X take Xorg's arguments? (-conf)
> 
> 
> Why does Xorg suffer perm problems whilst X doesn't?

X is a suid-root wrapper executing Xorg/the real xserver so that the 
server itself gets started as root

c'ya
sven

-- 

The Internet treats censorship as a routing problem, and routes around
it. (John Gilmore on http://www.cygnus.com/~gnu/)


Reply to: