Obsidian-StudiosInc / entrance

General purpose Display Manager built on the Enlightenment Foundation Libraries (EFL)
GNU General Public License v3.0
23 stars 10 forks source link

[efl-1.22.2] Broken entrance_client UI connection issues with server, no menus, actions, etc #34

Open wltjr opened 5 years ago

wltjr commented 5 years ago

Description

When entrance starts there is no background/theme, sessions, or system actions. That usually is a sign of the client failing to connect to the server. Log output makes it seem like the client is connected, and the missing data is sent from server to client.

This is a bit suspicious in the log

ERR<19052>:ecore lib/ecore/ecore_main.c:1346 _ecore_main_fd_handler_add() Failed to add poll on fd 19 (errno = 9: Bad file descriptor)!
## Copy & Paste the below (until EOF) into a terminal, then hit Enter

If you use auto-login and then log out. The UI starts normally without this issue.

This does not occur if you start entrance under xephyr, only during normal usage.

Steps to reproduce

  1. Start entrance normally as the system login/display manager via init script or direct invocation.

System information

wltjr commented 5 years ago

Same in EFL 1.22.2, the client is failing to connect to the server and get the necessary data to populate the UI.

wltjr commented 11 months ago

FINALLY!!! After 5 years, this is an issue caused by daemonization... passing the -n/-nodaemon argument and just letting like start-stop-daemon do its job, gets entrance running again :) Tell your friends and enemies! Thanks much to @rastermann for taking me down the wormhole that uncovered this trivial solution.

I will be removing the daemonization code ASAP once I get a dev env and some other stuff going again.