Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Fail to connect to / start up tigervnc server on Fedora 23

Ladies and Gentlemen,

I am looking to run tigervnc-server on my fedora 23 box - I am, however, encountering a few problems. The service appears to start up OK but when connecting to server remotely (through an ssh tunnel), the vnc viewer (tiger or real VNC) simply fail with a "Something went wrong" message.

systemctl -l status vncserver presents the following output:

vncserver.service - Remote desktop service (VNC)
Loaded: loaded (/etc/systemd/system/vncserver.service; enabled; vendor preset: disabled)
Active: failed (Result: resources) since Tue 2016-08-02 19:39:45 BST; 16min ago
Process: 948 ExecStart=/sbin/runuser -l USER-c /usr/bin/vncserver %i -geometry 1400x900 (code=exited, status=0/SUCCESS)
Process: 928 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill %i > /dev/null 2>&1 || : (code=exited, status=0/SUCCESS)

Aug 02 19:39:37 computer.home systemd[1]: Starting Remote desktop service (VNC)...
Aug 02 19:39:45 computer.home systemd[1]: vncserver.service: PID file /home/USER/.vnc/norbert.home.pid not readable (yet?) after start: No such file or directory
Aug 02 19:39:45 computer.home systemd[1]: Failed to start Remote desktop service (VNC).
Aug 02 19:39:45 computer.home systemd[1]: vncserver.service: Unit entered failed state.
Aug 02 19:39:45 computer.home systemd[1]: vncserver.service: Failed with result 'resources'.

The vnc log file in my home directory looks fairly clean:

Xvnc TigerVNC 1.6.0 - built Jan  4 2016 15:12:19
Copyright (C) 1999-2015 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 11800000, The X.Org Foundation


Tue Aug  2 19:39:42 2016
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5901
 vncext:      created VNC server for screen 0

Tue Aug  2 19:40:45 2016
 Connections: accepted: 127.0.0.1::60026
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VncAuth(2)

Tue Aug  2 19:40:48 2016
 VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
 VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian rgb888

Tue Aug  2 19:41:02 2016
 Connections: closed: 127.0.0.1::60026 (Clean disconnection)
 EncodeManager: Framebuffer updates: 1
 EncodeManager:   Tight:
 EncodeManager:     Solid: 12 rects, 1.22385 Mpixels
 EncodeManager:            192 B (1:25497.6 ratio)
 EncodeManager:   Tight (JPEG):
 EncodeManager:     Full Colour: 5 rects, 36.149 kpixels
 EncodeManager:                  14.959 KiB (1:9.44353 ratio)
 EncodeManager:   Total: 17 rects, 1.26 Mpixels
 EncodeManager:          15.1465 KiB (1:324.965 ratio)

Tue Aug  2 19:41:35 2016
 Connections: accepted: 127.0.0.1::60028
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VncAuth(2)

Tue Aug  2 19:41:40 2016
 VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888

Tue Aug  2 19:42:04 2016
 Connections: closed: 127.0.0.1::60028 (Clean disconnection)
 EncodeManager: Framebuffer updates: 46
 EncodeManager:   RRE:
 EncodeManager:     Solid: 33 rects, 2.0692 Mpixels
 EncodeManager:            660 B (1:12541.2 ratio)
 EncodeManager:   ZRLE:
 EncodeManager:     Indexed RLE: 21 rects, 302.956 kpixels
 EncodeManager:                  12.6631 KiB (1:93.4739 ratio)
 EncodeManager:     Full Colour: 30 rects, 265.236 kpixels
 EncodeManager:                  23.3848 KiB (1:44.3207 ratio)
 EncodeManager:   Total: 84 rects, 2.63739 Mpixels
 EncodeManager:          36.6924 KiB (1:280.802 ratio)

Tue Aug  2 19:42:06 2016
 Connections: accepted: 127.0.0.1::60030
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VncAuth(2)

Tue Aug  2 19:42:14 2016
 VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888

Tue Aug  2 19:42:24 2016
 Connections: closed: 127.0.0.1::60030 (Clean disconnection)
 EncodeManager: Framebuffer updates: 1
 EncodeManager:   RRE:
 EncodeManager:     Solid: 20 rects, 1.26 Mpixels
 EncodeManager:            400 B (1:12600.6 ratio)
 EncodeManager:   Total: 20 rects, 1.26 Mpixels
 EncodeManager:          400 B (1:12600.6 ratio)

Tue Aug  2 19:48:22 2016
 Connections: accepted: 127.0.0.1::60044
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VncAuth(2)

Tue Aug  2 19:48:29 2016
 VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
 VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian rgb888

Tue Aug  2 19:48:32 2016
 Connections: closed: 127.0.0.1::60044 (Clean disconnection)
 EncodeManager: Framebuffer updates: 1
 EncodeManager:   RRE:
 EncodeManager:     Solid: 20 rects, 1.26 Mpixels
 EncodeManager:            400 B (1:12600.6 ratio)
 EncodeManager:   Total: 20 rects, 1.26 Mpixels
 EncodeManager:          400 B (1:12600.6 ratio)

I installed tiger vnc from the fedora 23 repository, so did everything pretty much by the book. I tried to connect to my server through the tigervnc client (no luck), the realvnc viewer (nope) or the viewer in the Chrome web store (njet).

Any ideas what's going wrong? I don't think I am the first one to encounter this problem, but have failed to find something on this.

Your help is highly appreciated ...