How to logout / save session?

M. Glenn Lewis mlewis00 at tctwest.net
Fri Jul 9 20:04:38 CEST 2004


Hopefully this is not a question with an obvious answer (although sometimes 
those are the type of problems that are the most easily overlooked), but I 
have searched Google, etc. with no success.

I have just started using Xfce4 4.0.5-1 (on Debian Sarge) and am impressed!

However, I seem to be unable to figure out how to logout and save my current 
session. There is no 'Logout' button or menu item to be found anywhere.

I have been unable to determine a definitive answer to this question using 
Google after many searches using various keywords / phrases.

I was starting Xfce4 with 'startxfce4' from the command line so that I could 
pipe the output to a log file until I get the environment stabilized with 
no error messages.

In pursuant to a solution of the logout / save session problem, I also ran 
'xfce4_setup' and then started Xfce4 from the 'gdm' login screen - the 
results are the same and I am still unable to save the session.

Here is the contents of my '.xsession' file (created by 'xfce4_setup'):

<quote>

/usr/bin/xfce-mcs-manager
/usr/bin/xfwm4 --daemon
/usr/bin/xftaskbar4 &
/usr/bin/xfdesktop &
exec /usr/bin/xfce4-panel

</quote>

It is interesting to note that there are two files in 
$HOME//.xfce4/sessions/, the first of which I created (with 'touch') to 
eliminate an error message from Xfce4.

xfsm-localhost (binary file)
xfwm4-117f000001000108934526700000018830001

These files seem to contain the information required to restore a session 
but I have no idea how the information was saved to the files as I am 
unable to cause any change in either of the files - the contents of the 
text file follows.

$HOME//.xfce4/sessions/xfwm4-117f000001000108934526700000018830001

<quote>

[CLIENT] 0x1600022
  [CLIENT_ID] 117f000001000108934577100000018830007
  [CLIENT_LEADER] 0x1600022
  [RES_NAME] xterm
  [RES_CLASS] UXTerm
  [WM_NAME] user at localhost: /home/user
  [WM_COMMAND] (8) "xterm" "-class" "UXTerm" "-title" "uxterm" "-u8" 
"-title" "Terminal"
  [GEOMETRY] (6,27,784,563)
  [GEOMETRY-MAXIMIZED] (6,27,484,316)
  [DESK] 0
  [FLAGS] 0x200c0000
[CLIENT] 0x1800007
  [CLIENT_ID] 117f000001000108934579900000018830008
  [CLIENT_LEADER] 0x1800002
  [RES_NAME] konqueror
  [RES_CLASS] konqueror
  [WM_NAME] Google Search: gnome "save session" - Konqueror
  [WM_COMMAND] (1) "konqueror"
  [GEOMETRY] (6,27,788,567)
  [GEOMETRY-MAXIMIZED] (150,107,640,480)
  [DESK] 0
  [FLAGS] 0x200c0000
[CLIENT] 0x1000099
  [CLIENT_ID] 117f000001000108934527000000018830005
  [CLIENT_LEADER] 0x1000001
  [RES_NAME] xfce4-panel
  [RES_CLASS] Xfce4-panel
  [WM_NAME] XFce Panel
  [WM_COMMAND] (1) "xfce4-panel"
  [GEOMETRY] (114,596,572,5)
  [GEOMETRY-MAXIMIZED] (114,558,572,42)
  [DESK] 0
  [FLAGS] 0x1000000
[CLIENT] 0xe00003
  [CLIENT_ID] 117f000001000108934527000000018830002
  [CLIENT_LEADER] 0xe00001
  [RES_NAME] xftaskbar4
  [RES_CLASS] Xftaskbar4
  [WM_NAME] Task List
  [WM_COMMAND] (1) "xftaskbar4"
  [GEOMETRY] (0,0,800,5)
  [GEOMETRY-MAXIMIZED] (0,0,800,1)
  [DESK] 0
  [FLAGS] 0x1000000
[CLIENT] 0x1400003
  [CLIENT_ID] 117f000001000108934527000000018830003
  [CLIENT_LEADER] 0x1400001
  [RES_NAME] xfce4-iconbox
  [RES_CLASS] Xfce4-iconbox
  [WM_NAME] Lil' Star - IconBoxWindow
  [WM_COMMAND] (1) "xfce4-iconbox"
  [GEOMETRY] (799,599,1,1)
  [GEOMETRY-MAXIMIZED] (772,564,28,36)
  [DESK] 0
  [FLAGS] 0x1000000
[CLIENT] 0x1200003
  [CLIENT_ID] 117f000001000108934527000000018830004
  [CLIENT_LEADER] 0x1200001
  [RES_NAME] xfdesktop
  [RES_CLASS] Xfdesktop
  [WM_NAME] Desktop
  [WM_COMMAND] (1) "xfdesktop"
  [GEOMETRY] (0,0,800,600)
  [GEOMETRY-MAXIMIZED] (0,0,800,600)
  [DESK] 0
  [FLAGS] 0x1000000

</quote>

<paranoia>

I am somewhat reluctant to attach the full binary file as I am unable to 
determine its contents :-) However, I have attached a modified version 
(binary data replaced with '.' and personal information changed) of the 
binary file.

</paranoia>

If xfce4 is unable to save / restore sessions at this time I can wait until 
that capability is implemented, however, I would like to find out so that I 
can stop wasting time on this problem if possible.

TIA

MGL
-- 
^^^^^^^Parts of original message omitted when not needed. *See thread.^^^^^^
M. Glenn Lewis
-------------- next part --------------
........Linux.....i686.....&...117f000001000108934526600000018830000.....local/localhost.........Program.....ARRAY8.........smproxy....UserID.....ARRAY8.........1000....RestartStyleHint.....CARD8..............RestartCommand.
...LISTofARRAY8.........smproxy	...-clientId%...117f000001000108934526600000018830000....-restore.../home/user/.prx5UzQCX....DiscardCommand.....ARRAY8.........rm /home/user/.prx5UzQCX&...117f000001000108934526700000018830001.....local/localhost.........Program.....ARRAY8.........xfwm4....UserID.....ARRAY8.........user....RestartStyleHint.....CARD8..........
...ProcessID.....ARRAY8.........1956....CurrentDirectory.....ARRAY8........./home/user...._GSM_Priority.....CARD8..............RestartCommand.
...LISTofARRAY8.........xfwm4....--daemon....--sm-client-id%...117f000001000108934526700000018830001
...CloneCommand.
...LISTofARRAY8.........xfwm4....--daemon&...117f000001000108934527000000018830002.....local/localhost.........Program.....ARRAY8.....
...xftaskbar4....UserID.....ARRAY8.........user....RestartStyleHint.....CARD8..........
...ProcessID.....ARRAY8.........1958....CurrentDirectory.....ARRAY8........./home/user...._GSM_Priority.....CARD8..............RestartCommand.
...LISTofARRAY8.....
...xftaskbar4....--sm-client-id%...117f000001000108934527000000018830002
...CloneCommand.
...LISTofARRAY8.....
...xftaskbar4&...117f000001000108934527000000018830003.....local/localhost.........Program.....ARRAY8.....
...xfce4-iconbox....UserID.....ARRAY8.........user....RestartStyleHint.....CARD8..........
...ProcessID.....ARRAY8.........1960....CurrentDirectory.....ARRAY8........./home/user...._GSM_Priority.....CARD8.........(....RestartCommand.
...LISTofARRAY8.....
...xfce4-iconbox....--sm-client-id%...117f000001000108934527000000018830003
...CloneCommand.
...LISTofARRAY8.....
...xfce4-iconbox&...117f000001000108934527000000018830004.....local/localhost.........Program.....ARRAY8.....	...xfdesktop....UserID.....ARRAY8.........user....RestartStyleHint.....CARD8..........
...ProcessID.....ARRAY8.........1959....CurrentDirectory.....ARRAY8........./home/user...._GSM_Priority.....CARD8.........#....RestartCommand.
...LISTofARRAY8.....	...xfdesktop....--sm-client-id%...117f000001000108934527000000018830004
...CloneCommand.
...LISTofARRAY8.....	...xfdesktop&...117f000001000108934527000000018830005.....local/localhost.........Program.....ARRAY8.........xfce4-panel....UserID.....ARRAY8.........user....RestartStyleHint.....CARD8..........
...ProcessID.....ARRAY8.........1961....CurrentDirectory.....ARRAY8........./home/user...._GSM_Priority.....CARD8.........(....RestartCommand.
...LISTofARRAY8.........xfce4-panel....--sm-client-id%...117f000001000108934527000000018830005
...CloneCommand.
...LISTofARRAY8.........xfce4-panel&...117f000001000108934577100000018830007.....local/localhost.....
...CloneCommand.
...LISTofARRAY8.........xterm.....-class.....UXTerm.....-title.....uxterm.....-u8.....-title.	...Terminal.....Program.....ARRAY8.........xterm.....RestartCommand.
...LISTofARRAY8.
.......xterm.
...-xtsessionID.&...117f000001000108934577100000018830007.....-class.....UXTerm.....-title.....uxterm.....-u8.....-title.	...Terminal.....UserID.....ARRAY8.....	...user.
...ProcessID.....ARRAY8.........1970.&...117f000001000108934579900000018830008.....local/localhost.........Program.....ARRAY8.....	...konqueror....UserID.....ARRAY8.........user....RestartCommand.
...LISTofARRAY8.....	...konqueror....-session7...117f000001000108934579900000018830008_1089346036_586527....RestartStyleHint.....CARD8.................DiscardCommand.
...LISTofARRAY8.........rmj.../home/user/.kde/share/config/session/konqueror_117f000001000108934579900000018830008_1089346036_586527


More information about the Xfce mailing list