Differences
This shows you the differences between two versions of the page.
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 |
+ | [[https:// | ||
$ 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 | + | ==== Install |
+ | Install the client for and on your system.\\ | ||
+ | [[http:// | ||
- | Enable Cursor: | + | ==== Enable |
- | In | + | Go to: |
- | $ nano / | + | $ nano / |
- | add: -cursor_name left_ptr | + | Add: -cursor_name left_ptr\\ |
+ | So it looks like that: | ||
+ | xsetroot -solid grey -cursor_name left_ptr | ||
- | old: xsetroot -solid grey | + | ==== Autostart the VNC server: ==== |
- | new: xsetroot -solid grey -cursor_name left_ptr | + | Download, unpack and copy the vncboot script to the / |
- | + | $ cd Downloads | |
- | Autostart VNC: | + | $ wget http:// |
- | + | $ tar -xf vncboot.tar | |
- | $ cd / | + | $ sudo cp vncboot |
- | $ sudo nano vncboot | + | $ cd / |
- | $ 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 vncboot defaults | ||
+ | Reboot the Raspberry Pi\\ | ||
+ | $ sudo reboot |