On Sun, Sep 20, 2015 at 1:05 AM, Dimitri John Ledkov < dimitri.j.led...@intel.com> wrote:
> Heya, > > I boot to tty1, and login as my normal user account. > > Session c1, is active and has type tty. And I can access devices which > are marked as uaccess. > > Then I do $ startxfce4 -> which starts graphical interface. However, > at that time I "loose" the logind session. No new sessions are > started, session c1 is "Active=no" & "State=online" and i cannot > access uaccess devices any more. > > Both startxfce4 and systemd are compiled without policykit support (no > idea if this matters). > > What I am doing wrong? Should I go talk to xfce4 people? > > My expectation was for a new session c2 to be started and switched to, > type graphical, online and active. Whilst keeping c1 tty session > online and in-active. > That was possible with ConsoleKit, but logind does not allow nested sessions this way. Instead, you can keep session c1 active by starting Xorg on the *same* tty. Modern startx should do this automatically; earlier you had to modify your .xserverrc like this: https://projects.archlinux.org/svntogit/packages.git/tree/trunk/xserverrc?h=packages/xorg-xinit&id=37b4597466e99667ba6035854b3386a2ee83e563 (note this is no longer present in Arch's xinit as it has been moved to startx itself) I don't know how startxfce4 launches Xorg, though, but you could just use startx for it (i.e. start "startxfce4" from your .xinitrc). -- Mantas Mikulėnas <graw...@gmail.com>
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel