session manager
Mark Houlder
mark.houlder at ot-t.com
Thu Mar 4 20:07:09 CET 2004
jack
tried it, didn't work :/
i'm stumped... maybe i should just rebuild some stuff.... (already tried
re compiling session manager, to no avail)
Jack Kern wrote:
>
>
> Why not just try to use my ~/.xfce4/xinitrc ( *** My
> ~/.xfce4/xinitrc: below) and start things as I described? I know how
> to read these scripts (startxfce4, xinitrc, etc.) ; so, I may be
> taking a lot for granted if you are not familiar with shell scripts.
> Is your ~/.xfce4/xinitrc ececutable?
>
> jkern at boat:~$ ls -l .xfce4/xinitrc
> -rwxr--r-- 1 jkern jkern 640 2004-02-29 20:39
> .xfce4/xinitrc
>
> Does the following command output look like this? (N.B. lines may be
> wrapped.)
>
> jkern at boat:~$ ps -ef | grep "\-client"
> jkern 618 1 0 08:35 tty1 00:00:00 /usr/bin/xftaskbar4
> --sm-client-id 11c0a80002000107741875300000019960002
> jkern 620 1 0 08:35 tty1 00:00:00 xfdesktop
> --sm-client-id 11c0a80002000107741074500000010610003
> jkern 621 1 0 08:35 tty1 00:00:00 xfwm4 --daemon
> --sm-client-id 11c0a80002000107741074500000010610001
> jkern 623 1 0 08:35 tty1 00:00:27 xfce4-panel
> --sm-client-id 11c0a80002000107741074500000010610005
> jkern 625 1 0 08:35 tty1 00:00:02 smproxy -clientId
> 11c0a80002000107741074500000010610000 -restore /home/jkern/.prxWWB9M5
>
>
>
> Mark Houlder wrote:
>
>> I start it using qingy (login manager), or directly from console with
>> 'startxfce4'
>>
>> although if i directly run
>>
>> xinit .xfce4/xinitrc
>>
>> (xinitrc amended with 'exec /usr/bin/xfce4-session' at the end)
>>
>> it makes no difference (i use xinitrc copied from /etc/xfce4/xinitrc,
>> which differs from yours i think)
>>
>>
>>
>> there does seem to be the relevant info in the session file, which is
>> updated every time i login out, but it's never recreated in xfce
>>
>>
>>
>> Jack Kern wrote:
>>
>>> Mark Houlder wrote:
>>>
>>>> i know this isn't stable yet, but as many people seem to be using
>>>> it thought i'd ask; i downloaded and installed it yesterday and had
>>>> it working fine for a few hours, but now it's stopped working.
>>>> whenever starting xfce, nothing to do with the session is retained
>>>> - no previous apps opened, no terminals opened, or anything. the
>>>> only thing that does happen is when i open a terminal, it sometimes
>>>> opens in the previous location (but without the right geom
>>>> settings). i've reinstalled the session manager, but that didn't
>>>> help. the close-down dialog still appears with the 'save session'
>>>> box ticked (i set it to do that automatically from the setup
>>>> dialog), and when loading xfce the splash box appears, but apart
>>>> from that nothing happens.
>>>>
>>>> any ideas?
>>>
>>>
>>>
>>>
>>> I seems to work perfectly for me but I have customized some startup
>>> files.
>>>
>>> How are you starting XFce? I start X with a "exec
>>> /usr/bin/startxfce4" which executes my ~/.xfce4/xinitrc, which has
>>> to be made executable:
>>>
>>> jkern at boat:~$ ls -l .xfce4/xinitrc
>>> -rwxr--r-- 1 jkern jkern 640 2004-02-29 20:39
>>> .xfce4/xinitrc
>>>
>>> ~/.xfce4/xinitrc calls /usr/bin/xfce4-session:
>>>
>>> jkern at boat:~$ tail -n 3 .xfce4/xinitrc
>>>
>>> exec /usr/bin/xfce4-session
>>>
>>> My ~/.xfce4/xinitrc is partly based on
>>> /etc/xfce4/xinitrc.xfce4-session. The whole ~/.xfce4/xinitrc is
>>> pasted in below. ***
>>>
>>>>
>>>> ps. where are the session details stored? i use tmpfs for my /tmp
>>>> directory, if that makes a difference (although sessions don't
>>>> remain even without rebooting)
>>>>
>>>>
>>> jkern at boat:~$ ls -l .xfce4/sessions/
>>> total 8
>>> -rw-r--r-- 1 jkern jkern 2896 2004-02-26 22:47 xfsm-boat
>>> -rw-r--r-- 1 jkern jkern 1356 2004-02-26 22:47
>>> xfwm4-11c0a80002000107741074500000010610001
>>>
>>> jkern at boat:~$ cat
>>> .xfce4/sessions/xfwm4-11c0a80002000107741074500000010610001
>>> [CLIENT_ID] 11c0a80002000107741074500000010610005
>>> [CLIENT_LEADER] 0xe00001
>>> [RES_NAME] xfce4-panel
>>> [RES_CLASS] Xfce4-panel
>>> [WM_NAME] XFce Panel
>>> [WM_COMMAND] (3) "xfce4-panel" "--sm-client-id"
>>> "11c0a800020001077410745000000
>>> 10610005"
>>> [GEOMETRY] (122,714,759,54)
>>> [GEOMETRY-MAXIMIZED] (181,822,775,42)
>>> [DESK] 0
>>> [FLAGS] 0x1000000
>>> [CLIENT] 0x1200030
>>> [CLIENT_LEADER] 0x1200001
>>> [RES_NAME] Gecko
>>> [RES_CLASS] Mozilla-bin
>>> [WM_NAME] Local Debian Start Page - Mozilla
>>> [WM_COMMAND] (1) "/usr/lib/mozilla/mozilla-bin"
>>> [GEOMETRY] (69,52,890,683)
>>> [GEOMETRY-MAXIMIZED] (0,0,890,673)
>>> [DESK] 0
>>> [FLAGS] 0x20000000
>>> [CLIENT] 0xa00002
>>> [CLIENT_ID] 11c0a80002000107741875300000019960002
>>> [CLIENT_LEADER] 0xa00001
>>> [RES_NAME] xftaskbar4
>>> [RES_CLASS] Xftaskbar4
>>> [WM_NAME] Task List
>>> [WM_COMMAND] (3) "/usr/bin/xftaskbar4" "--sm-client-id"
>>> "11c0a8000200010774187
>>> 5300000019960002"
>>> [GEOMETRY] (0,0,1024,5)
>>> [GEOMETRY-MAXIMIZED] (0,0,1152,1)
>>> [DESK] 0
>>> [FLAGS] 0x1000000
>>> [CLIENT] 0xc00002
>>> [CLIENT_ID] 11c0a80002000107741074500000010610003
>>> [CLIENT_LEADER] 0xc00001
>>> [RES_NAME] xfdesktop
>>> [RES_CLASS] Xfdesktop
>>> [WM_NAME] Desktop
>>> [WM_COMMAND] (3) "xfdesktop" "--sm-client-id"
>>> "11c0a80002000107741074500000010
>>> 610003"
>>> [GEOMETRY] (0,0,1152,864)
>>> [GEOMETRY-MAXIMIZED] (0,0,1152,864)
>>> [DESK] 1
>>> [FLAGS] 0x1000000jkern at boat:~$
>>>
>>>
>>> *** My ~/.xfce4/xinitrc:
>>>
>>> cat .xfce4/xinitrc
>>> #!/bin/sh
>>> # jack hacked Wed Feb 25 18:03:31 EST 2004
>>> xsetroot -solid black -cursor_name watch
>>>
>>> # Start stuff from ~/Desktop/Autostart directory, if it exists
>>>
>>> if [ -d "$HOME/Desktop/Autostart" ]; then
>>> for i in `ls -1 ${HOME}/Desktop/Autostart/ 2>/dev/null`; do
>>> if [ -x $HOME/Desktop/Autostart/$i ]; then
>>> $HOME/Desktop/Autostart/$i &
>>> fi
>>> done
>>> fi
>>>
>>> # Setup environment
>>>
>>> if [ -f $HOME/.Xresources ]; then
>>> xrdb -merge $HOME/.Xresources
>>> fi
>>>
>>> if [ -f $HOME/.bash_profile ]; then
>>> . $HOME/.bash_profile
>>> fi
>>>
>>> if [ -f $HOME/.Xmodmap ]; then
>>> xmodmap $HOME/.Xmodmap
>>> fi
>>>
>>> # Finally, launch XFce4 using xfce4-session
>>>
>>> exec /usr/bin/xfce4-session
>>>
>>>
>>>
>>> I am running:
>>>
>>> Linux boat 2.6.4-rc1 #2 Tue Mar 2 23:35:10 EST 2004 i686 GNU/Linux
>>> -- Debian unstable
>>>
>>>
>>>
>>>
>>>
>>>
>>> intY has scanned this email for all known viruses (www.inty.com)
>>>
>>>
>>
>> intY has scanned this email for all known viruses (www.inty.com)
>>
>>
>
>
> intY has scanned this email for all known viruses (www.inty.com)
>
>
intY has scanned this email for all known viruses (www.inty.com)
More information about the Xfce
mailing list