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

2008-09-06 Thread C R McClenaghan
Thanks! This is works great!

Chris

On Sep 5, 2008, at 10:03 AM, TeXitoi wrote:

 C R McClenaghan [EMAIL PROTECTED] 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

 Thoughts?

 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


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


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

2008-09-05 Thread TeXitoi
C R McClenaghan [EMAIL PROTECTED] 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

 Thoughts?

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


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

2008-09-04 Thread ritz
Hello

On Wed, 2008-09-03 at 16:44 -0700, C R McClenaghan wrote:
 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  
probably, this maybe of interest
http://airlied.livejournal.com/59521.html


 keyboard an issue startxfce from the shell there isn't any problem.
 
 Thoughts?
 
 Chris
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
-- 
Ritesh Khadgaray
Ph: +919970164885
Desktop LinuX N Stuff, RHCE
Software Maintenance Engineer, Pune, Red Hat
ॐ मणि पद्मे हूँ
Eat Right, Exercise, Die Anyway.



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


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

2008-09-03 Thread C R McClenaghan
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.

Thoughts?

Chris

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community