wmdejen
2008-05-27, 02:54 AM CDT
Hi all
I have this case with an VNC-Server, there wont switch from X11 to a gnome session. I have modified the xstartup file with these lines
!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
startx &
But when it have stated it with vncserver and connect I get an blank X11 session.
From the logfile of the session I can read following errors
Xvnc Free Edition 4.1.2
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 70101000, The X.Org Foundation
Tue May 27 10:48:32 2008
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
vncext: Listening for HTTP connections on port 5801
vncext: created VNC server for screen 0
Could not init font path element /usr/share/X11/fonts/OTF, removing from list!
Could not init font path element /usr/share/X11/fonts/CID/, removing from list!
localuser:root being added to access control list
No profile for user 'root' found
I have tried to remove vnc-server with yum and then reinstall it, but without luck
Can somebody help me solve this mystery?
Best reagrds
Dennis
I have this case with an VNC-Server, there wont switch from X11 to a gnome session. I have modified the xstartup file with these lines
!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
startx &
But when it have stated it with vncserver and connect I get an blank X11 session.
From the logfile of the session I can read following errors
Xvnc Free Edition 4.1.2
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 70101000, The X.Org Foundation
Tue May 27 10:48:32 2008
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
vncext: Listening for HTTP connections on port 5801
vncext: created VNC server for screen 0
Could not init font path element /usr/share/X11/fonts/OTF, removing from list!
Could not init font path element /usr/share/X11/fonts/CID/, removing from list!
localuser:root being added to access control list
No profile for user 'root' found
I have tried to remove vnc-server with yum and then reinstall it, but without luck
Can somebody help me solve this mystery?
Best reagrds
Dennis