Pretty new to Linux, so my question might be a dummy one. I have ubuntu 20.10 on raspberry Pi 4 (8GB) with Desktop environment. Installed X11VNC and spent some time configuring it. After few hours fighting with it I got it working. However I have an issue, when I establish a connection(tried several different vnc clients, but results is yet the same), my desktop is being duplicated few many times.
Screenshot: https://ibb.co/vwXm3w9
When I click somewhere in the drawn area, it registers it as if I clicked somewhere on the top screen. Basically they are 8-10 mirrors of the main screen.
I have tried for find the configuration of X11VNC tried to play with the settings (try and error) with no luck, tried to reinstall it - no luck...
I am basically new and trying to understand what is causing the problem(duplication) so I could try to search for some solution.
Can someone help me by explaining what is causing the duplication ?
Service Configuration
[Unit]
Description=x11vnc remote desktop server
Requires=display-manager.service
After=display-manager.service network.target syslog.target
[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -display :0 -auth /var/run/lightdm/root/:0 -forever -loop -noxdamage -repeat -rfbauth /home/user/.vnc/passwd -rfbport 5900 -shared -ncache
Restart=on-failure
[Install]
WantedBy=multi-user.target