Warning: I have not used this for years, and it may completely be out of date.
VNC is configured by default to use IPv4
Linuxes are configured by default to use IPv6 and IPv4
Many LANs are still configured IPv4 only
This can result in an IPv4 VNC listening for an IPv6 X server (blank VNC screen).
The quick solution was to comment out the IPv6 localhost entry in /etc/hosts on the server:ā
# special IPv6 addresses
# ::1 localhost ipv6-localhost ipv6-loopback
nVidia drivers replace default openGL implementation (both for server and client) so any application that requires openGL will fail in this case. Your choices are
Use DE that does not require openGL
Run Xvnc making sure it picks native libglx instead of nVidia. That is basically reverse of what Bumblebee does, you can look in their script for inspiration. You will also need to make sure clients pick the right libraries - either by exporting suitable LD_LIBRARY_PATH (see mentioned script) or by using libglvnd - unfortunately not on Leap 42.x.
@eng-in: Many thanks, but all machines set to āIgnoreā IPv6, whatever that meansā¦
@arvidjaar: Many thanks, very interesting to know! (I love this forum, although the forum doesnāt love me :o) )
I uninstalled NVIDIA driver, now the VNCserver started from CLI works flawlessly! And amazingly my DVB-S2 card also!
What doesnāt work:
The VNCserver started via Yast: While activating after clicking āOKā the menu reaches the point āRestarting servicesā and the GUI (on the machine, not VNC) dies and I end up on a CLI login (reproducibly).
When I start a stream in VNC or Kaffeine the pic is totally black (not via VNC! Only when logged in physically!), but if I start another app like Libreoffice or Bleachbit, the stream in VNC or Kaffeine will suddenly start!
All windows in the GUI lack scrolling bars, nothing to see, although they work when moved with the mouseā¦
Very funny!
But both VNCserver and DVB-S2 work now. You canāt always get what you wantā¦
Although you did not mention it in this thread, you are running KDE/Plasma on that machine using SDDM as the display manager. Switch the display manager (perhaps install kdm from the repos and switch to that, or use lightDM).
When I start a stream in VNC or Kaffeine the pic is totally black (not via VNC! Only when logged in physically!), but if I start another app like Libreoffice or Bleachbit, the stream in VNC or Kaffeine will suddenly start!
All windows in the GUI lack scrolling bars, nothing to see, although they work when moved with the mouseā¦
Very funny!
If you want things smoother, perhaps try a different desktop on the remote machine: I find Xfce works great with VNC.