[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-utopia-maintainers] Bug#747882: policykit-1: breaks xfce4-power-manager



Am 14.05.2014 15:05, schrieb Zhao Difei:
> I am using startx, is this sympton caused by systemd incompatibility?
> Sorry for didn't notice the systemd transition.
> 
> On Wed, May 14, 2014 at 8:57 PM, Zhao Difei <difeiz@gmail.com> wrote:
>> Hi,
>>
>> Here's the output:
>>
>> ~$ loginctl
>>    SESSION        UID USER             SEAT
>>          1       1000 alpha            seat0
>>
>> ~$ loginctl show-session 1
>> Id=1
>> Timestamp=Wed 2014-05-14 20:50:52 CST
>> TimestampMonotonic=57570110
>> DefaultControlGroup=systemd:/user/1000.user/1.session
>> VTNr=1
>> TTY=/dev/tty1
>> Remote=no
>> Service=login
>> Leader=614
>> Audit=1
>> Type=tty
>> Class=user
>> Active=no

Since you don't have an active session (according to logind), the
resulting behaviour is expected.
This is indeed a startx issue, since usually the display manager
(lightdm, gdm) takes care of registering a logind session.

IIRC if you want to use startx, you need to make sure pam_systemd is
enabled for the console login and you need to teach startx to inherit
the tty from the console login, i.e. if you logged in on tty1, X needs
to start on tty1 (and not on tty7, which it usually does).

See [0]. There this issue was re-assigned to xinit.

I've CCed the X maintainers for their input. Are you ok if we re-assign
this bug to xinit?

Cheers,
Michael

[0] https://bugzilla.redhat.com/show_bug.cgi?id=806491
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: