I want an NX or VNC session to start automatically when an Ubuntu server boots up - without a monitor connected - loading a certain user's desktop and keeping it loaded and ready until I log in via NX or VNC.
How would one accomplish that?
This code works via my terminal when I am logged in as the NX user, but not via root, and not in the init.d folder. No idea why?
/usr/NX/bin/nxclient --session /home/user/.nx/config/SavedSession.nxs
Please provide somewhat simplified instructions! I am certified linux newb.