Xfce Forum

Sub domains
 

You are not logged in.

#1 2016-09-17 12:36:34

frpatte
Member
Registered: 2013-07-11
Posts: 24

xfwm4 issue

Bonjour,

I am facing a problem with xfwm4: sometimes, when I login, xfwm4 is not active and I have to start it "by hand".

In .xsession-errors file I have this message:

(xfce4-session:5124): xfce4-session-WARNING **: gpg-agent returned no PID in the variables
xfwm4-Message: Another Window Manager (unknown) is already running on screen :0.0
xfwm4-Message: To replace the current window manager, try "--replace"

(even if the window manager succeeded to start)

What does it mean? How to get an every time working session?

I have only xfce4 installed on this machine, and no other window manager....

Thank you for helping.

Offline

#2 2016-09-17 13:15:12

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: xfwm4 issue

Is your system trying to start xfwm4 twice?
Do you have it listed in your Application Startup (Settings Manager > Session and Startup > Application Autostart).

Try clearing your saved sessions cache (Settings Manager > Session and Startup > Session > Clear saved sessions).


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2016-09-17 20:10:27

frpatte
Member
Registered: 2013-07-11
Posts: 24

Re: xfwm4 issue

ToZ wrote:

Is your system trying to start xfwm4 twice?
Do you have it listed in your Application Startup (Settings Manager > Session and Startup > Application Autostart).

There are only:

xfce4-panel
xfwm4
Xfsettingsd
xfdesktop

The .config/autostart directory has only one file: xfce4-settings-helper-autostart.desktop
which contains:

[Desktop Entry]
Hidden=false



ToZ wrote:

Try clearing your saved sessions cache (Settings Manager > Session and Startup > Session > Clear saved sessions).

No change after that.

Offline

#4 2016-09-17 20:55:12

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: xfwm4 issue

Which distro and which version of Xfce are you running?

How are you starting Xfce? Display manager or via command line?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2016-09-17 22:53:36

frpatte
Member
Registered: 2013-07-11
Posts: 24

Re: xfwm4 issue

ToZ wrote:

Which distro and which version of Xfce are you running?

fedora23 xfce4.12

ToZ wrote:

How are you starting Xfce? Display manager or via command line?

displaymanager lightdm

Offline

#6 2016-09-18 00:56:04

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: xfwm4 issue

Can you remove "xfce4-panel", "xfwm4", and "xfdesktop" from your Settings Manager > Session and Startup > Application Autostart list and clear your session cache one more time. Then log out and back in again and test.

If it's still a problem, post back your ~/.xsession-errors log file.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2016-09-18 09:38:07

frpatte
Member
Registered: 2013-07-11
Posts: 24

Re: xfwm4 issue

ToZ wrote:

Can you remove "xfce4-panel", "xfwm4", and "xfdesktop" from your Settings Manager > Session and Startup > Application Autostart list and clear your session cache one more time. Then log out and back in again and test.

So I had to start xfwm4 and xfce4-panel from cli.... and message is still there.

ToZ wrote:

If it's still a problem, post back your ~/.xsession-errors log file.

xfce4-session-Message: SSH authentication agent is already running
gpg-agent[2147]: Attention : « --write-env-file » est une option obsolète — non prise en compte
gpg-agent: une instance de gpg-agent fonctionne déjà —
pas de démarrage d'une nouvelle instance

(xfce4-session:2141): xfce4-session-WARNING **: gpg-agent returned no PID in the variables
xfwm4-Message: Another Window Manager (unknown) is already running on screen :0.0
xfwm4-Message: To replace the current window manager, try "--replace"
xfwm4-Message: Another Window Manager (unknown) is already running on screen :0.0
xfwm4-Message: To replace the current window manager, try "--replace"

(xfwm4:2150): xfwm4-WARNING **: Could not find a screen to manage, exiting

(xfwm4:2149): xfwm4-WARNING **: Could not find a screen to manage, exiting
xfwm4-Message: Another Window Manager (unknown) is already running on screen :0.0
xfwm4-Message: Another Window Manager (unknown) is already running on screen :0.0
xfwm4-Message: To replace the current window manager, try "--replace"
xfwm4-Message: To replace the current window manager, try "--replace"

(xfwm4:2153): xfwm4-WARNING **: Could not find a screen to manage, exiting

(xfwm4:2152): xfwm4-WARNING **: Could not find a screen to manage, exiting
xfwm4-Message: Another Window Manager (unknown) is already running on screen :0.0
xfwm4-Message: To replace the current window manager, try "--replace"

(xfwm4:2155): xfwm4-WARNING **: Could not find a screen to manage, exiting
xfwm4-Message: Another Window Manager (unknown) is already running on screen :0.0
xfwm4-Message: To replace the current window manager, try "--replace"

(xfwm4:2154): xfwm4-WARNING **: Could not find a screen to manage, exiting
xfwm4-Message: Another Window Manager (unknown) is already running on screen :0.0
xfwm4-Message: To replace the current window manager, try "--replace"
xfwm4-Message: Another Window Manager (unknown) is already running on screen :0.0
xfwm4-Message: To replace the current window manager, try "--replace"

(xfwm4:2156): xfwm4-WARNING **: Could not find a screen to manage, exiting

(xfwm4:2157): xfwm4-WARNING **: Could not find a screen to manage, exiting
xfwm4-Message: Another Window Manager (unknown) is already running on screen :0.0
xfwm4-Message: Another Window Manager (unknown) is already running on screen :0.0
xfwm4-Message: To replace the current window manager, try "--replace"
xfwm4-Message: To replace the current window manager, try "--replace"

(xfwm4:2159): xfwm4-WARNING **: Could not find a screen to manage, exiting

(xfwm4:2158): xfwm4-WARNING **: Could not find a screen to manage, exiting
xfwm4-Message: Another Window Manager (unknown) is already running on screen :0.0
xfwm4-Message: Another Window Manager (unknown) is already running on screen :0.0
xfwm4-Message: To replace the current window manager, try "--replace"
xfwm4-Message: To replace the current window manager, try "--replace"

(xfwm4:2160): xfwm4-WARNING **: Could not find a screen to manage, exiting

(xfwm4:2161): xfwm4-WARNING **: Could not find a screen to manage, exiting

SELinux Troubleshooter: Applet requires SELinux be enabled to run.
vmware-user: could not open /proc/fs/vmblock/dev

(polkit-gnome-authentication-agent-1:2209): GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed

(polkit-gnome-authentication-agent-1:2209): polkit-gnome-1-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(blueman-applet:2184): Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed

Offline

#8 2016-09-18 10:20:19

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: xfwm4 issue

There must be another window manager starting. What do the following commands return:

ls ~/.config/autostart
ls /etc/xdg/autostart

Also try clearing your sessions cache like this:
- log out
- from the log in screen, press Ctrl+Alt+F1
- log in to the text console
- run the following commands:

cd .cache
rm -rf sessions

- return to the gui login screen by pressing Ctrl+Alt+F7
- login.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#9 2016-09-18 15:36:31

frpatte
Member
Registered: 2013-07-11
Posts: 24

Re: xfwm4 issue

ToZ wrote:

There must be another window manager starting. What do the following commands return:

ls ~/.config/autostart
ls /etc/xdg/autostart

Also try clearing your sessions cache like this:
- log out
- from the log in screen, press Ctrl+Alt+F1
- log in to the text console
- run the following commands:

cd .cache
rm -rf sessions

- return to the gui login screen by pressing Ctrl+Alt+F7
- login.

Ok this seems to fix the problem: no more message about an unknown window manager in .xsession-errors

Thank you. I let you know if xfwm4 fails to start again at login (this behaviour is uncertain!)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 9 queries executed - Memory usage: 584.2 KiB (Peak: 601.48 KiB) ]