Thanks for the reply and idea where the problem resides.

On Wed, 28 Mar 2018 15:55:55 -0400
Christopher Michael <cp.mich...@samsung.com> wrote:
>
> The problem looks like line 104:
> 
> ERR<4042>:elput lib/elput/elput_logind.c:506 _logind_connect() Could
> not get systemd session
> 
> Essentially, the elput code is trying to execute: sd_pid_get_session
> but that is returning an error. Perhaps there is some elogind
> environment variable (or some other method) to setup a session ??

Thanks I think something is not right with either elogind or dbus, a
runtime issue not build. Seems to build fine against elogind. Maybe
something not configured right in environment. Hopefully not something
another component of systemd helps setup.

Or something with the login process not starting a session. I think I
am missing like.
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0

Seems like those should come from dbus or something. Those are vars I
need to set in Entrnace. The question is where to get the values, and
seems elogind relies on dbus for some of that.

This does not look good...

$ /bin/loginctl
   SESSION        UID USER             SEAT             TTY

0 sessions listed.

Consolekit2 provides some of that as well, maybe conflicting with
elogind not sure.

$ ck-list-sessions
Session4:
        unix-user = '10001'
        realname = '(null)'
        seat = 'Seat1'
        session-type = 'unspecified'
        session-class = 'user'
        session-state = 'active'
        active = TRUE
        x11-display = ':0.0'
        x11-display-device = '/dev/tty7'
        display-device = ''
        remote-host-name = ''
        is-local = TRUE
        on-since = '2018-04-03T13:41:18.290571Z'
        login-session-id = ''
        XDG_RUNTIME_DIR = '/var/run/user/10001'
        VTNr = '7'

I played around with suid, and I got some other error relating to dbus.
One is as my user, the other root.
https://github.com/Obsidian-StudiosInc/entrance/files/1865642/wayland.1.log
https://github.com/Obsidian-StudiosInc/entrance/files/1865643/wayland.2.log


Thanks for any feedback and help on this. I am sure other non-systemd
users will appreciate being able to run E under Wayland via elogind.

-- 
William L. Thomson Jr.

Attachment: pgpeJQWOs0stY.pgp
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to