If you want a GUI then you don't need SSH, that is command line, you need VNC installed
1. Open LX terminal
2. In LX terminal type in "sudo apt-get update" to update the operating system to the latest version
3. When prompted to update type in "y" and press enter
4. After updating is complete type in "sudo install tightvncserver". Press "y" and hit enter when prompted
5. Once tight VNC server has completed installation you can start it by typing in "vncserver:1"
6. It will prompt you to create a password. Keep in mind passwords can be at MOST 8 characters long.
7. Once you have entered a password you are done! The VNC server is now running in the background of your Raspberry Pi's operating system. Now you can use any computer on your network with a VNC client to remotely access the Raspberry Pi
Now to start it on bootup of Pi,
Log into a terminal on the Pi as root:
sudo su
Navigate to the directory /etc/init.d/:
cd /etc/init.d/
Create a new file here containing the following script:
### BEGIN INIT INFO
# Provides: vncboot
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start VNC Server at boot time
# Description: Start VNC Server at boot time.
### END INIT INFO
#! /bin/sh
# /etc/init.d/vncboot
USER=root
HOME=/root
export USER HOME
case "$1" in
start)
echo "Starting VNC Server"
#Insert your favoured settings for a VNC session
/usr/bin/vncserver :0 -geometry 1280x800 -depth 16 -pixelformat rgb565
;;
stop)
echo "Stopping VNC Server"
/usr/bin/vncserver -kill :0
;;
*)
echo "Usage: /etc/init.d/vncboot {start|stop}"
exit 1
;;
esac
exit 0
Save this file as vncboot (for example)
Make this file executable:
chmod 755 vncboot
Enable dependency-based boot sequencing:
update-rc.d /etc/init.d/vncboot defaults
If enabling dependency-based boot sequencing was successful, you will see this:
update-rc.d: using dependency based boot sequencing
But if you see this:
update-rc.d: error: unable to read /etc/init.d//etc/init.d/vncboot
then try the following command:
update-rc.d vncboot defaults
Reboot your Raspberry Pi and you should find a VNC server already started.
Now on your Mac/Tablet/Windows laptop/Phone download a VNC Client. Connect to 192.****.*.***:1 with the password and you have your GUI on any device