Hi all,
D-Bus daemon for Xvnc session is not started correctly. If you would
like to start GNOME session (GNOME 2.26.1) via xinit machinery it
fails.
Main problem is that gnome-session tries to acquire
org.gnome.SessionManager property on session D-Bus. When you start
second gnome-session (via vncserver -> .vnc/xstartup -> xinitrc)
session D-Bus daemon is not started. Then "could not acquire name on
session bus" error is printed and session failed to start.
Per session D-Bus daemon is started in
$ cat /etc/X11/xinit/xinitrc.d/00-start-message-bus.sh
...
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi
DBUS_SESSION_BUS_ADDRESS is inherited from terminal inside the first
session so you have to undefine it.
Proposed patch (1.0 + trunk) is attached.
Reference:
https://bugzilla.redhat.com/show_bug.cgi?id=497592
Regards, Adam
--
Adam Tkac, Red Hat, Inc.
diff -up tigervnc-0.0.90/unix/vncserver.rh497592 tigervnc-0.0.90/unix/vncserver
--- tigervnc-0.0.90/unix/vncserver.rh497592 2009-05-18 15:49:33.000000000
+0200
+++ tigervnc-0.0.90/unix/vncserver 2009-05-18 15:50:26.000000000 +0200
@@ -57,6 +57,7 @@ $defaultXStartup
= ("#!/bin/sh\n\n".
"vncconfig -iconic &\n".
"unset SESSION_MANAGER\n".
+ "unset DBUS_SESSION_BUS_ADDRESS\n".
"OS=`uname -s`\n".
"if [ \$OS = 'Linux' ]; then\n".
" case \"\$WINDOWMANAGER\" in\n".
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel