Closed RossComputerGuy closed 4 years ago
That is pretty interesting. I do not believe entrance has been tested or ran under systemd, I could be wrong there. Were you using auto-login, or manually logged in via the entrance UI? Can you provide the entrance.log file? You might want to try it without the --nodaemon option.
Manual log in, when I get home I'll dump the log file.
Ok, thank you very much! Hopefully, the log file will show if a session was started, attempted to be started, or if something went wrong. I assume, you got a visual greeter/UI and were able to enter your log in information. What happened after that, anything? Thanks again for the report!
After clicking log in, the screen went black then showed the the log in screen.
That is normal for when you log out. Since its failing to launch E or a session, it is just returning to the log in screen. Hopefully, the log shows something meaningful as to what went wrong.
I've attached the log file
Thank you for the log file! I see a few issues.
This has something to do with entrance log domain. Not major, just something I have not seen before. ../src/daemon/entrance.c:161 _entrance_client_error() Failed to connect to bus: No such file or directory
You might need to edit the path to sessreg in entrance.conf per this error sh: /usr/bin/sessreg: No such file or directory
I think this one is related to sessreg. /usr/bin/xauth: file /root/.Xauthority does not exist
It looks like your logging in as root vs another user per these lines, plus the previous Xauthority file location
../src/daemon/entrance_history.c:146 entrance_history_push() History create a new entry for root
../src/daemon/entrance_session.c:392 entrance_session_login() launching session /usr/bin/enlightenment_start for user root
Finally, this is of concern. The initial issue report said Consolekit was disabled. Either there is a problem with meson not setting HAVE_CONSOLEKIT
or something. With that disabled it should be starting the session differently, per these lines. You can see it calling ck-launch-session to start a session for root in this line
../src/daemon/entrance_session.c:199 _entrance_session_run() Executing: /bin/bash --login -c ck-launch-session /etc/entrance/Xsession /usr/bin/enlightenment_start > /root/.entrance_session.log 2>&1
I think the biggest issue is with sessreg not being found. Hopefully, you have that program in some other location. The other potential show stopper is the ck-launch-session command. If you do not have consolekit, then that is sure to fail as well. Those two things should be why it is failing to launch a session. Let's see about resolving those issues and go from there.
I pushed a commit (mentioned it in the title), that should fix Entrance. I'll have a look once it compiles.
entrance.log I got a different error now @wltjr, I added pulseaudio and that fixed the dbus issue.
It looks like its still the ConsoleKit issue even though I disabled ConsoleKit.
I forgot to clean the directory source so Buildroot would rebuild Entrance, did that now and it works!
Glad you got it all squared away. Eventually, dbus will be a direct dependency as part of logind/elogind integration. I plan to use dbus to interact with logind/elogind, rather than via a shell. Not sure why pulseaudio was needed. That maybe more related to how EFL was built than entrance itself, as entrance has no audio, or even a reliance on dbus at this time.
Dbus was saying the pulse user couldn't be found so it was stopping
Description
Logging in doesn't start Enlightenment
Steps to reproduce
How entrance is started
systemd service
System information