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 post
Share on other sites
Donate and support the project!

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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...