GUI on unbuntu 14.04
I assume this will work on Windows with Putty, but I don't have Windows, so cannot say.
You probably won't be able to run Unity, I'd recommend Xfce.
If you prefer vnc4server and vncviewer instead then install those on the server/client then set up the following, this works on Ubuntu 14.
Start the tunnel:
# CLIENT ssh tunnel script #!/bin/sh ssh -X -p 22 -L 127.0.0.1:5999:127.0.0.1:5901 todoyouruserid@todoyourlinodehostorip
Create a .vnc directory on the server and an executable file called xstartup and fill it with this:
#!/bin/sh # Uncomment the following two lines for normal desktop: # debugging trying this out unset SESSION_MANAGER # exec /etc/X11/xinit/xinitrc [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & #fvwm & startxfce4&
Start the server:
# SERVER start the VNC server #!/bin/sh vncserver :01 -rfbport 5901 -once -geometry 1280x1024 -depth 16 -nevershared -localhost
Run a ps and make sure the VNC server started or check the log in the .vnc directory.
Start your vncviewer:
^^^ at some point, I can't recall when, you need to set up a VNC password and you'd enter it when starting the viewer. The viewer will connect to your localhost tunneling over ssh to your vnc server port and you should see Xfce or FVWM if you prefer it as your desktop.
To kill the server:
vncserver -kill :01 # or whatever the server started the screen on, it should be in the .vnc/ directory log.
I am new to linux all together at least terminal wise so honestly you are all confusing me big time.
Working with servers means working on a terminal. Even when you have a GUI, it needs to be set up via terminal, troubleshooted on a terminal, etc. The best guide I can find that we have would be here:
As Mark suggested, performance isn't always great this way. I strongly suggest using this opportunity to learn more about Linux and it's command-line system. We have several guides which will help:
I hope that helps. Good luck.
And what i am trying to do i need GUI regardless.