I'm still new at this crap, so don't go all tattoomike on me...
I have a (almost) headless box in the closet hooked up to TV. This way I can switch the TV input and see my security cameras. The problem is that whenever I have to restart the box (which I do from time to time via a ssh login from my laptop), I have to get out the keyboard and mouse to relaunch firefox (the security system displays in a browser).
I want to be able to launch GDE, or better yet, launch firefox directly from a remote login prompt. Problem is, X will only launch from a console login. So, how do I launch firefox from a ssh remote login?
Sounds like you want it to autologin a user and launch firefox. Doable but I don't remember how. The other alternative is to use VNC or better yet xvnc as a remote desktop display. You'll be able to login to a graphical UI remotely without needing a KB or mouse attached to your headless box.
Did you get this figgered out? Not sure how to auto-login a user; all my startup scripts run from rc.d.
I have the free X server Xming on my laptop - so I just ssh into my headless box, tunnel X11 over SSH, make sure the display variable is set and then I can start any X app from the command line and see it on the PC.
__________________ The noblest pleasure is the joy of understanding. Leonardo daVinci
1. Edit ~/.vnc/xstartup
2. For KDE, replace "twm &" with "startkde &"
3. For Gnome, replace "twm &" with "exec gnome-session &"
4. Kill any existing VNC servers with "vncserver -kill :xxx" where xxx is the display number.
5. Start a new server.