Differences

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

Link to this comparison view

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