I've got a remote Ubuntu box (a Linode) that I need to run a Java program which is not headless (it has a GUI window). I am having the worst time trying to get this to work. I don't need a whole desktop, just a window. Starting with a minimally installed Ubuntu, can you recommend a lightweight strategy for doing this?
Do the following to get it running on your VPS. Once you SSH in, do the following:
sudo apt-get install vnc4server openbox vncserver # enter password, verify vncserver -kill :1