Jump to content

Remote Desktop with X11VNC


Recommended Posts

Hi all.
I've made a new video about x11vnc. With this you can control your Linux desktop from any other PC/SBC.
It even works for videos and games. Only there's no sound.
I use lightdm as display manager. If you use another display manager, change the line "After=lightdm.service" with your display manager.


Here's my video,

 

To Install

sudo apt install x11vnc

To create a password file
 

x11vnc -storepasswd

The service script : /lib/systemd/system/x11vnc.service

[Unit]
Description="x11vnc"
Requires=display-manager.service
After=lightdm.service

[Service]
ExecStart=/usr/bin/x11vnc -auth guess -loop -forever -safer -shared -ultrafilexfer -bg -o /var/log/x11vnc.log
ExecStop=/usr/bin/killall x11vnc

[Install]
WantedBy=multi-user.target

Enable the service script
 

sudo systemctl daemon-reload
sudo systemctl enable x11vnc
sudo systemctl start x11vnc

 

greetings. NicoD

Link to comment
Share on other sites

On 5/8/2019 at 9:38 PM, NicoD said:

Hi all.
I've made a new video about x11vnc. With this you can control your Linux desktop from any other PC/SBC.
It even works for videos and games. Only there's no sound.
Here's my video,

 

To Install


sudo apt install x11vnc

To create a password file
 


x11vnc -storepasswd

The service script : /lib/systemd/system/x11vnc.service


[Unit]
Description="x11vnc"
Requires=display-manager.service
After=lightdm.service

[Service]
ExecStart=/usr/bin/x11vnc -auth guess -loop -forever -safer -shared -ultrafilexfer -bg -o /var/log/x11vnc.log
ExecStop=/usr/bin/killall x11vnc

[Install]
WantedBy=multi-user.target

Enable the service script
 


sudo systemctl daemon-reload
sudo systemctl enable x11vnc
sudo systemctl start x11vnc

 

greetings. NicoD

If you want to use password the correct line should be "-rfbauth /home/USERNAME/.vnc/passwd" 

 

ExecStart=/usr/bin/x11vnc -auth guess -loop -forever -safer -rfbauth /home/USERNAME/.vnc/passwd -shared -ultrafilexfer -bg -o /var/log/x11vnc.log

 

USERNAME = is your own username. not "rahul"..

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines