VNC black screen

I configured Remote Administration (VNC) as per the instructions in http://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.reference/cha.vnc.html.

After that I am able to connect from a Windows machine using TigerVNC , from another Linux machine using Xming but in both cases I only get a black screen.

I finally tried it from the local machine using Xming but got the same result. The session log follows:
~> vncviewer localhost:1

TigerVNC Viewer 64-bit v1.6.0
Built on: ??-??-?? ??:??
Copyright (C) 1999-2015 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.

Tue Nov 22 23:34:43 2016
CConn: connected to host localhost port 5901
CConnection: Server supports RFB protocol version 3.8
CConnection: Using RFB protocol version 3.8
CConnection: Choosing security type VeNCrypt(19)
CVeNCrypt: Choosing security type X509None (260)

Tue Nov 22 23:34:52 2016
X11PixelBuffer: Using default colormap and visual, TrueColor, depth 24.
CConn: Using pixel format depth 24 (32bpp) little-endian rgb888
CConn: Using Tight encoding
CConn: Enabling continuous updates

Tue Nov 22 23:36:49 2016
CConn: End of stream

I would appreciate any idea about this issue and how to fix it.

*** Not Tested – from distantt memory ***

This symptom used to be associated with using an IPv4-only VNC server on a host with an IPv6 *localhost address *configured. The solution was to comment out the line following “# special IPv6 addresses” in the VNC host’s /etc/hosts file.

e.g. change /etc/hosts


127.0.0.1       localhost

# special IPv6 addresses
::1             localhost ipv6-localhost ipv6-loopback

fe00::0         ipv6-localnet

to look something like:


127.0.0.1       localhost

# special IPv6 addresses
## ::1             localhost ipv6-localhost ipv6-loopback

fe00::0         ipv6-localnet

I have the same problem with black screen in a xvnc server. Remove IPV6 special address from /etc/hosts didn’t do it for me. Did you resolved the problem, Erch? I can’t see any errors in journalctl or in client.

Oto.

A error is maybe in the sddm display manager, because with kdm and other display and login managers is no problem.

I was able to correct the blank screen by going into /etc/sysconfig/displaymanager and commenting out the following:

DISPLAYMANAGER=“sddm”

Restart the display manager or reboot