You are not logged in.

#1 2011-06-11 15:24:45

MAC!EK
Member
Registered: 2005-09-27
Posts: 267

KDM Xsession doesn't run the ~/.xsession file

Default ~/.xsession and ~/.xinitrc files are written to execute all the scripts from: /etc/X11/xinit/xinitrc.d/ directory.
I placed there some scripts, but they are not executed when running KDM. My KDE session just doesn't run any of the scripts from /etc/X11/xinit/xinitrc.d/ directory.

Comment in ~/.xsession says:

# ~/.xsession
#
# Executed by xdm/gdm/kdm at login
#

/bin/bash --login -i ~/.xinitrc

KDM only executes the /usr/share/config/kdm/Xsession script, which sources some files, but not .xinitrc.

Is it a bug or a feature?
Maybe the KDM or KDE binaries somehow should run the ~/.xsession or ~/.xinitrc files?

Last edited by MAC!EK (2011-06-12 13:48:15)

Offline

#2 2011-06-11 15:30:38

thestinger
Package Maintainer (PM)
From: Toronto, Canada
Registered: 2010-01-23
Posts: 478

Re: KDM Xsession doesn't run the ~/.xsession file

Try moving it to ~/.xprofile, I had to use that when I used GNOME/GDM ages ago.

Offline

#3 2011-06-12 13:49:44

MAC!EK
Member
Registered: 2005-09-27
Posts: 267

Re: KDM Xsession doesn't run the ~/.xsession file

After copying ~/.xsession  to ~/.xprofile all is fine, the /etc/X11/xinit/xinitrc.d/ were run. Thanks

But on the other hand why the comment in ~/.xsession says it's executed by KDM ? Which is not true.

Offline

Board footer

Powered by FluxBB