You are not logged in.

#1 2015-07-19 08:47:59

dude42
Member
Registered: 2014-11-09
Posts: 13

GNOME session on VNC Server

Hi,

I am trying to get a VNC server running. My system is configured so that it runs a GNOME DE on a rootless X server when I run startx after logging in at the command line.

For my current testing purposes I am not starting the X server, I am only starting vncserver.

I have followed the instructions at Vncserver

I am running the vnc server as follows:

$ vncserver :24 -localhost

Here is my ~/.vnc/xstartup:

#!/bin/sh

unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS

export XKL_XMODMAP_DISABLE=1
exec gnome-session

When I connect to the vnc server from a remote machine (via an SSH tunnel) using vinagre I get a message displaying a sad smiley face and the following message:

Oh no!
Something went wrong.
A problem has occurred and the system can't recover.
Please log out and try again.

Here are the logs from my vnc server:

Xvnc TigerVNC 1.5.0 - built Jul 13 2015 13:24:50
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 11702000, The X.Org Foundation


Sun Jul 19 18:20:46 2015
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on local interface(s), port 5924
 vncext:      created VNC server for screen 0

Sun Jul 19 18:21:06 2015
 Connections: accepted: [::1]::36493
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VeNCrypt(19)
 SVeNCrypt:   Client requests security type TLSVnc (258)

Sun Jul 19 18:21:11 2015
 VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
 VNCSConnST:  Client pixel format depth 24 (32bpp) big-endian rgb888

Sun Jul 19 18:21:26 2015
 Connections: closed: [::1]::36493 (Clean disconnection)
 EncodeManager: Framebuffer updates: 15
 EncodeManager:   Tight:
 EncodeManager:     Solid: 24 rects, 1.57286 Mpixels
 EncodeManager:            384 B (1:16384.8 ratio)
 EncodeManager:     Indexed RLE: 10 rects, 655.36 kpixels
 EncodeManager:                  17.6064 KiB (1:145.408 ratio)
 EncodeManager:     Full Colour: 14 rects, 170.552 kpixels
 EncodeManager:                  17.4746 KiB (1:38.1343 ratio)
 EncodeManager:   Total: 48 rects, 2.39878 Mpixels
 EncodeManager:          35.4561 KiB (1:264.293 ratio)

Here are the relevant logs from the systemd journal:

Jul 19 18:29:34 pc org.a11y.Bus[659]: Activating service name='org.a11y.atspi.Registry'
Jul 19 18:29:34 pc gnome-session[655]: Xlib:  extension "GLX" missing on display ":24".
Jul 19 18:29:34 pc gnome-session[655]: Xlib:  extension "GLX" missing on display ":24".
Jul 19 18:29:34 pc gnome-session[655]: Xlib:  extension "GLX" missing on display ":24".
Jul 19 18:29:34 pc gnome-session[655]: Xlib:  extension "GLX" missing on display ":24".
Jul 19 18:29:34 pc gnome-session[655]: gnome-session-is-accelerated: No hardware 3D support.
Jul 19 18:29:34 pc gnome-session[655]: Xlib:  extension "GLX" missing on display ":24".
Jul 19 18:29:34 pc org.a11y.Bus[659]: Successfully activated service 'org.a11y.atspi.Registry'
Jul 19 18:29:34 pc org.a11y.atspi.Registry[665]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Jul 19 18:29:34 pc gnome-session[655]: gnome-session-check-accelerated: Helper exited with code 256
Jul 19 18:29:34 pc gnome-session[655]: Xlib:  extension "GLX" missing on display ":24".
Jul 19 18:29:46 pc gnome-session[655]: Xlib:  extension "GLX" missing on display ":24".
Jul 19 18:29:46 pc gnome-session[655]: Xlib:  extension "GLX" missing on display ":24".
Jul 19 18:29:46 pc gnome-session[655]: Xlib:  extension "GLX" missing on display ":24".
Jul 19 18:29:46 pc gnome-session[655]: gnome-session-is-accelerated: No hardware 3D support.
Jul 19 18:29:46 pc gnome-session[655]: Xlib:  extension "GLX" missing on display ":24".
Jul 19 18:29:46 pc gnome-session[655]: gnome-session-check-accelerated: Helper exited with code 256
Jul 19 18:29:46 pc gnome-session[655]: gnome-session[655]: WARNING: software acceleration check failed: Child process exited with code 1
Jul 19 18:29:46 pc gnome-session[655]: WARNING: software acceleration check failed: Child process exited with code 1
Jul 19 18:29:46 pc gnome-session[655]: Xlib:  extension "GLX" missing on display ":24".

...

Jul 19 18:29:46 pc sshd[683]: pam_unix(sshd:session): session opened for user by (uid=0)
Jul 19 18:29:46 pc systemd-logind[503]: New session c2 of user

...

Jul 19 18:29:55 pc gnome-session[655]: ** (gnome-session-quit:705): WARNING **: Failed to call logout: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
Jul 19 18:30:01 pc sshd[694]: Received disconnect : disconnected by user

I am guessing the 'gnome-session[655]: Xlib:  extension "GLX" missing on display ":24"' errors are to blame. I am not sure why they occur since my normal GNOME X session works fine. I am using a NVIDIA card btw.

Any help would be appreciated.

Last edited by dude42 (2015-07-19 09:14:27)

Offline

#2 2015-07-19 09:21:36

dude42
Member
Registered: 2014-11-09
Posts: 13

Re: GNOME session on VNC Server

It looks like this might be my problem:

https://github.com/TigerVNC/tigervnc/issues/39

Guess I will have to try another desktop environment when I have time.

Offline

Board footer

Powered by FluxBB