You are not logged in.

#1 2013-08-11 00:44:48

Sydney6
Member
Registered: 2013-03-19
Posts: 5

[solved]Vncserver fails to load GNOME Session

Hi Everybody,

i tried to connect via vnc to arch and it seems that gnome fails to load the session.

I'm running GNOME 3.8 Classic and tried both, tigervnc and tightvnc for vncserver.

My ~/.vnc/xstartup:

#!/bin/sh
export XKL_XMODMAP_DISABLE=1
exec gnome-session --session=gnome-classic

Could this be related to this Bug (for tigervnc)?

https://bugzilla.redhat.com/show_bug.cgi?id=896648

Last edited by Sydney6 (2013-08-27 02:56:59)

Offline

#2 2013-08-27 00:36:08

Sydney6
Member
Registered: 2013-03-19
Posts: 5

Re: [solved]Vncserver fails to load GNOME Session

Update:

this problem only occurs with vncserver and Gnome. Other DE are working fine. Somehow it wants to create a directory under /run/user/0/dconf but fails because the directory is obviously owned by root. vncserver and gnome-session invoked with root privileges works off course.

dconf-CRITICAL **: unable to create directory '/run/user/0/dconf': Permission denied.  dconf will not work properly.

Anybody having vncserver with gnome running?

Offline

#3 2013-08-27 02:55:26

Sydney6
Member
Registered: 2013-03-19
Posts: 5

Re: [solved]Vncserver fails to load GNOME Session

Anyone having trouble with this..

Setting the Environment Variable for the XDG Base Directory seems to do it..

XDG_RUNTIME_DIR=/run/user/$uid

Offline

Board footer

Powered by FluxBB