How to start X as non root user without using display manager
C R McClenaghan
chris at mcclenaghan.com
Sat Sep 6 08:03:35 CEST 2008
Thanks! This is works great!
On Sep 5, 2008, at 10:03 AM, TeXitoi wrote:
> C R McClenaghan <chris at mcclenaghan.com> writes:
>> I'm hoping to boot into a non privileged user to use the phone.
>> Does anyone know how to start X as a non root user without using a
>> display manager. My attempts to simply add --chuid <name|uid> option
>> to start-stop-daemon result in the error message - "X: user not
>> authorized to run the X server, aborting". If I login using a usb
>> keyboard an issue startxfce from the shell there isn't any problem.
> to start X without owning the console, see /etc/X11/Xwrapper.config
> Personnally, on debian, I use that in /etc/inittab :
> 2:23:respawn:/sbin/getty -L -n -l /usr/local/sbin/autologin 38400 tty2
> and autologin :
> exec su -l user -c startx -- vt4
> Thanks to getty in inittab, the console is owned by the launcher, and
> /etc/X11/Xwrapper.config do not nead to be touched.
> to customise your xsession, just customise .xsession.
> Guillaume Pinot http://www.irccyn.ec-nantes.fr/
> ``Computers are good at following instructions, but not at reading
> mind.'' -- Donald E. Knuth, the TeXbook
> () ASCII ribbon campaign -- Against HTML e-mail
> /\ http://www.asciiribbon.org -- Against proprietary attachments
> Openmoko community mailing list
> community at lists.openmoko.org
More information about the community