Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8013

Advanced users • Re: Significant Lag in XFCE4 Desktop Environment over VNC

$
0
0
Replacing Xephyr (Wikipedia) with X is definitely going to fail as there serve different purposes.

General I use x11vnc to connect to XFCE (on all sorts of Linux devices including Raspberry Pi) but, last time I tried it, you needed to be running X11 rather than Wayland (which is what the RPis are using by default now).

My configuration (for your consideration) is:
  • Create an SSH tunnel through to your target computer:

    Code:

    ssh -L 5900:localhost:5900 username@192.168.1.10
  • Start the x11vnc server:

    Code:

    sudo x11vnc -safer -allow localhost -nopw -forever -display :0 -bg -auth /var/lib/mdm/:0.Xauth
  • Connect your VNC client to IP 127.0.0.1 and port 5900 (Real VNC Viewer and Remmina both work very well)
It is possible to configure x11vnc to use SSL certificates rather than using an SSH tunnel but I often need console access so SSH is convenient to have.

Statistics: Posted by RosettaStone — Mon Jun 30, 2025 8:42 am



Viewing all articles
Browse latest Browse all 8013

Trending Articles