You are not logged in.

#1 2011-06-28 23:06:37

emphire
Member
From: Canada
Registered: 2007-03-21
Posts: 203

[solved] gnome-session cannot find xmonad

I was using xmonad as my window manager with gnome 3 using the instructions in the wiki.  It was working great until I upgraded xmonad today and now it's stopped working.

I can load xmonad with no issue from startx on it's own, but when I try to load xmonad into a gnome-session with GDM, I get the error:

failed to load session xmonad

The only button is "Log-out" which brings me back to GDM.

I noticed this in /var/log/messages:

localhost gnome-session[6088]: WARNING: Unable to find default provider 'xmonad' of required provider 'windowmanager'

Is anyone else experiencing similar issues?  Any suggestions would be very appreciated!

Last edited by emphire (2011-06-29 17:40:11)

Offline

#2 2011-06-29 10:12:26

Wey
Member
Registered: 2011-04-22
Posts: 217

Re: [solved] gnome-session cannot find xmonad

I just tried it and to me it works if i create a xmonad.desktop file, e. g. in /usr/share/applications. This one works, but could be extended further:

[Desktop Entry]
Name=xmonad
Exec=xmonad
Icon=
Terminal=false
Type=Application
StartupNotify=false
Categories=

Edit: for a better experience, you could add values from metacity.desktop, most notably:

NoDisplay=true

so it does not appear in any auto generated menus.

Last edited by Wey (2011-06-29 10:17:32)

Offline

#3 2011-06-29 17:38:27

emphire
Member
From: Canada
Registered: 2007-03-21
Posts: 203

Re: [solved] gnome-session cannot find xmonad

Thanks Wey.  That did the trick!

Offline

Board footer

Powered by FluxBB