Code Monkey home page Code Monkey logo

entrance's People

Contributors

andydotxyz avatar bjacquin avatar bluebugs avatar devilhorns avatar eyoz avatar laceesz avatar marcelhollerbach avatar rastermann avatar thetechrobo avatar wltjr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

entrance's Issues

Entrance reading cairo-dock as an Xsession even though it's type Application

Description

As stated by @Thanatermesis:
The issue is from entrance reading the .desktop incorrectly, see:

~ ❯❯❯ grep "^Type=" /usr/share/xsessions/e16-session.desktop
Type=XSession
~ ❯❯❯ grep "^Type=" /usr/share/xsessions/cairo-dock.desktop
Type=Application

I don't know why cairo-dock is on this directory but in any case is not the correct type of .desktop file that should be used for init X sessions, so entrance should only consider the ones of type XSession

Steps to reproduce

  1. Install Cairo-Dock
  2. Make sure that the .desktop file is in /usr/share/xsessions
  3. Launch Entrance

How entrance is started (doesn't matter)

I installed it with Apt, does this answer your question?
I think systemd.

System information

  • OS/Distro: elive 3.8.17
  • Pam enabled: Idk (doesn't matter)
  • Consolekit enabled: NO
  • Systemd or other init (openrc, sysvinit, etc): Systemd (doesn't matter)
  • EFL Version: Git i think (doesn't matter)

Enlightenment does not start

Description

Logging in doesn't start Enlightenment

shot-2020-01-05_21-15-03

Steps to reproduce

  1. Run ExpidusOS
  2. Start entrance from systemd
  3. Log in as a user
    ...

How entrance is started

systemd service

System information

Missing XDG session variables

A few session variables other DMs set that entrance presently is not.

  • XDG_SEAT_PATH
  • XDG_SESSION_DESKTOP
  • XDG_SESSION_PATH
  • XDG_SESSION_TYPE

XDG_SEAT is presently hard coded which it should not. It should be obtained from consolekit2 or logind/elogind.

Xsession files not run because wrong conf

grep etc /etc/entrance/entrance.conf

value "session_login" string: ""/etc"/entrance/Xsession";

There's a bug on this location (see the double quotes between /etc ?), this causes some xsession's to not be run (like pulseaudio),

Apparently this is caused by meson.build which replaces the identifier with adding unneeded quotes

Almost working on Debian Bookworm (testing as of 2022) ... login fails.

Hi!

I'm building a Debian system using enlightenment, and I'm trying to build and install everything not packaged by Debian maintainers.
So far, so good, I've most of the system complete (I've got problems with EDI and some other tools)

Entrance, though, is a major challenge for my skills... here's where I'm stuck on:

  • I got entrance to start, struggling with a systemd unit, although far from ideal.
  • Entrance has no background... Something seems to be amiss.
  • Login fails... Looks pam.d stuff is amiss too.

Maybe someone with experience in recent Debianish (Mint, Ubuntu, etc..) could help figure out what I'm missing.

Build yeld something like this (from log):

Configuring config.h using configuration
Configuring entrance.conf using configuration
Configuring entrance using configuration
Program msgfmt found: YES (/usr/bin/msgfmt)
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Build targets in project: 10
NOTICE: Future-deprecated features used:
 * 0.56.0: {'dependency.get_pkgconfig_variable', 'meson.source_root', 'gui_app arg in executable'}

Found ninja-1.11.0 at /usr/bin/ninja
Failed to guess install tag for /usr/local/etc/entrance/entrance.conf
Failed to guess install tag for /usr/local/etc/pam.d/entrance
Failed to guess install tag for /usr/local/etc/entrance/Xsession

And install log looks like that:

# List of files installed by Meson
# Does not contain files installed by custom scripts.
/usr/local/lib/x86_64-linux-gnu/entrance/entrance_client
/usr/local/sbin/entrance
/usr/local/share/entrance/themes/default.edj
/usr/local/share/locale/es/LC_MESSAGES/entrance.mo
/usr/local/share/locale/fr/LC_MESSAGES/entrance.mo
/usr/local/share/locale/de/LC_MESSAGES/entrance.mo
/usr/local/share/locale/hu/LC_MESSAGES/entrance.mo
/usr/local/etc/entrance/entrance.conf
/usr/local/etc/pam.d/entrance
/usr/local/etc/entrance/Xsession
/usr/local/etc/pam.d
/usr/local/etc/entrance
/usr/local/share/locale/hu/LC_MESSAGES
/usr/local/share/locale/hu
/usr/local/share/entrance/themes
/usr/local/share/entrance
/usr/local/lib/x86_64-linux-gnu/entrance

Cheers!

plymouth should quit before to start entrance

plymouth can give issues booting the system, delaying entrance, etc...

ligthdm has an own plymouth library code to stop it before to start lightdm, I suggest to add to entrance a simple system call to run "plymouth quit" in order to stop it before to run the entrance daemon, which is much simpler than integrate the full lib of plymouth

CC: @triantares

User specified background in entrance.conf does not work

Seems entrance should have the ability to allow a user to set their own background. Code exists for such, and a configuration option for that in entrance.conf. However that function is currently broken. No matter what is set in entrance.conf. It does not apply the user background, just remains with default.

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

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

  • EFL 1.21.1

build failure with meson

FAILED: src/bin/entrance_client@exe/entrance_conf_user.c.o
ccache cc -Isrc/bin/entrance_client@exe -Isrc/bin -I../entrance/src/bin -I/usr/include/elementary-1 -I/usr/include/libdrm -I/usr/include/ecore-wl2-1 -I/usr/include/ecore-fb-1 -I/usr/include/ecore-x-1 -I/usr/include/elocation-1 -I/usr/include/emotion-1 -I/usr/include/ethumb-client-1 -I/usr/include/ethumb-1 -I/usr/include/edje-1 -I/usr/include/ecore-audio-1 -I/usr/include/eio-1 -I/usr/include/efreet-1 -I/usr/include/ecore-ipc-1 -I/usr/include/embryo-1 -I/usr/include/ecore-imf-evas-1 -I/usr/include/ecore-imf-1 -I/usr/include/ecore-evas-1 -I/usr/include/ecore-drm2-1 -I/usr/include/elput-1 -I/usr/include/ecore-input-evas-1 -I/usr/include/ecore-input-1 -I/usr/include/eeze-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ecore-file-1 -I/usr/include/ecore-con-1 -I/usr/include/eldbus-1 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/evas-1 -I/usr/include/evas-1/canvas -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/ecore-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/luajit-2.1 -I/usr/include/eet-1 -I/usr/include/emile-1 -I/usr/include/eo-1 -I/usr/include/efl-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O0 -g -include config.h -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -pthread -MMD -MQ 'src/bin/entrance_client@exe/entrance_conf_user.c.o' -MF 'src/bin/entrance_client@exe/entrance_conf_user.c.o.d' -o 'src/bin/entrance_client@exe/entrance_conf_user.c.o' -c ../entrance/src/bin/entrance_conf_user.c
In file included from ../entrance/src/bin/entrance_conf_user.c:1:0:
../entrance/src/bin/entrance_client.h:5:10: fatal error: config.h: No such file or directory
#include <config.h>
^~~~~~~~~~
compilation terminated.
[2/26] Compiling C object 'src/bin/entrance_client@exe/entrance_conf_main.c.o'.
FAILED: src/bin/entrance_client@exe/entrance_conf_main.c.o
ccache cc -Isrc/bin/entrance_client@exe -Isrc/bin -I../entrance/src/bin -I/usr/include/elementary-1 -I/usr/include/libdrm -I/usr/include/ecore-wl2-1 -I/usr/include/ecore-fb-1 -I/usr/include/ecore-x-1 -I/usr/include/elocation-1 -I/usr/include/emotion-1 -I/usr/include/ethumb-client-1 -I/usr/include/ethumb-1 -I/usr/include/edje-1 -I/usr/include/ecore-audio-1 -I/usr/include/eio-1 -I/usr/include/efreet-1 -I/usr/include/ecore-ipc-1 -I/usr/include/embryo-1 -I/usr/include/ecore-imf-evas-1 -I/usr/include/ecore-imf-1 -I/usr/include/ecore-evas-1 -I/usr/include/ecore-drm2-1 -I/usr/include/elput-1 -I/usr/include/ecore-input-evas-1 -I/usr/include/ecore-input-1 -I/usr/include/eeze-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ecore-file-1 -I/usr/include/ecore-con-1 -I/usr/include/eldbus-1 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/evas-1 -I/usr/include/evas-1/canvas -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/ecore-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/luajit-2.1 -I/usr/include/eet-1 -I/usr/include/emile-1 -I/usr/include/eo-1 -I/usr/include/efl-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O0 -g -include config.h -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -pthread -MMD -MQ 'src/bin/entrance_client@exe/entrance_conf_main.c.o' -MF 'src/bin/entrance_client@exe/entrance_conf_main.c.o.d' -o 'src/bin/entrance_client@exe/entrance_conf_main.c.o' -c ../entrance/src/bin/entrance_conf_main.c
In file included from ../entrance/src/bin/entrance_conf_main.c:1:0:
../entrance/src/bin/entrance_client.h:5:10: fatal error: config.h: No such file or directory
#include <config.h>
^~~~~~~~~~
compilation terminated.
[3/26] Compiling C object 'src/bin/entrance_client@exe/entrance_fill.c.o'.
FAILED: src/bin/entrance_client@exe/entrance_fill.c.o
ccache cc -Isrc/bin/entrance_client@exe -Isrc/bin -I../entrance/src/bin -I/usr/include/elementary-1 -I/usr/include/libdrm -I/usr/include/ecore-wl2-1 -I/usr/include/ecore-fb-1 -I/usr/include/ecore-x-1 -I/usr/include/elocation-1 -I/usr/include/emotion-1 -I/usr/include/ethumb-client-1 -I/usr/include/ethumb-1 -I/usr/include/edje-1 -I/usr/include/ecore-audio-1 -I/usr/include/eio-1 -I/usr/include/efreet-1 -I/usr/include/ecore-ipc-1 -I/usr/include/embryo-1 -I/usr/include/ecore-imf-evas-1 -I/usr/include/ecore-imf-1 -I/usr/include/ecore-evas-1 -I/usr/include/ecore-drm2-1 -I/usr/include/elput-1 -I/usr/include/ecore-input-evas-1 -I/usr/include/ecore-input-1 -I/usr/include/eeze-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ecore-file-1 -I/usr/include/ecore-con-1 -I/usr/include/eldbus-1 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/evas-1 -I/usr/include/evas-1/canvas -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/ecore-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/luajit-2.1 -I/usr/include/eet-1 -I/usr/include/emile-1 -I/usr/include/eo-1 -I/usr/include/efl-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O0 -g -include config.h -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -pthread -MMD -MQ 'src/bin/entrance_client@exe/entrance_fill.c.o' -MF 'src/bin/entrance_client@exe/entrance_fill.c.o.d' -o 'src/bin/entrance_client@exe/entrance_fill.c.o' -c ../entrance/src/bin/entrance_fill.c
In file included from ../entrance/src/bin/entrance_fill.c:1:0:
../entrance/src/bin/entrance_client.h:5:10: fatal error: config.h: No such file or directory
#include <config.h>
^~~~~~~~~~
compilation terminated.
[4/26] Compiling C object 'src/bin/entrance_client@exe/entrance_conf.c.o'.
FAILED: src/bin/entrance_client@exe/entrance_conf.c.o
ccache cc -Isrc/bin/entrance_client@exe -Isrc/bin -I../entrance/src/bin -I/usr/include/elementary-1 -I/usr/include/libdrm -I/usr/include/ecore-wl2-1 -I/usr/include/ecore-fb-1 -I/usr/include/ecore-x-1 -I/usr/include/elocation-1 -I/usr/include/emotion-1 -I/usr/include/ethumb-client-1 -I/usr/include/ethumb-1 -I/usr/include/edje-1 -I/usr/include/ecore-audio-1 -I/usr/include/eio-1 -I/usr/include/efreet-1 -I/usr/include/ecore-ipc-1 -I/usr/include/embryo-1 -I/usr/include/ecore-imf-evas-1 -I/usr/include/ecore-imf-1 -I/usr/include/ecore-evas-1 -I/usr/include/ecore-drm2-1 -I/usr/include/elput-1 -I/usr/include/ecore-input-evas-1 -I/usr/include/ecore-input-1 -I/usr/include/eeze-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ecore-file-1 -I/usr/include/ecore-con-1 -I/usr/include/eldbus-1 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/evas-1 -I/usr/include/evas-1/canvas -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/ecore-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/luajit-2.1 -I/usr/include/eet-1 -I/usr/include/emile-1 -I/usr/include/eo-1 -I/usr/include/efl-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O0 -g -include config.h -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -pthread -MMD -MQ 'src/bin/entrance_client@exe/entrance_conf.c.o' -MF 'src/bin/entrance_client@exe/entrance_conf.c.o.d' -o 'src/bin/entrance_client@exe/entrance_conf.c.o' -c ../entrance/src/bin/entrance_conf.c
In file included from ../entrance/src/bin/entrance_conf.c:1:0:
../entrance/src/bin/entrance_client.h:5:10: fatal error: config.h: No such file or directory
#include <config.h>
^~~~~~~~~~
compilation terminated.
[5/26] Compiling C object 'src/bin/entrance_client@exe/entrance_login.c.o'.
FAILED: src/bin/entrance_client@exe/entrance_login.c.o
ccache cc -Isrc/bin/entrance_client@exe -Isrc/bin -I../entrance/src/bin -I/usr/include/elementary-1 -I/usr/include/libdrm -I/usr/include/ecore-wl2-1 -I/usr/include/ecore-fb-1 -I/usr/include/ecore-x-1 -I/usr/include/elocation-1 -I/usr/include/emotion-1 -I/usr/include/ethumb-client-1 -I/usr/include/ethumb-1 -I/usr/include/edje-1 -I/usr/include/ecore-audio-1 -I/usr/include/eio-1 -I/usr/include/efreet-1 -I/usr/include/ecore-ipc-1 -I/usr/include/embryo-1 -I/usr/include/ecore-imf-evas-1 -I/usr/include/ecore-imf-1 -I/usr/include/ecore-evas-1 -I/usr/include/ecore-drm2-1 -I/usr/include/elput-1 -I/usr/include/ecore-input-evas-1 -I/usr/include/ecore-input-1 -I/usr/include/eeze-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ecore-file-1 -I/usr/include/ecore-con-1 -I/usr/include/eldbus-1 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/evas-1 -I/usr/include/evas-1/canvas -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/ecore-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/luajit-2.1 -I/usr/include/eet-1 -I/usr/include/emile-1 -I/usr/include/eo-1 -I/usr/include/efl-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O0 -g -include config.h -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -pthread -MMD -MQ 'src/bin/entrance_client@exe/entrance_login.c.o' -MF 'src/bin/entrance_client@exe/entrance_login.c.o.d' -o 'src/bin/entrance_client@exe/entrance_login.c.o' -c ../entrance/src/bin/entrance_login.c
In file included from ../entrance/src/bin/entrance_login.c:1:0:
../entrance/src/bin/entrance_client.h:5:10: fatal error: config.h: No such file or directory
#include <config.h>
^~~~~~~~~~
compilation terminated.
[6/26] Compiling C object 'src/bin/entrance_client@exe/entrance_gui.c.o'.
FAILED: src/bin/entrance_client@exe/entrance_gui.c.o
ccache cc -Isrc/bin/entrance_client@exe -Isrc/bin -I../entrance/src/bin -I/usr/include/elementary-1 -I/usr/include/libdrm -I/usr/include/ecore-wl2-1 -I/usr/include/ecore-fb-1 -I/usr/include/ecore-x-1 -I/usr/include/elocation-1 -I/usr/include/emotion-1 -I/usr/include/ethumb-client-1 -I/usr/include/ethumb-1 -I/usr/include/edje-1 -I/usr/include/ecore-audio-1 -I/usr/include/eio-1 -I/usr/include/efreet-1 -I/usr/include/ecore-ipc-1 -I/usr/include/embryo-1 -I/usr/include/ecore-imf-evas-1 -I/usr/include/ecore-imf-1 -I/usr/include/ecore-evas-1 -I/usr/include/ecore-drm2-1 -I/usr/include/elput-1 -I/usr/include/ecore-input-evas-1 -I/usr/include/ecore-input-1 -I/usr/include/eeze-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ecore-file-1 -I/usr/include/ecore-con-1 -I/usr/include/eldbus-1 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/evas-1 -I/usr/include/evas-1/canvas -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/ecore-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/luajit-2.1 -I/usr/include/eet-1 -I/usr/include/emile-1 -I/usr/include/eo-1 -I/usr/include/efl-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O0 -g -include config.h -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -pthread -MMD -MQ 'src/bin/entrance_client@exe/entrance_gui.c.o' -MF 'src/bin/entrance_client@exe/entrance_gui.c.o.d' -o 'src/bin/entrance_client@exe/entrance_gui.c.o' -c ../entrance/src/bin/entrance_gui.c
In file included from ../entrance/src/bin/entrance_gui.c:1:0:
../entrance/src/bin/entrance_client.h:5:10: fatal error: config.h: No such file or directory
#include <config.h>
^~~~~~~~~~
compilation terminated.
[7/26] Compiling C object 'src/bin/entrance_client@exe/entrance_client.c.o'.
FAILED: src/bin/entrance_client@exe/entrance_client.c.o
ccache cc -Isrc/bin/entrance_client@exe -Isrc/bin -I../entrance/src/bin -I/usr/include/elementary-1 -I/usr/include/libdrm -I/usr/include/ecore-wl2-1 -I/usr/include/ecore-fb-1 -I/usr/include/ecore-x-1 -I/usr/include/elocation-1 -I/usr/include/emotion-1 -I/usr/include/ethumb-client-1 -I/usr/include/ethumb-1 -I/usr/include/edje-1 -I/usr/include/ecore-audio-1 -I/usr/include/eio-1 -I/usr/include/efreet-1 -I/usr/include/ecore-ipc-1 -I/usr/include/embryo-1 -I/usr/include/ecore-imf-evas-1 -I/usr/include/ecore-imf-1 -I/usr/include/ecore-evas-1 -I/usr/include/ecore-drm2-1 -I/usr/include/elput-1 -I/usr/include/ecore-input-evas-1 -I/usr/include/ecore-input-1 -I/usr/include/eeze-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ecore-file-1 -I/usr/include/ecore-con-1 -I/usr/include/eldbus-1 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/evas-1 -I/usr/include/evas-1/canvas -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/ecore-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/luajit-2.1 -I/usr/include/eet-1 -I/usr/include/emile-1 -I/usr/include/eo-1 -I/usr/include/efl-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O0 -g -include config.h -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -pthread -MMD -MQ 'src/bin/entrance_client@exe/entrance_client.c.o' -MF 'src/bin/entrance_client@exe/entrance_client.c.o.d' -o 'src/bin/entrance_client@exe/entrance_client.c.o' -c ../entrance/src/bin/entrance_client.c
In file included from ../entrance/src/bin/entrance_client.c:1:0:
../entrance/src/bin/entrance_client.h:5:10: fatal error: config.h: No such file or directory
#include <config.h>
^~~~~~~~~~
compilation terminated.
[8/26] Compiling C object 'src/bin/entrance_client@exe/entrance_conf_theme.c.o'.
FAILED: src/bin/entrance_client@exe/entrance_conf_theme.c.o
ccache cc -Isrc/bin/entrance_client@exe -Isrc/bin -I../entrance/src/bin -I/usr/include/elementary-1 -I/usr/include/libdrm -I/usr/include/ecore-wl2-1 -I/usr/include/ecore-fb-1 -I/usr/include/ecore-x-1 -I/usr/include/elocation-1 -I/usr/include/emotion-1 -I/usr/include/ethumb-client-1 -I/usr/include/ethumb-1 -I/usr/include/edje-1 -I/usr/include/ecore-audio-1 -I/usr/include/eio-1 -I/usr/include/efreet-1 -I/usr/include/ecore-ipc-1 -I/usr/include/embryo-1 -I/usr/include/ecore-imf-evas-1 -I/usr/include/ecore-imf-1 -I/usr/include/ecore-evas-1 -I/usr/include/ecore-drm2-1 -I/usr/include/elput-1 -I/usr/include/ecore-input-evas-1 -I/usr/include/ecore-input-1 -I/usr/include/eeze-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ecore-file-1 -I/usr/include/ecore-con-1 -I/usr/include/eldbus-1 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/evas-1 -I/usr/include/evas-1/canvas -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/ecore-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/luajit-2.1 -I/usr/include/eet-1 -I/usr/include/emile-1 -I/usr/include/eo-1 -I/usr/include/efl-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O0 -g -include config.h -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -pthread -MMD -MQ 'src/bin/entrance_client@exe/entrance_conf_theme.c.o' -MF 'src/bin/entrance_client@exe/entrance_conf_theme.c.o.d' -o 'src/bin/entrance_client@exe/entrance_conf_theme.c.o' -c ../entrance/src/bin/entrance_conf_theme.c
In file included from ../entrance/src/bin/entrance_conf_theme.c:1:0:
../entrance/src/bin/entrance_client.h:5:10: fatal error: config.h: No such file or directory
#include <config.h>
^~~~~~~~~~
compilation terminated.
[10/26] Compiling C object 'src/bin/entrance_client@exe/entrance_connect.c.o'.
FAILED: src/bin/entrance_client@exe/entrance_connect.c.o
ccache cc -Isrc/bin/entrance_client@exe -Isrc/bin -I../entrance/src/bin -I/usr/include/elementary-1 -I/usr/include/libdrm -I/usr/include/ecore-wl2-1 -I/usr/include/ecore-fb-1 -I/usr/include/ecore-x-1 -I/usr/include/elocation-1 -I/usr/include/emotion-1 -I/usr/include/ethumb-client-1 -I/usr/include/ethumb-1 -I/usr/include/edje-1 -I/usr/include/ecore-audio-1 -I/usr/include/eio-1 -I/usr/include/efreet-1 -I/usr/include/ecore-ipc-1 -I/usr/include/embryo-1 -I/usr/include/ecore-imf-evas-1 -I/usr/include/ecore-imf-1 -I/usr/include/ecore-evas-1 -I/usr/include/ecore-drm2-1 -I/usr/include/elput-1 -I/usr/include/ecore-input-evas-1 -I/usr/include/ecore-input-1 -I/usr/include/eeze-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ecore-file-1 -I/usr/include/ecore-con-1 -I/usr/include/eldbus-1 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/evas-1 -I/usr/include/evas-1/canvas -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/ecore-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/luajit-2.1 -I/usr/include/eet-1 -I/usr/include/emile-1 -I/usr/include/eo-1 -I/usr/include/efl-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O0 -g -include config.h -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -pthread -MMD -MQ 'src/bin/entrance_client@exe/entrance_connect.c.o' -MF 'src/bin/entrance_client@exe/entrance_connect.c.o.d' -o 'src/bin/entrance_client@exe/entrance_connect.c.o' -c ../entrance/src/bin/entrance_connect.c
In file included from ../entrance/src/bin/entrance_connect.c:2:0:
../entrance/src/bin/entrance_client.h:5:10: fatal error: config.h: No such file or directory
#include <config.h>
^~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.

Password should be OPTIONAL

Description

The presumption of the password being required (i.e. You have a password) is incorrect. For security purposes, yes, it's probably a good, good idea. The problem is that this isn't the job of the DM, this is the job of the security layers below instead of yourself. If the security is turned off for development reasons, etc. you should honor those changes instead of putting an impediment in the way. Just check to see if a blank password passes muster or not and then report that they don't have the password right.

How entrance is started

runit file. (Yes. And there will be more than one embedded distro doing this...)
"exec entrance -n 2>&1" is the invocation.

System information

  • Custom Yocto build for Motorola Solutions, Inc.
  • No. No.
  • runit
  • 1.22.2

pulseaudio stops working after re-login.

Description

When logging out from a DE and logging in again, pulseaudio fails to restart.
On restarting "entrance" with "killall -HUP entrance" pulseaudio functions as it should.

This is on Elive 3.8.11 amd64 (Buster based) running either E16 or E23.

  • Lightdm does not have this issue -

subscribers: @Thanatermesis

Hide username field by default, add conf setting to control visibilty

The username field should be hidden by default, only allowing found users to be selected via avatar and password entered. Though not a fan of the avatars, they may stay or go. A setting should be added to control if the username field should be shown or not. Needed to log in non users like root. Presently root or anyone can log in via typing in a name. That should be changed. Maybe even an option to click to make a password visible and no configuration option. More like a show this password, show username field button. Either way username should not be visible by default. It may have been this way originally before my modifications.

Add support for starting Wayland sesssions

Need to modify code to allow for starting Wayland sessions. Need to integrate entrance with logind/elogind. Along with modifying EFL/E build systems to work with elogind, rather than all of systemd. Which should also work with consolkit2 which also provides seat information, though not presently set via ck-launch-session. Which entrance_ck_launch was removed f732506 in favor of ck-launch-session as it was basically the same code duplicated for no benefit. Though if needed for seat and other information, it may need to be restored for customization. Or submit PR to further ck-launch-session.

/bin/sh: 1: /usr/bin/edje_cc: not found

Description

When cross-compiling, edje_cc should be used from the cross-compiling host directory instead of the main system's bin directory.

Steps to reproduce

1.Set up a cross-compiling environment
2. Compile entrance

Failing to run entrance locally

Description

Unable to run entrance locally.

Steps to reproduce

  1. Run ./utils/local_build.sh

> 16:45 $ ./utils/local_build.sh
> The Meson build system
> Version: 0.46.1
> Source dir: /data/projects/entrance
> Build dir: /data/projects/entrance/build
> Build type: native build
> Project name: entrance
> Native C compiler: cc (gcc 6.4.0 "gcc (Gentoo 6.4.0-r1 p1.3) 6.4.0")
> Build machine cpu family: x86_64
> Build machine cpu: x86_64
> Library crypt found: YES
> Found pkg-config: /usr/bin/pkg-config (0.29.2)
> Native dependency elementary found: YES 1.21.99.59806
> Native dependency ecore-x found: YES 1.21.99.59806
> Native dependency edje found: YES 1.21.99.59806
> Native dependency xcb found: YES 1.13
> Library pam found: YES
> Has header "alloca.h": YES
> Configuring config.h using configuration
> Configuring entrance.conf using configuration
> Configuring entrance using configuration
> Program /data/projects/entrance/meson-chmod.sh found: YES (/data/projects/entrance/meson-chmod.sh)
> Build targets in project: 6
> Found ninja-1.8.2 at /usr/bin/ninja
> scan-build: Using '/usr/lib64/llvm/6/bin/clang-6.0' for static analysis
> ninja: Entering directory `build'
> [6/20] Compiling C object 'src/bin/src@bin@@entrance_client@exe/entrance_login.c.o'.
> ../src/bin/entrance_login.c: In function ‘_login_auth_cb’:
> ../src/bin/entrance_login.c:216:40: warning: unused parameter ‘user’ [-Wunused-parameter]
>  _login_auth_cb(void *data, const char *user, Eina_Bool granted)
>                                         ^~~~
> [20/20] Generating default.edj with a custom command.
> scan-build: Removing directory '/tmp/scan-build-2018-11-05-164529-6980-1' because it contains no reports.
> scan-build: No bugs found.

  1. Run ./utils/entrance_xephyr.sh

INF<7356>:entrance ../src/daemon/entrance_config.c:87 _users_get() entrance: Updating configuration

The only thing I see is a blank screen.
entrance_xephyr

  1. I though I should have started an entrance client, so I ran

DISPLAY=:1.0 ./build/test/entrance/entrance_client -d=:1.0 -p=43 -t=default

../src/bin/entrance_client.c:87 root gid not allowed, defaulting to nobody
../src/bin/entrance_client.c:94 root uid not allowed, defaulting to nobody
../src/bin/entrance_client.c:107 login init
../src/bin/entrance_client.c:109 gui init
../src/bin/entrance_gui.c:79 Gui init: default
../src/bin/entrance_client.c:111 connect init
../src/bin/entrance_connect.c:243 client connected to server
../src/bin/entrance_connect.c:39 disconnected

Basically, it seems like I got immediately disconnected.

How entrance is started

I am using the scripts in the utils folder

System information

  • OS: Gentoo Linux
  • Pam enabled
  • Consolekit disabled
  • Systemd
  • EFL Version: 999, from git

Probably, it is just my lack of knowledge about X and entrance. Nevertheless, a small wiki page to explain how this is supposed to be used, would help.

Shell login, needed?

I see in the logs that the graphical session is run from a shell login (zsh here), I wonder how much this is needed? do we need to keep a shell process for it? or it may be switched to a simply "run process" instead?

Cannot switch Desktops

Description

Description of issue

Steps to reproduce

  1. Type in username
  2. Type in password
  3. Switch DE from Enlightenment to Plasma

How entrance is started

systemd service

System information

Manjaro

Unable to stop/restart entrance/X session when logged in

Unable to stop/restart after log in. Gentoo xdm init script can start/stop/restart if not logged in. Once logged in restart/stop no longer works. End up having to kill entrance and X to stop which is not ideal.

# /etc/init.d/xdm stop
 * Stopping entrance ...
 * start-stop-daemon: no matching processes found                         [ ok ]

# cat /var/run/entrance.pid
485

# ps xa | grep entrance
485 ?        Ssl    0:00 /usr/sbin//entrance --nodaemon

The --nodaemon portion maybe the reason. Since the regular entrance process that can be started/stopped does not have that set.

Create settings UI, enable disabled settings button

The settings UI was removed due to having numerous issues as reported in #6. Likely need to recreate one sometime, someday... Ideally one that can run stand alone with or without entrance server process running. With or without the client running. Ability to configure from DM and within a desktop session.

Add support for virtual keyboard

Despite a configure option and option in conf file. There is no virtual keyboard support or any implementation for such. Beyond code to load the option from the conf file. Need to add some support for a virtual keyboard at some point.

Login with incorrect password crashes server, orphans client

Title says it all, entering the wrong password seems to cause the server to crash or something. Leaves the client and X running, but entrance process is no more. Or something to that effect. Does not respond to restart, missing pid for xdm on Gentoo. UI seems find, but user avatar is stuck in selected state, and hitting enter does nothing as the server is no more. Likely should return an error and say the server is MIA or something other than noting.

Mobile UI

I'm adding Entrance to an operating system I'm building and I'm wanting it to run on both desktop and mobile phones (PinePhone, Librem 5, etc.). There's no mobile interface and I think if one could be implemented then that'll help a lot, so things like pin entry or like a more minimal UI that fits the resolution that phones have.

Autologin is broken, only works under Xephyr

Not sure this was ever completed or functional. It does work as is under Xephyr, but not under X or normal operation. Seems to have several issues going on per following log output.

  • Username is null
    entrance_session.c:403 entrance_session_login() launching session /usr/bin/enlightenment_start for user (null)
  • Not sure it actually logs in when not under Xephyr
  • Never starts the server process
  • It shuts down after login
    ideal if never switching users, but otherwise cannot log out, as entrance is not running to restart entrance_client. May need some setting there. Also not sure about handling the service if shutting down after auto launching session.
  • Does not initialize or shutdown actions; shutdown, reboot, and suspend, needed by entrance_client only
INF<3880>:entrance ../entrance-9999/src/daemon/entrance.c:503 main() Welcome
INF<3880>:entrance ../entrance-9999/src/daemon/entrance.c:515 main() session init
INF<3880>:entrance ../entrance-9999/src/daemon/entrance_session.c:51 _entrance_session_cookie_add() write auth on display :0 with file /var/run/entrance.auth
INF<3880>:entrance ../entrance-9999/src/daemon/entrance_session.c:526 _entrance_session_desktops_scan_file() Adding XSession as wm
INF<3880>:entrance ../entrance-9999/src/daemon/entrance_session.c:526 _entrance_session_desktops_scan_file() Adding Enlightenment as wm
INF<3880>:entrance ../entrance-9999/src/daemon/entrance_session.c:526 _entrance_session_desktops_scan_file() Adding Emotion Media Center as wm
INF<3880>:entrance ../entrance-9999/src/daemon/entrance_session.c:526 _entrance_session_desktops_scan_file() Adding Enlightenment (Wayland) as wm
INF<3880>:entrance ../entrance-9999/src/daemon/entrance.c:524 main() xserver init
INF<3880>:entrance ../entrance-9999/src/daemon/entrance_xserver.c:33 _xserver_start() Launching xserver
INF<3880>:entrance ../entrance-9999/src/daemon/entrance_xserver.c:127 entrance_xserver_init() xserver adding signal user handler
INF<3880>:entrance ../entrance-9999/src/daemon/entrance.c:533 main() history init
INF<3889>:entrance ../entrance-9999/src/daemon/entrance_xserver.c:90 _xserver_start() Executing: /usr/bin/X -nolisten tcp -br vt7 :0
INF<3880>:entrance ../entrance-9999/src/daemon/entrance_history.c:236 _entrance_user_init() scan for users
INF<3880>:entrance ../entrance-9999/src/daemon/entrance.c:73 _entrance_autologin_lock_get() Could not read uptime input stream
INF<3880>:entrance ../entrance-9999/src/daemon/entrance.c:537 main() autologin init
INF<3880>:entrance ../entrance-9999/src/daemon/entrance.c:540 main() main loop begin
INF<3880>:entrance ../entrance-9999/src/daemon/entrance_xserver.c:109 _xserver_started() xserver started
INF<3880>:entrance ../entrance-9999/src/daemon/entrance.c:167 _entrance_start() starting...
INF<3880>:entrance ../entrance-9999/src/daemon/entrance.c:542 main() auth user
INF<3880>:entrance ../entrance-9999/src/daemon/entrance.c:546 main() login user
INF<3880>:entrance ../entrance-9999/src/daemon/entrance_session.c:94 _entrance_session_begin() Session Init
INF<3880>:entrance ../entrance-9999/src/daemon/entrance_session.c:403 entrance_session_login() launching session /usr/bin/enlightenment_start for user (null)
INF<3880>:entrance ../entrance-9999/src/daemon/entrance_session.c:242 entrance_session_pid_set() entrance: session pid 3912
INF<3912>:entrance ../entrance-9999/src/daemon/entrance_session.c:132 _entrance_session_run() Session Run
INF<3912>:entrance ../entrance-9999/src/daemon/entrance_session.c:51 _entrance_session_cookie_add() write auth on display :0 with file /home/wlt/.Xauthority
INF<3912>:entrance ../entrance-9999/src/daemon/entrance_session.c:199 _entrance_session_run() Executing: /bin/bash --login -c ck-launch-session /etc/entrance/Xsession  /usr/bin/enlightenment_start > /home/wlt/.entrance_session.log 2>&1
INF<3880>:entrance ../entrance-9999/src/daemon/entrance.c:568 main() history shutdown
INF<3880>:entrance ../entrance-9999/src/daemon/entrance.c:574 main() xserver shutdown
INF<3880>:entrance ../entrance-9999/src/daemon/entrance.c:578 main() pam shutdown
INF<3880>:entrance ../entrance-9999/src/daemon/entrance.c:581 main() ecore shutdown
INF<3880>:entrance ../entrance-9999/src/daemon/entrance.c:583 main() session shutdown
INF<3880>:entrance ../entrance-9999/src/daemon/entrance.c:586 main() config shutdown
INF<3880>:entrance ../entrance-9999/src/daemon/entrance_config.c:123 _config_free() Config free
INF<3880>:entrance ../entrance-9999/src/daemon/entrance.c:588 main() eet shutdown
INF<3880>:entrance ../entrance-9999/src/daemon/entrance.c:595 main() ending xserver
INF<3880>:entrance ../entrance-9999/src/daemon/entrance_xserver.c:158 entrance_xserver_end() xserver end
INF<3880>:entrance ../entrance-9999/src/daemon/entrance_xserver.c:140 entrance_xserver_wait() xserver end
INF<3880>:entrance ../entrance-9999/src/daemon/entrance.c:602 main() close log and exit

Remember session issues

When a user logins succesfully in a desktop, seems like the selected choice is not correctly remember later, I assume it should be always remember in case that the process exits correctly?

The file /var/cache/entrance/entrance.hst seems like to be used for remember the user's sessions, after to decode the file with eet seems like it includes a history of all the actions, the question is, is this file meant to grow indefinitely ? (Or it should be limited to a number of entries?)

Missing privileges, for system actions, without consolekit

Seems like when autologin is set, the user logins with less privileges, so all the system actions are grayed out (reboot/shutdown/suspend/hibernate)

autologin should use the same login system as a normal user (since its the mode that works correctly) also to maintain compatibility between modes and not turning in future bugs or hard to catch ones

susbscribers: @triantares

Improve error handling when client fails to connect to server

Normally the client should not fail to connect to the server. In the event it does, both proceed, and there is little to no error handling there. Nothing to alert the user, nor anything in logs. Likely need to exit both client and server when they fail to establish a connection to each other. Also some visual stuff in edje for when the UI does not get populated and is blacked out and has not sessions, action menu, and user avatars.

Daemon mode not works

Entrance can be run with --nodaemon, but if you don't include this option it doesn't seems to work well (theme issues, no WM-sessions found, etc)

Issues with EFL 1.21_beta1 Users, Sessions, and Actions not populated or active

Description

Changes in EFL 1.21_beta1 are causing problems for theme specified containers. Unknown object type for Elm_Gengrid and Elm_Hoversel and likely others not used by current default theme. Which cause needed elements to not be filled, users, sessions, and actions.

Generates the following log messages

INF<16202>:entrance_client ../src/daemon/entrance.c:108 _entrance_client_data() ../src/bin/entrance_connect.c:104 Users received
../src/bin/entrance_gui.c:420 Add users list, using item style: default
../src/bin/entrance_fill.c:222 Unknown object type to fill Elm_Gengrid

INF<16202>:entrance_client ../src/daemon/entrance.c:108 _entrance_client_data() ../src/bin/entrance_connect.c:109 Action received
../src/bin/entrance_gui.c:378 Actions set

INF<16202>:entrance_client ../src/daemon/entrance.c:108 _entrance_client_data() ../src/bin/entrance_fill.c:222 Unknown object type to fill Elm_Hoversel

INF<16202>:entrance_client ../src/daemon/entrance.c:108 _entrance_client_data() ../src/bin/entrance_connect.c:99 Xsession received
../src/bin/entrance_login.c:342 Session set

INF<16202>:entrance_client ../src/daemon/entrance.c:108 _entrance_client_data() ../src/bin/entrance_fill.c:222 Unknown object type to fill Elm_Hoversel

Steps to reproduce

  1. Run entrance under EFL 1.21_beta1

System information

  • EFL 1.21_beta1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.