On 04/02/2013 04:14 AM, Duncan Patton a Campbell wrote:
Howdy all?

I'm looking for the "right" way to start X on boot and run a default
display program, much like xdm but with no login.

Any pointers to similar would be greatly appreciated,

thanks,

Dhu


Isn't that what you want? This is obviously to start xclock, but you get the point.

# useradd -m auser
# cat <<EOF >/home/auser/.xinitrc
#!/bin/sh
xclock
EOF
# chmod 755 /home/auser/.xinitrc
# echo 'su - auser -c "/usr/X11R6/bin/startx"' >> /etc/rc.local
# reboot

Reply via email to