You are not logged in.
I've included exec dwm or exec xmonad in my .xinitrc. I've added dwm.desktop or xmonad.desktop in /usr/share/xsessions
As example:
[Desktop Entry]
Encoding=UTF-8
Type=XSession
Exec=/usr/bin/dwm
TryExec=/usr/bin/dwm
Name=DWM
Comment=DWM window manager
Yet I've not gotten either to show in my session list in KDM. Any thoughts?
Offline
Maybe try /etc/X11/sessions
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Okay, I added that dwm.desktop file to /etc/X11/sessions/ and nothing.
Offline
Maybe try GDM. If it shows up there, then it's something KDM related, if it doesn't show up, then compare your dwm.desktop to other .desktop files for X sessions. You must have an error somewhere then.
Last edited by moljac024 (2008-10-26 08:29:53)
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Look at /usr/share/config/kdm/kdmrc (for kde4)
SessionsDirs=/usr/share/config/kdm/sessions,/usr/share/apps/kdm/sessions
Offline
Look at /usr/share/config/kdm/kdmrc (for kde4)
SessionsDirs=/usr/share/config/kdm/sessions,/usr/share/apps/kdm/sessions
You are right but configuration files should NEVER be placed in /usr directory. I don't understand why KDE developers did this but it is a violation of rules.
@imag1narynumber: Switch to GDM as suggested moljac024. It should use sessions from /etc/X11/sessions.
Offline
I don't know why, since it's so, I'd just suggest editing kdmrc and adding /etc/X11/sessions directory to the list. By the way, kdmrc is treated as a config file by pacman (it's preserved on updates).
EDIT: There's plenty of other kde config files in /usr/share/config, so I guess if one uses kde, better get used to the kde devs' quirk of placing config files to weird places...
Last edited by bender02 (2008-10-26 09:34:20)
Offline
Excellent, thanks! I added dwm.desktop and xmonad.desktop to the enormous list of desktops in /usr/share/apps/kdm/sessions/. Explains why PekWM and awesome were listed so readily and not these.
Offline
Probably a dumb question: imag1narynumber, where did you get your xmonad.desktop file in the first place?
Offline
Llama, I just opened a .desktop file that I knew was good and worked off of that. The xmonad.hs file I got off of the website was outdated, but their mailing list was very helpful and it looks like they're going to update things a bit.
Offline
explicitly:
append "/usr/share/xsessions,/etc/X11/sessions" in /usr/share/config/kdm/kdmrc (about line 280):
# The directories containing session type definitions in .desktop format,
# ordered by falling priority.
# Default is "/usr/share/apps/kdm/sessions"
SessionsDirs=/usr/share/config/kdm/sessions,/usr/share/apps/kdm/sessions,/usr/share/xsessions,/etc/X11/sessions
Offline