Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
vnc [2016/06/23 17:46]
admin created
vnc [2016/06/23 18:11] (current)
admin [Autostart the VNC server:]
Line 1: Line 1:
 ===== VNC ===== ===== VNC =====
  
-Install the VNC Server.\\+==== Install the VNC Server on the Raspberry: ==== 
 +[[https://www.raspberrypi.org/documentation/remote-access/vnc/]]\\
  
   $ sudo apt-get update   $ sudo apt-get update
Line 9: Line 10:
 Start VNC Server: Start VNC Server:
   $ vncserver :1 -geometry 1024x768 -depth 24   $ vncserver :1 -geometry 1024x768 -depth 24
-Stop X Session: +Stop the X Session: 
-$ service lightdm stop+  $ service lightdm stop
  
-Install VNC-Client from tightvnc.com+==== Install the VNC-Client: ==== 
 +Install the client for and on your system.\\ 
 +[[http://www.tightvnc.com/download.php]]\\
  
-Enable Cursor: +==== Enable the Cursor: ==== 
-In +Go to: 
-$ nano /home/pi/.vnc/xstartup +  $ nano /home/pi/.vnc/xstartup 
-add: -cursor_name left_ptr+Add-cursor_name left_ptr\\ 
 +So it looks like that: 
 +  xsetroot -solid grey -cursor_name left_ptr
  
-oldxsetroot -solid grey +==== Autostart the VNC server==== 
-new: xsetroot -solid grey -cursor_name left_ptr +Download, unpack and copy the vncboot script to the /etc/init.d\\ 
- +  $ cd Downloads 
-Autostart VNC+  $ wget http://www.dernulleffekt.de/programme/vncboot.tar 
- +  $ tar -xf vncboot.tar 
-cd /etc/init.d/ +  sudo cp vncboot /etc/init.d/ 
-sudo nano vncboot +  cd /etc/init.d/ 
-$ sudo chmod 755 vncboot +  $ sudo chmod 755 vncboot 
-$ sudo update-rc.d -f lightdm remove +Stop the Displaymanager on :0 and start the vnc server on :1\\ 
-$ sudo update-rc.d vncboot defaults+  $ sudo update-rc.d -f lightdm remove 
 +  $ sudo update-rc.d vncboot defaults 
 +Reboot the Raspberry Pi\\ 
 +  $ sudo reboot