3

startx as normal user from runlevel 4 script

view full story
linux-howto

http://www.linuxforums.org – I was having an issue with XDM not starting my session whenever I used any kind of dhcp client so I have been using startx with fvwm2 in the .xinitrc file. I put 'su - matthew -c "startx" &> /dev/null' in /etc/rc.d/rc.4, but to me this seems like the wrong way of doing this. Is there any better way to set the environment and run startx as a normal user at boot? I'm on Slackware 13.0 if you know anything about the XDM issue (HowTos)