if you are using startx, you do not call login managers from your .xinitrc. You call your WM/DE.
What's the point in logging in at the CLI, and then calling the login manager ? What, to login again?
Of course, you're right. The skeleton file refers to the Window Manager, not the login manager; I apologise. I also apologise to bikepunk for effectively hijacking this thread. I suppose the stuff about dbus was on-topic, but my assumptions about the login process weren't - sorry. I know better now.
]]>What's the point in logging in at the CLI, and then calling the login manager ? What, to login again?
]]>SLiM is an example of a login manager that doesn't start the dbus user session iirc. You have to use dbus-launch and consolekit to set up your session in the .xinitrc with it.
Am I right in understanding that login managers such as GDM and LXDM do not parse the .xinitrc file? That would make sense, as that's where you'd call your login manager from if using startx rather than run level 5 by default in /etc/inittab.
Thanks.
]]>The text should be changed , as it is usually NOT the DE that starts the dbus user session .
starting that session is done by the Desktop manager / Login Manager ( slim, kdm , gdm are examples) .
SLiM is an example of a login manager that doesn't start the dbus user session iirc. You have to use dbus-launch and consolekit to set up your session in the .xinitrc with it.
]]>Modeler wrote:https://wiki.archlinux.org/index.php/Dbus says:
Desktop environments will usually start a D-Bus session automatically
If I don't have dbus in my daemons list, it still runs when I'm in LXDE but I don't get the shutdown and reboot options. When I add it and reboot, they appear. Thanks for you help with this by the way.
You have to know that there are two dbus sessions, a system one and a user one. The user one either gets started by the DE, or you put it in .xinitrc if you don't use a DE. But you need the system one as well, and that one you get by putting dbus in the daemons array in rc.conf.
The text should be changed , as it is usually NOT the DE that starts the dbus user session .
starting that session is done by the Desktop manager / Login Manager ( slim, kdm , gdm are examples) .
you hit into a bug in pacman that is fixed in pacman 4.0. mkdir /media as root
Thank you wonder, this worked...USB devices are now recognized on hotplug with hal uninstalled. For the record: after removing hal, the /media directory disappears. I created a new one as indicated above. I already had udisks installed, so that wasn't the issue.
]]>https://wiki.archlinux.org/index.php/Dbus says:
Desktop environments will usually start a D-Bus session automatically
If I don't have dbus in my daemons list, it still runs when I'm in LXDE but I don't get the shutdown and reboot options. When I add it and reboot, they appear. Thanks for you help with this by the way.
You have to know that there are two dbus sessions, a system one and a user one. The user one either gets started by the DE, or you put it in .xinitrc if you don't use a DE. But you need the system one as well, and that one you get by putting dbus in the daemons array in rc.conf.
]]>Where have you seen that LXDE starts dbus automatically ?
https://wiki.archlinux.org/index.php/Dbus says:
Desktop environments will usually start a D-Bus session automatically
If I don't have dbus in my daemons list, it still runs when I'm in LXDE but I don't get the shutdown and reboot options. When I add it and reboot, they appear. Thanks for you help with this by the way.
]]>pacman -Qi | grep -iE "dep.*hal"
In fact, running this with "-Si" instead of "-Qi" returns only one package: synce-odccm.
]]>I simply installed upower (https://www.archlinux.org/packages/extra/i686/upower/) ; together with pm-utils manage to get all the buttons (Shutdown, Reboot, Suspend, Hibernate, Logout ) working in the Logout dialog (and with no HAL installed of course).
Your daemon list looks just fine.
I have lost the suspend and hibernate options altogether though.
While it seems is not (I'm running LXDE without hal without problem). To get Suspend and Hibernate buttons in the Logout dialog upower works perfectly. The Daemon page should also be updated I think.
Sorry if I missed something but I'd like to know how to get these back without HAL. Any chance you could point me in the right direction please? These are my current DAEMONS:
DAEMONS=(hwclock syslog-ng network netfs crond sshd dbus laptop-mode)
Thanks.
[Edit]I think I've found it:
https://wiki.archlinux.org/index.php/Pm … enbox_menu
Is this the method you used? Seems a bit long-winded is all.
]]>Hmmm, when I remove HAL from my LXDE system I get the "Error creating mount point" message when I hotplug into a USB port. I looked at the dbus wiki page and modified .xinitrc as suggested, but cannot clear the problem. Can someone point me in the right direction?
You must install udisks to replace hal to mount removable media.
]]>