I am trying to setup VNC from Fedora 10. I install vnc-server-4.1.3-1.fc10 (i386) and when I run 'vncserver' everything looks fine:
New 'sugar.tca.local:3 (rob)' desktop is sugar.tca.local:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/sugar.tca.local:1.log
But when I connect from my Windows box I just get a grey screen with three checkboxes in the top left corner:
__Accept clipboard from viewers
__Send clipboard to viewers
__Send primary selection to viewers
The first time I try to connect after starting the vncserver I get this error message:
"Could not connect to session bus. Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."
When I click "Close" I get another message:
"Could not acquire name on session bus."
When I checked the error log on the Fedora box I see this:
Xvnc Free Edition 4.1.3
Copyright (C) 2002-2008 RealVNC Ltd.
See
http://www.realvnc.com for information on VNC.
Underlying X server release 10503000,
Mon Mar 2 10:45:40 2009
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
vncext: created VNC server for screen 0
Mon Mar 2 10:45:43 2009
Connections: accepted: 192.168.10.21::49904
SConnection: Client needs protocol version 3.8
SConnection: Client requests security type VncAuth(2)
imsettings information
==========================
Is DBus enabled: yes
Is imsettings enabled: yes
Is GTK+ supported: yes
Is Qt supported: no
DESKTOP_SESSION: gnome
DISABLE_IMSETTINGS:
IMSETTINGS_DISABLE_DESKTOP_CHECK:
DBUS_SESSION_BUS_ADDRESS: unix:abstract=/tmp/dbus-26CuODYmbt,guid=9f7b68384e29c365cdf25a9949a7e9a0
GTK_IM_MODULE:
QT_IM_MODULE:
XMODIFIERS: @im=imsettings
IMSETTINGS_MODULE: none
Failed to get a session bus.
Xlib: extension "RANDR" missing on display ":1.0".
(imsettings-xim:5607): GXIM-WARNING **: Unable to establish a D-Bus session bus:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken..
Xlib: extension "RANDR" missing on display ":1.0".
/root
/etc/X11/xinit/xinitrc: line 34: syntax error near unexpected token `fi'
/etc/X11/xinit/xinitrc: line 34: `fi'
(imsettings-xim:5607): IMSettings-CRITICAL **: imsettings_request_new: assertion `connection != NULL' failed
(imsettings-xim:5607): IMSettings-CRITICAL **: imsettings_request_set_locale: assertion `IMSETTINGS_IS_REQUEST (imsettings)' failed
(imsettings-xim:5607): IMSettings-CRITICAL **: imsettings_request_get_current_user_im: assertion `IMSETTINGS_IS_REQUEST (imsettings)' failed
No default IM is available.
Mon Mar 2 10:45:45 2009
VNCSConnST: Server default pixel format depth 16 (16bpp) little-endian rgb565
VNCSConnST: Client pixel format depth 8 (8bpp) rgb max 3,3,3 shift 4,2,0
Here is my xinitrc file:
#!/bin/sh
# Copyright (C) 1999 - 2005 Red Hat, Inc. All rights reserved. This
# copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the
# GNU General Public License version 2.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# Authors:
# Mike A. Harris <mharris@redhat.com>
# Mandatorily source xinitrc-common, which is common code shared between the
# Xsession and xinitrc scripts which has been factored out to avoid duplication
. /etc/X11/xinit/xinitrc-common
# The user may have their own clients they want to run. If they don't,
# fall back to system defaults.
echo $HOME
if [ -f $HOME/.Xclients ]; then
exec $CK_XINIT_SESSION $SSH_AGENT $HOME/.Xclients || \
exec $CK_XINIT_SESSION $SSH_AGENT $HOME/.Xclients
elif [ -f /etc/X11/xinit/Xclients ]; then
exec $CK_XINIT_SESSION $SSH_AGENT /etc/X11/xinit/Xclients || \
exec $CK_XINIT_SESSION $SSH_AGENT /etc/X11/xinit/Xclients
else
# Failsafe settings. Although we should never get here
# (we provide fallbacks in Xclients as well) it can't hurt.
[ -x /usr/bin/xsetroot ] && /usr/bin/xsetroot -solid '#222E45'
[ -x /usr/bin/xclock ] && /usr/bin/xclock -geometry 100x100-5+5 &
[ -x /usr/bin/xterm ] && xterm -geometry 80x50-50+150 &
[ -x /usr/bin/twm ] && /usr/bin/twm
fi
I'm still fairly new to Linux, any guidance would be greatly appreciated - thanks.