Gentoo Archives: gentoo-user

From: Alexey Eschenko <skobkin-ru@××.ru>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Policykit problems (blueman, nm-applet, USB mount, etc) after some update
Date: Fri, 26 Oct 2018 14:31:50
Message-Id: 14292211540564293@iva3-2961a207771d.qloud-c.yandex.net
In Reply to: Re: [gentoo-user] Policykit problems (blueman, nm-applet, USB mount, etc) after some update by Mick
1
17:18, October 26, 2018, Mick <michaelkintzios@×××××.com>:

On Friday, 26 October 2018 14:41:53 BST Alexey Eschenko wrote:

��On 10/26/18 3:15 PM, Mick wrote:


��> You may want to check if you have left any manually created session files
��> in / etc/X11/Sessions/ and ~/.xinit or ~/.xsession.

��Thanks for the tips. But looks like it's not my case (or at least I
��think so):
��> root@skobkin-pc /etc/X11/Sessions
��>
��> > # ls -l
��>
��> total 6
��> lrwxrwxrwx 1 root root 5 Aug 9 16:14 Xfce -> Xfce4
��> -rwxr-xr-x 1 root root 11 Aug 9 16:14 Xfce4
��> -rwxr-xr-x 1 root root 2187 Jul 9 11:05 Xsession


On my system only Xsession is now listed. Did you install Xfce in Aug when
the session file and symlink were created, or did you set these up manually?

How do you start your X session? Do you use a Display Manager to login?


��> As a result there were two sessions
��> starting as shown by ck-list-sessions

��I don't have ck-list-sessions binary in my filesystem. Looks like it's
��provided by sys-auth/consolekit which is not installed in my system
��right now. But I think it was until I moved to the systemd and then made
��depclean.


Yes, systemd uses its own systemd-logind instead.


��Also after this I tried to list sessions with loginctl but I've got

��strange result:
��> > $ loginctl list-sessions
��>
��> No sessions.

��I remember when I used it last time it showed at least one X-session...


Hmm ... there should be a Session/User/Seat output listed as far as I know.
So there seems to be a problem right there. I don't use either systemd or
Xfce to compare with mine, but hopefully someone who does will chime in soon.

--
Regards,
Mick

I installed XFCE a long ago. But it was updated somewhen near August.�� I'm using login manager as I wrote earlier when described reboot/shutdown problem. It's unit enabled using systemctl enable.
I didn't set up sessions manually. Nor am I remember to create this symlink. I think it must be part of xfce4-session installation.�� Yeah. I remember using loginctl in the past and there was always at least one session.

Replies