[Xfce-bugs] [Bug 7048] New: Session cache stores multiple instances of xfwm4

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sun Jan 2 10:54:07 CET 2011


http://bugzilla.xfce.org/show_bug.cgi?id=7048

           Summary: Session cache stores multiple instances of xfwm4
    Classification: Xfce
           Product: Xfce4-session
           Version: 4.7.2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
        AssignedTo: xfce-bugs at xfce.org
        ReportedBy: v_cadet at yahoo.fr
         QAContact: bjt23 at cornell.edu
                CC: benny at xfce.org


Hi.

I've installed Xfce 4.7 on my Gentoo laptop (mainly to get rid of HAL). From my
.xsession-errors it appears that xfwm4 is launched more than once:

xfwm4-Message: To replace the current window manager, try "--replace"

(xfwm4:5188): xfwm4-WARNING **: Another Window Manager is already running
xfwm4-Message: To replace the current window manager, try "--replace"

(xfwm4:5189): xfwm4-WARNING **: Another Window Manager is already running
xfwm4-Message: To replace the current window manager, try "--replace"

(xfwm4:5190): xfwm4-WARNING **: Another Window Manager is already running
xfwm4-Message: To replace the current window manager, try "--replace"

(xfwm4:5191): xfwm4-WARNING **: Another Window Manager is already running
xfwm4-Message: To replace the current window manager, try "--replace"

(xfwm4:5192): xfwm4-WARNING **: Another Window Manager is already running
xfwm4-Message: To replace the current window manager, try "--replace"

(xfwm4:5193): xfwm4-WARNING **: Another Window Manager is already running


So I looked up in my Xfce session cache file under .cache/sessions/ and I found
the following:

[Session: Default]
Client0_ClientId=29497738e-1b17-406a-955b-e7187b66ea72
Client0_CloneCommand=xfwm4
Client0_RestartCommand=xfwm4,--display,:0.0,--sm-client-id,29497738e-1b17-406a-955b-e7187b66ea72
Client0_Program=xfwm4
Client0_Priority=20
...
Client1_ClientId=2d967a6de-7fee-4406-86e5-d3aba2775264
Client1_CloneCommand=xfwm4
Client1_DiscardCommand=rm,-rf,/home/vinz/.cache/sessions/xfwm4-2d967a6de-7fee-4406-86e5-d3aba2775264.state
Client1_RestartCommand=xfwm4,--sm-client-id,2d967a6de-7fee-4406-86e5-d3aba2775264,--display,:0.0
Client1_Program=xfwm4
Client1_Priority=15
...

With another (test) user account on my system xfwm4 is even launched three
times! I wiped out my test account's home directory beforehand so the bug
occurs even with a blank Xfce profile.

I didn't check if the bug occurs because I saved a session to have some
applications like Terminal or gkrellm running when I open a session though.
Anyway xfwm4 shows only once in "Xfce settings" > "Sessions and startup" dialog
box.

-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Xfce-bugs mailing list