Re: How to start X as non root user without using display manager

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: TeXitoi
Date: Friday, September 5, 2008 - 10:03 am

C R McClenaghan <chris@mcclenaghan.com> writes:


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 :
#!/bin/sh
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/~pinot/

``Computers are good at following instructions, but not at reading your
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@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: How to start X as non root user without using display ..., TeXitoi, (Fri Sep 5, 10:03 am)