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

Re: xinit's xserverrc



Running as the user 'webc' with groups: webc root kmem video

# ARGS="-logfile /tmp/runmeX.txt -config xorg.webc.conf"
# Error: xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)

# ARGS="-logfile /tmp/runmeX.txt"
# Error: The '-logfile' option can only be used by root.

ARGS="" # *does work*!
xinit /etc/X11/xinit/xinitrc -- /usr/bin/X :1 ${ARGS} -auth /tmp/serverauth.CBjhw27703


I don't think the X->Xorg SUID wrapper is passing arguments properly. These
invocations as root run fine:

xinit /etc/X11/xinit/xinitrc -- /usr/bin/X :1 -logfile /tmp/runmeX.txt -config xorg.webc.conf -auth /tmp/serverauth.CBjhw27703
xinit /etc/X11/xinit/xinitrc -- /usr/bin/Xorg :1 -logfile /tmp/runmeX.txt -config xorg.webc.conf -auth /tmp/serverauth.CBjhw27703

So the ARGS are fine.


Kind regards,


Reply to: