AnswerBun.com

x11vnc Headless on Ubuntu is very slow until monitor connected

Ask Ubuntu Asked by user3472027 on January 6, 2022

I’m running x11vnc on Ubuntu as a service at startup. It generally works fine, but I want to run it headless. If I start the server with a monitor connected but off, VNC connects and responds quickly, however if I restart the server without a monitor connected (I want to remove the monitor from my desk) then it’s painfully slow to use – like 5 fps response, until I connect a monitor again and then it’s fine.

Here’s the content of my service file

[Unit]
Description=Start x11vnc at startup
After=multi-user.target

[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -display :0 -geometry 1024x768 -auth guess -forever -loop -noxdamage -repeat -rfbauth /etc/x11vnc.pass -rfbport 5900 -shared -o /var/log/x11vnc.log

[Install]
WantedBy=multi-user.target

Be really grateful if someone can point out where I’ve gone wrong with this.
Thanks

One Answer

  1. Disable Composite tweaks via Start->Window Manager Tweaks->Compositor-> Disable

  2. Disable vsync, xfconf-query -c xfwm4 -p /general/vblank_mode -s off

Reference - https://github.com/LibVNC/x11vnc/issues/102

Answered by Anurag Sodhi on January 6, 2022

Add your own answers!

Related Questions

How to give a 64-bit windows app at least 4gb with Wine?

0  Asked on December 6, 2020 by lelorrain

     

Secondary partition -I cant Execute files

0  Asked on December 5, 2020 by martin-andersen

     

can’t execute a script via the startmenu in Gnome

0  Asked on December 5, 2020 by vrms

   

Uneven refresh rate on display

0  Asked on December 5, 2020 by curiousstudent

         

Cursor stuck in select mode

1  Asked on December 5, 2020 by mohand-andel

   

Where’s the Flatpak on Ubuntu 20.04?

2  Asked on December 4, 2020 by user1079583

     

How to install trello in ubuntu

3  Asked on December 3, 2020 by ujjal-das

   

Bluetooth not working hp pavillion g6

0  Asked on December 3, 2020 by fastonkill

         

Convert Ubuntu Physical machine to Virtual machine

3  Asked on December 3, 2020 by cyberquarks

   

Music Production Tools (DJ)

1  Asked on December 2, 2020 by user244589

     

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir