0
NicoD

tutorial 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.
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

Share this post


Link to post
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"..

 

Share this post


Link to post
Share on other sites
0