The cause of the problem is in this file:
/etc/lxdm/Xsession
They have custom xsession launchers for fedora, mandriva, debian, and ubuntu all other distros are classified as unknown and the script suggests that you create a custom xinitrc file here:
/etc/lxdm/xinitrc
If that file doesn't exist (the default) it runs a generic launcher which does not launch dbus-launch which is why pcmanfm can't do sftp with icewm. I found a solution:
- Code: Select all
su -c 'nano /etc/lxdm/xinitrc'
#Created 1/19/2012 to get pcmanfm to sftp.
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS";
then
eval "$(dbus-launch --sh-syntax --exit-with-session)"
fi
exec ck-launch-session icewm-session
Make it executable:
- Code: Select all
su -c 'chmod +x /etc/lxdm/xinitrc'
This is really a temporary fix, Gentoo should write a custom /etc/lxdm/xinitrc that works correctly with all available WMs and DEs.
