Bug 230 - gnome session management doesn't work
Status:
RESOLVED FIXED
Component:
Core :: UNIX
Version:
1.2.0
Hardware:
PC Other
Importance:
P3 normal
Target Milestone:
---
Assignee:
Rob Caelers
URL:
Depends on:
Blocks:
Reported:
Apr 5 2003 10:43:51 UTC
by:
Stefan Schwandter
Modified:
Apr 17 2003 02:11:05 UTC
WhoWhenWhatRemovedAdded
Rob CaelersApr 8 2003 12:01:34 UTCstatusNEWASSIGNED
Rob CaelersApr 15 2003 12:25:29 UTCstatusASSIGNEDRESOLVED
resolutionFIXED
Description
Stefan Schwandter  Apr 5 2003 10:43:51 UTC
I use Red Hat Linux 9, which includes GNOME 2.2.0. Workrave session management
doesn't work for me (it isn't restarted on the next login).
Comment 1
Kees-Jan Dijkzeul  Apr 6 2003 23:45:41 UTC
I, too, have not yet seen gnome session management work. I've always attributed
that to the fact that I'm using a debug version, but still...
Comment 2
Rob Caelers  Apr 8 2003 12:01:34 UTC
Are you using the native gnome workrave applet? Did you compile workrave with
--enable-gnome?

Could you please run "gnome-session-save" ans post the output of "grep -i
workrave ~/.gnome2/session".
Comment 3
Rob Caelers  Apr 15 2003 12:25:29 UTC
Kees-Jan send me this via icq:

kees-jan$ grep -i workrave ~/.gnome2/session
4,Program=workrave
4,CloneCommand=src/workrave/src/workrave --sm-config-prefix /workrave-ddd5ku/
--display :0.0
4,RestartCommand=src/workrave/src/workrave --sm-config-prefix /workrave-ddd5ku/
--sm-client-id 11c0a8007f000104999128600000004020003 --screen 0 --display :0.0

If "src/workrave/src/workrave" cannot be found in your path, workrave is not
started by the session manager.

Workrave now stores the full pathname to the workrave binary in the session. I
Hopefully this fixes the problem. 
Comment 4
Kees-Jan Dijkzeul  Apr 16 2003 00:43:04 UTC
Uh...
Gnome session managemend worked for me immediately after executing
gnome-session-save.

I now attribute my earlier problem to the fact that I never saved my session :)

Adding absolute paths shouldn't make much of a difference, since the location
from where the command should be executed (in this case my home directory) is
also saved by gnome-session-save. Hence, I don't expect to see any difference :-)

Maybe we should check with Stefan, if he still has problems.
Comment 5
Rob Caelers  Apr 17 2003 02:11:05 UTC
Ugh. Yes. indeed. Reverted hack.

Stefan, please let us know if gnome-save-session also worked for you.