- There are many VNC server options available but I prefer X11VNC as it provides access to the same LXDE desktop session as live on RPi, unlike tightvncserver which creates a new virtual desktop session for each connection.
- To install X11VNC server SSH into your RasPi and use - sudo apt-get install x11vnc.
- Now use x11vnc -storepasswd and set your VNC access password.
- Now, we need to make X11VNC server start with LXDE, to do that use following commands at terminal.
cd .config
mkdir autostart
cd autostart
nano x11vnc.desktop - Now paste following :
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=X11VNC
Exec=x11vnc -forever -usepw -display :0 -ultrafilexfer
StartupNotify=false
Terminal=false
Hidden=false - Save the above file by using - Ctrl-X, Y, in nano.
- This will auto start our VNC server every time LXDE starts, make sure you have "Boot to desktop" option configured using "sudo raspi-config" to get this working flawlessly after reboot.
- By default X11VNC uses lower resolution, uncomment hdmi_force_hotplug=1 in /boot/config.txt followed by an reboot to fix that.
Friday, November 16, 2012
Installing VNC server on Raspberry Pi for remote desktop functionality
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment