You are not logged in.

#1 2006-08-16 21:05:01

stjepan
Member
Registered: 2006-07-02
Posts: 76

.

.

Last edited by stjepan (2022-09-20 21:51:56)

Offline

#2 2006-08-16 21:34:21

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: .

It's not broken, you need to have a dbus user session that everything connects to and XGL doesn't do that. You could edit startxgl to use dbus-launch, or (my preference, more convenient) you could put this in your .bashrc to start a dbus session when you log in:

if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
          eval `dbus-launch --sh-syntax --exit-with-session`
fi

(FWIW, the space before the semicolon is required, or --exit-with-session won't exit with the session. Same for --sh-syntax, without that things won't be able to connect to it.)

Offline

#3 2006-08-17 06:10:15

stjepan
Member
Registered: 2006-07-02
Posts: 76

Re: .

.

Last edited by stjepan (2022-09-20 21:49:00)

Offline

#4 2006-08-17 06:15:50

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: .

If you start X manually using startx, you could put this in your .xinitrc:

exec dbus-launch --exit-with-session gnome-session

as example to start gnome.

The advantage of Guillible Jones method is that you always have a session bus whenever you start a shell, this is very convenient when dbus decides to crash after a configuration file change (yes, this is bad, this needs to get fixed before gnome 2.16 can be usable).

Offline

#5 2006-08-17 11:02:59

stjepan
Member
Registered: 2006-07-02
Posts: 76

Re: .

.

Last edited by stjepan (2022-09-20 21:48:46)

Offline

Board footer

Powered by FluxBB