sudo apt-get install x11vnc vnc-java
1. Set up password to allow clients to view
x11vnc -storepasswd
2. Open up ports 5800 and 5900 on your firewall
3. Run this command:
x11vnc -forever -usepw -httpdir /usr/share/vnc-java/ -httpport 5800
At this point I realised that the connection is temporary - at reboot you loose
the connection and have to restart it - so to have VNC start at boot:-
4. Add the command from 4) to your sessions, so that it starts at each login.
This is how you do 5)
Open terminal window
Accessories/LXterminal in command terminal type:
sudo leafpad /etc/xdg/lxsession/Lubuntu/autostart (note use of upper case)
You will be prompted for you user password
Autostart will open
Add at bottom of list
@x11vnc -forever -usepw -httpdir /usr/share/vnc-java/ -httpport 5800
Save and close. Test by rebooting - that should work
[lubuntu] Problem with x11vnc autostart on boot
Aucun commentaire:
Enregistrer un commentaire