Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing XDG session variables #14

Open
wltjr opened this issue Mar 7, 2018 · 3 comments
Open

Missing XDG session variables #14

wltjr opened this issue Mar 7, 2018 · 3 comments

Comments

@wltjr
Copy link
Member

wltjr commented Mar 7, 2018

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.

@wltjr wltjr self-assigned this Mar 7, 2018
@wltjr
Copy link
Member Author

wltjr commented Mar 31, 2018

Various DM env vars

Entrance

XDG_MENU_PREFIX=e-
XDG_VTNR=vt7
XDG_DATA_DIRS=/usr/share/enlightenment:/usr/local/share:/usr/share
XDG_SESSION_CLASS=greeter
XDG_SEAT=seat0
XDG_RUNTIME_DIR=/var/run/user/10001
XDG_CONFIG_DIRS=/usr/etc/xdg:/etc/xdg
XDG_SESSION_COOKIE=wlt-1507645918.536214-1107418720

Lightdm

XDG_MENU_PREFIX=e-
XDG_VTNR=7
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/wlt
XDG_SESSION_TYPE=x11
XDG_DATA_DIRS=/usr/share/enlightenment:/usr/local/share:/usr/share
XDG_SESSION_DESKTOP=enlightenment
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SEAT=seat0
XDG_RUNTIME_DIR=/var/run/user/10001
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_CONFIG_DIRS=/usr/etc/xdg:/etc/xdg
XDG_SESSION_COOKIE=ws-1506885488.515337-222952706

SDDM

XDG_MENU_PREFIX=e-
XDG_VTNR=7
XDG_SESSION_TYPE=x11
XDG_DATA_DIRS=/usr/share/enlightenment:/usr/local/share:/usr/share
XDG_SESSION_DESKTOP=
XDG_SESSION_CLASS=user
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_CURRENT_DESKTOP=
XDG_SEAT=seat0
XDG_RUNTIME_DIR=/var/run/user/10001
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_CONFIG_DIRS=/usr/etc/xdg:/etc/xdg
XDG_SESSION_COOKIE=ws-1498665211.218288-357351734

wltjr added a commit that referenced this issue Apr 24, 2018
…added

Corrected per issue #4, was hard coded to incorrect value of vt7 vs 7
#14
wltjr added a commit that referenced this issue Apr 24, 2018
…ng pam

It was hard coded to incorrect value of greeter for pam, and not set at
all when not using pam

Corrected per issue #4
#14
@wltjr wltjr added this to To do in Wayland Integration Jul 16, 2018
@Thanatermesis
Copy link

maybe related? #40

@wltjr
Copy link
Member Author

wltjr commented Feb 2, 2020

Hi, no it is not related. These are variables I know are not being set within Entrance code. Mostly the seat variables, as that comes from systemd's logind or the replacement elogind. I started work, some time ago, on obtaining seat information from logind/elogind via dbus, but that work is not complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants