You are not logged in.

#1 2013-02-12 09:15:37

dext
Member
From: Poland, Kraków
Registered: 2008-02-01
Posts: 124

[xfce] no window manager

After restarting XFCE yesterday there is no window manager: no window decorations, panel is dead, shortcuts dead. Facts:

1) Nothing in error.log, and Xorg.log

2) Gnome works just fine

3) rm -R ~/.config/xfce4* doesn't help. Login on fresh user either.

4) Arch is up to date, and there's no test repo.


So I know I got nothing, but I would really appreciate if someone would point me in the right direction because I'm out of ideas.

Offline

#2 2013-02-12 09:27:26

digirium
Member
Registered: 2012-11-15
Posts: 51

Re: [xfce] no window manager

What does the exec line look like in your ~/.xinitrc? Is it exec startxfce4?

From a shell prompt what does xfwm4 --replace do if anything?

Presuming that panels if configured show up?

Offline

#3 2013-02-12 09:54:28

dext
Member
From: Poland, Kraków
Registered: 2008-02-01
Posts: 124

Re: [xfce] no window manager

Plain xfwm4 did the trick. Thank you! What can I do to make it auto start?


My .xinitrc (it's the same for quite some time)

#!/bin/bash

source /etc/X11/xinit/xinitrc.d/30-dbus

eval $(/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh)
export SSH_AUTH_SOCK
export GPG_AGENT_INFO
export GNOME_KEYRING_CONTROL
export GNOME_KEYRING_PID

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

exec startxfce4

Offline

#4 2013-02-12 10:11:54

digirium
Member
Registered: 2012-11-15
Posts: 51

Re: [xfce] no window manager

Ahh you said panels were dead? If running xfwm4 works may be running startxfce4 from a shell prompt does too? Does your .xinitrc file have execute permission? Is your login manager pointed at ~/.xinitrc? At least X seems to be started.

Offline

#5 2013-02-12 10:56:47

dext
Member
From: Poland, Kraków
Registered: 2008-02-01
Posts: 124

Re: [xfce] no window manager

digirium wrote:

Ahh you said panels were dead?

By "dead" I meant I could see the corpses wink It was there, but non-functional. Sorry for my bad english.


digirium wrote:

running xfwm4 works may be running startxfce4 from a shell prompt does too?

Yes, solo startxfce4 works. But I still need to work my way to xfce4-terminal to start "xfwm4"


digirium wrote:

Does your .xinitrc file have execute permission?

No, but adding it and restarting Slim changes nothing.


digirium wrote:

Is your login manager pointed at ~/.xinitrc? At least X seems to be started.

/etc/slim.conf

login_cmd exec /bin/bash -login ~/.xinitrc %session

X are working. After login I can see non-functional panel, and some applications windows, but without window decorator. Now I'm closing apps using ctrl+q to activate xfce4-terminal, where I'm starting xfwm4. So now everything works, but xfwm4 should start by it self.

Offline

#6 2013-02-12 11:08:52

digirium
Member
Registered: 2012-11-15
Posts: 51

Re: [xfce] no window manager

All the basics appear to be ok? Next may be try restoring default settings and resetting session cache.

See Arch xfce4 wiki page: https://wiki.archlinux.org/index.php/Xf … on_failure

Offline

#7 2013-02-12 12:11:58

ronmon
Member
Registered: 2011-04-15
Posts: 48

Re: [xfce] no window manager

A couple things you might want to try:

A while back, it was recommended to replace the .xinitrc line

exec startxfce4

with

exec ck-launch-session startxfce4

Also, I have

xfwm4 --replace

set in Application Autostart in my Settings > Session and Startup

Offline

#8 2013-02-12 18:36:36

dext
Member
From: Poland, Kraków
Registered: 2008-02-01
Posts: 124

Re: [xfce] no window manager

Solved.

rm -R ~/.cache/sessions/*

Solution is there:

http://wiki.xfce.org/faq#window_manager
https://wiki.archlinux.org/index.php/Xf … on_failure


I should have looked that up, so sorry, and thanks for help.

Offline

Board footer

Powered by FluxBB