Re: [Nix-dev] Halting from kde, or exiting session
On 08-02-12 10:41, Arie Middelkoop wrote: On 07-02-12 23:44, Lluís Batlle i Rossell wrote: On Tue, Feb 07, 2012 at 11:22:19PM +0100, Lluís Batlle i Rossell wrote: since some recent update, the KDE we have does not halt anymore. Clicks to shutdown, reboot, exit, ... none work. Your solution does not work for me. If my problem is related, perhaps I should just remove my entire .kde directory. Apparently in my case there seems to be some issue with ConsoleKit that I have not yet found out. KDE's session manager ksmserver ultimately executes some shutdown code depending on which window manager is used. I'm currently using the auto expression, thus what happens during shutdown is that Stop or Reboot is send via DBus to ConsoleKit. If I do this by hand: dbus-send --system --print-reply \ --dest=org.freedesktop.ConsoleKit \ /org/freedesktop/ConsoleKit \/Manager \ org.freedesktop.ConsoleKit.Manager.Restart (method return sender=:1.2 - dest=:1.22 reply_serial=2) Nothing happens aside from 1329125469.842 type=SYSTEM_RESTART appearing in /var/log/ConsoleKit/history. The same when running the command as root or as normal user, with and without the --system parameter. I've not yet found out why it's actually not doing anything. Anybody a clue here? As an aside, when running KDM, I found out that loading the Login tab in systemsettings application screws up the KDM configuration in the nix store: e.g. it sets the reboot command to /sbin/reboot (which, obviously, does not exist). Arie ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Halting from kde, or exiting session
On 07-02-12 23:44, Lluís Batlle i Rossell wrote: On Tue, Feb 07, 2012 at 11:22:19PM +0100, Lluís Batlle i Rossell wrote: since some recent update, the KDE we have does not halt anymore. Clicks to shutdown, reboot, exit, ... none work. They don't do anything beyond hiding back the menu. Any advice? rm ~/.kde/share/config/startupconfigfiles This worked. It had many store references. I have a similar problem for a while. Shutdown, reboot or exit just gives a black screen for several seconds and then jumps back to KDM (via KDM I can shutdown or reboot my machine). Your solution does not work for me. If my problem is related, perhaps I should just remove my entire .kde directory. Arie ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Halting from kde, or exiting session
Arie Middelkoop wrote: On 07-02-12 23:44, Lluís Batlle i Rossell wrote: On Tue, Feb 07, 2012 at 11:22:19PM +0100, Lluís Batlle i Rossell wrote: since some recent update, the KDE we have does not halt anymore. Clicks to shutdown, reboot, exit, ... none work. They don't do anything beyond hiding back the menu. Any advice? rm ~/.kde/share/config/startupconfigfiles This worked. It had many store references. I have a similar problem for a while. Shutdown, reboot or exit just gives a black screen for several seconds and then jumps back to KDM (via KDM I can shutdown or reboot my machine). Your solution does not work for me. If my problem is related, perhaps I should just remove my entire .kde directory. Or (untested) $ find .kde -type f | xargs sed -e 's,/nix/store/[^/]*,/var/run/current- system/sw,g' -i P.S.: The proper solution would be to patch KDE to stop resolving symlinks. -- Yury G. Kudryashov, mailto: ur...@mccme.ru ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Halting from kde, or exiting session
On Wed, Feb 08, 2012 at 02:02:54PM +0400, Yury G. Kudryashov wrote: Arie Middelkoop wrote: I have a similar problem for a while. Shutdown, reboot or exit just gives a black screen for several seconds and then jumps back to KDM (via KDM I can shutdown or reboot my machine). Your solution does not work for me. If my problem is related, perhaps I should just remove my entire .kde directory. Or (untested) $ find .kde -type f | xargs sed -e 's,/nix/store/[^/]*,/var/run/current- system/sw,g' -i P.S.: The proper solution would be to patch KDE to stop resolving symlinks. I find this a very good answer though! Do you recomend doing that 'sed'? Thank you, Lluís ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Halting from kde, or exiting session
Lluís Batlle i Rossell wrote: On Wed, Feb 08, 2012 at 02:02:54PM +0400, Yury G. Kudryashov wrote: Arie Middelkoop wrote: I have a similar problem for a while. Shutdown, reboot or exit just gives a black screen for several seconds and then jumps back to KDM (via KDM I can shutdown or reboot my machine). Your solution does not work for me. If my problem is related, perhaps I should just remove my entire .kde directory. Or (untested) $ find .kde -type f | xargs sed -e 's,/nix/store/[^/]*,/var/run/current- system/sw,g' -i P.S.: The proper solution would be to patch KDE to stop resolving symlinks. I find this a very good answer though! Do you recomend doing that 'sed'? I've done sed like this a few times. -- Yury G. Kudryashov, mailto: ur...@mccme.ru ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] Halting from kde, or exiting session
Hello, since some recent update, the KDE we have does not halt anymore. Clicks to shutdown, reboot, exit, ... none work. They don't do anything beyond hiding back the menu. Any advice? Regards, Lluís. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Halting from kde, or exiting session
On Tue, Feb 07, 2012 at 11:22:19PM +0100, Lluís Batlle i Rossell wrote: Hello, since some recent update, the KDE we have does not halt anymore. Clicks to shutdown, reboot, exit, ... none work. They don't do anything beyond hiding back the menu. Any advice? rm ~/.kde/share/config/startupconfigfiles This worked. It had many store references. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Halting from kde, or exiting session
Hi. On 02/07/2012 11:22 PM, Lluís Batlle i Rossell wrote: since some recent update, the KDE we have does not halt anymore. Clicks to shutdown, reboot, exit, ... none work. They don't do anything beyond hiding back the menu. Xfce often does me a similar thing when /var/run/current-system != /var/run/booted-system. Any attempts to reboot or shutdown end just in logout. There in KDM, however, reboot or shutdown always worked afterwards. I suspect it could be a configuration problem somewhere around policykit - not conforming to how we switch to another system... Vlada ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev