Comments (13)
Heya! I think it crashing might be causing lemurs to think it never properly started.
Do you have a log (/var/log/lemurs.log
) of that happening?
from lemurs.
I am also having this issue but its not only when it crashes its if I exit Hyprland at all I can't go back into it without rebooting. Also ik that Hyprland doesn't officially support display mangers so this could be a Hyprland bug but also I have heard that sddm works fine with Hyprland.
I have the lemurs.log file of this happening.
lemurs.log
from lemurs.
Having the same issue, not when hyprland crashes, but when I logout via hyprctl dispatch exit
which should close hyprland
gracefully with exit status 0
/var/log/lemurs.client.log
terminate called after throwing an instance of 'std::runtime_error'
what(): wlr_backend_autocreate() failed!
/var/log/lemurs.log
[2023-12-06T07:58:19Z INFO lemurs] Main lemurs logger is running
[2023-12-06T07:58:19Z INFO lemurs] Switching to tty 2
[2023-12-06T07:58:19Z INFO lemurs] UI booted up
[2023-12-06T07:58:19Z WARN lemurs::post_login] Failed to read from the X folder '/etc/lemurs/wms'
[2023-12-06T07:58:19Z INFO lemurs::info_caching] Attempting to get a cached information from '/var/cache/lemurs'
[2023-12-06T07:58:19Z INFO lemurs::info_caching] Read cache file and found environment 'Hyprland' and username 'mxaddict'
[2023-12-06T07:58:19Z INFO lemurs::ui] Loading username 'mxaddict' from cache
[2023-12-06T07:58:19Z INFO lemurs::ui] Loading environment 'Hyprland' from cache
[2023-12-06T07:58:23Z INFO lemurs] Starting new session for 'mxaddict' in environment 'Wayland { script_path: "/etc/lemurs/wayland/Hyprland" }'
[2023-12-06T07:58:23Z INFO lemurs::post_login::env_variables] Setting XDG Session Parameters
[2023-12-06T07:58:23Z INFO lemurs::env_container] Set environment variable 'XDG_SESSION_CLASS' to 'user'
[2023-12-06T07:58:23Z INFO lemurs::env_container] Set environment variable 'XDG_SESSION_TYPE' to 'wayland'
[2023-12-06T07:58:23Z INFO lemurs::post_login::env_variables] Clearing XDG preemptively to set later
[2023-12-06T07:58:23Z INFO lemurs::env_container] Preemptively removed environment variable 'XDG_SESSION_CLASS'
[2023-12-06T07:58:23Z INFO lemurs::auth] Login attempt for 'mxaddict'
[2023-12-06T07:58:23Z INFO lemurs::auth::pam] Started opening session
[2023-12-06T07:58:23Z INFO lemurs::auth::pam] Gotten Authenticator
[2023-12-06T07:58:23Z INFO lemurs::auth::pam] Got handler
[2023-12-06T07:58:23Z INFO lemurs::auth::pam] Validated account
[2023-12-06T07:58:23Z INFO lemurs::auth::pam] Opened session
[2023-12-06T07:58:23Z INFO lemurs::ui] Setting cached information
[2023-12-06T07:58:23Z INFO lemurs::info_caching] Attempting to set cache
[2023-12-06T07:58:23Z INFO lemurs::info_caching] Successfully set username in cache file
[2023-12-06T07:58:23Z INFO lemurs::post_login::env_variables] Setting XDG Seat Variables
[2023-12-06T07:58:23Z INFO lemurs::env_container] Skipped setting environment variable 'XDG_SEAT'. It was already set to 'seat0'
[2023-12-06T07:58:23Z INFO lemurs::env_container] Skipped setting environment variable 'XDG_VTNR'. It was already set to '2'
[2023-12-06T07:58:23Z INFO lemurs::post_login::env_variables] Setting XDG Session Variables
[2023-12-06T07:58:23Z INFO lemurs::env_container] Skipped setting environment variable 'XDG_RUNTIME_DIR'. It was already set to '/run/user/1000'
[2023-12-06T07:58:23Z INFO lemurs::env_container] Skipped setting environment variable 'XDG_SESSION_ID'. It was already set to 'c2'
[2023-12-06T07:58:23Z INFO lemurs::post_login::env_variables] Setting Basic Environment Variables
[2023-12-06T07:58:23Z INFO lemurs::env_container] Successfully changed working directory to /home/mxaddict!
[2023-12-06T07:58:23Z INFO lemurs::env_container] Set environment variable 'HOME' to '/home/mxaddict'
[2023-12-06T07:58:23Z INFO lemurs::env_container] Set environment variable 'SHELL' to '/usr/bin/fish'
[2023-12-06T07:58:23Z INFO lemurs::env_container] Set environment variable 'USER' to 'mxaddict'
[2023-12-06T07:58:23Z INFO lemurs::env_container] Set environment variable 'LOGNAME' to 'mxaddict'
[2023-12-06T07:58:23Z INFO lemurs::env_container] Set environment variable 'PATH' to '/usr/local/sbin:/usr/local/bin:/usr/bin'
[2023-12-06T07:58:23Z INFO lemurs::post_login::env_variables] Setting XDG Common Paths
[2023-12-06T07:58:23Z INFO lemurs::env_container] Set environment variable 'XDG_CONFIG_HOME' to '/home/mxaddict/.config'
[2023-12-06T07:58:23Z INFO lemurs::env_container] Set environment variable 'XDG_CACHE_HOME' to '/home/mxaddict/.cache'
[2023-12-06T07:58:23Z INFO lemurs::env_container] Set environment variable 'XDG_DATA_HOME' to '/home/mxaddict/.local/share'
[2023-12-06T07:58:23Z INFO lemurs::env_container] Set environment variable 'XDG_STATE_HOME' to '/home/mxaddict/.local/state'
[2023-12-06T07:58:23Z INFO lemurs::env_container] Set environment variable 'XDG_DATA_DIRS' to '/usr/local/share:/usr/share'
[2023-12-06T07:58:23Z INFO lemurs::env_container] Set environment variable 'XDG_CONFIG_DIRS' to '/etc/xdg'
[2023-12-06T07:58:23Z INFO lemurs::post_login] Starting Wayland session
[2023-12-06T07:58:23Z INFO lemurs::auth::utmpx] Adding UTMPX record
[2023-12-06T07:58:23Z INFO lemurs::auth::utmpx] Added UTMPX record
[2023-12-06T07:58:23Z INFO lemurs::env_container] Removing session environment variables
[2023-12-06T07:58:23Z INFO lemurs::env_container] Reverting to environment before session
[2023-12-06T07:58:23Z INFO lemurs::env_container] Reverting to environment before session
[2023-12-06T07:58:23Z INFO lemurs] Waiting for environment to terminate
[2023-12-06T07:58:23Z INFO lemurs::post_login] Waiting for client to exit
[2023-12-06T07:58:33Z INFO lemurs::post_login::wait_with_log] Joining with logging thread.
[2023-12-06T07:58:33Z INFO lemurs::post_login] Client exited with exit code `signal: 11 (SIGSEGV) (core dumped)`
[2023-12-06T07:58:33Z INFO lemurs] Environment terminated. Returning to Lemurs...
[2023-12-06T07:58:33Z INFO lemurs::auth::utmpx] Removing UTMPX record
[2023-12-06T07:58:35Z INFO lemurs] Starting new session for 'mxaddict' in environment 'Wayland { script_path: "/etc/lemurs/wayland/Hyprland" }'
[2023-12-06T07:58:35Z INFO lemurs::post_login::env_variables] Setting XDG Session Parameters
[2023-12-06T07:58:35Z INFO lemurs::env_container] Set environment variable 'XDG_SESSION_CLASS' to 'user'
[2023-12-06T07:58:35Z INFO lemurs::env_container] Set environment variable 'XDG_SESSION_TYPE' to 'wayland'
[2023-12-06T07:58:35Z INFO lemurs::post_login::env_variables] Clearing XDG preemptively to set later
[2023-12-06T07:58:35Z INFO lemurs::env_container] Preemptively removed environment variable 'XDG_SESSION_CLASS'
[2023-12-06T07:58:35Z INFO lemurs::auth] Login attempt for 'mxaddict'
[2023-12-06T07:58:35Z INFO lemurs::auth::pam] Started opening session
[2023-12-06T07:58:35Z INFO lemurs::auth::pam] Gotten Authenticator
[2023-12-06T07:58:35Z INFO lemurs::auth::pam] Got handler
[2023-12-06T07:58:35Z INFO lemurs::auth::pam] Validated account
[2023-12-06T07:58:35Z INFO lemurs::auth::pam] Opened session
[2023-12-06T07:58:35Z INFO lemurs::ui] Setting cached information
[2023-12-06T07:58:35Z INFO lemurs::info_caching] Attempting to set cache
[2023-12-06T07:58:35Z INFO lemurs::info_caching] Successfully set username in cache file
[2023-12-06T07:58:35Z INFO lemurs::post_login::env_variables] Setting XDG Seat Variables
[2023-12-06T07:58:35Z INFO lemurs::env_container] Set environment variable 'XDG_SEAT' to 'seat0'
[2023-12-06T07:58:35Z INFO lemurs::env_container] Set environment variable 'XDG_VTNR' to '2'
[2023-12-06T07:58:35Z INFO lemurs::post_login::env_variables] Setting XDG Session Variables
[2023-12-06T07:58:35Z INFO lemurs::env_container] Set environment variable 'XDG_RUNTIME_DIR' to '/run/user/1000'
[2023-12-06T07:58:35Z INFO lemurs::env_container] Set environment variable 'XDG_SESSION_ID' to '1'
[2023-12-06T07:58:35Z INFO lemurs::post_login::env_variables] Setting Basic Environment Variables
[2023-12-06T07:58:35Z INFO lemurs::env_container] Successfully changed working directory to /home/mxaddict!
[2023-12-06T07:58:35Z INFO lemurs::env_container] Set environment variable 'HOME' to '/home/mxaddict'
[2023-12-06T07:58:35Z INFO lemurs::env_container] Set environment variable 'SHELL' to '/usr/bin/fish'
[2023-12-06T07:58:35Z INFO lemurs::env_container] Set environment variable 'USER' to 'mxaddict'
[2023-12-06T07:58:35Z INFO lemurs::env_container] Set environment variable 'LOGNAME' to 'mxaddict'
[2023-12-06T07:58:35Z INFO lemurs::env_container] Set environment variable 'PATH' to '/usr/local/sbin:/usr/local/bin:/usr/bin'
[2023-12-06T07:58:35Z INFO lemurs::post_login::env_variables] Setting XDG Common Paths
[2023-12-06T07:58:35Z INFO lemurs::env_container] Set environment variable 'XDG_CONFIG_HOME' to '/home/mxaddict/.config'
[2023-12-06T07:58:35Z INFO lemurs::env_container] Set environment variable 'XDG_CACHE_HOME' to '/home/mxaddict/.cache'
[2023-12-06T07:58:35Z INFO lemurs::env_container] Set environment variable 'XDG_DATA_HOME' to '/home/mxaddict/.local/share'
[2023-12-06T07:58:35Z INFO lemurs::env_container] Set environment variable 'XDG_STATE_HOME' to '/home/mxaddict/.local/state'
[2023-12-06T07:58:35Z INFO lemurs::env_container] Set environment variable 'XDG_DATA_DIRS' to '/usr/local/share:/usr/share'
[2023-12-06T07:58:35Z INFO lemurs::env_container] Set environment variable 'XDG_CONFIG_DIRS' to '/etc/xdg'
[2023-12-06T07:58:35Z INFO lemurs::post_login] Starting Wayland session
[2023-12-06T07:58:35Z INFO lemurs::auth::utmpx] Adding UTMPX record
[2023-12-06T07:58:35Z INFO lemurs::auth::utmpx] Added UTMPX record
[2023-12-06T07:58:35Z INFO lemurs::env_container] Removing session environment variables
[2023-12-06T07:58:35Z INFO lemurs::env_container] Reverting to environment before session
[2023-12-06T07:58:35Z INFO lemurs::env_container] Reverting to environment before session
[2023-12-06T07:58:35Z INFO lemurs] Waiting for environment to terminate
[2023-12-06T07:58:35Z INFO lemurs::post_login] Waiting for client to exit
[2023-12-06T07:58:35Z INFO lemurs::post_login::wait_with_log] Joining with logging thread.
[2023-12-06T07:58:35Z INFO lemurs::post_login] Client exited with exit code `signal: 6 (SIGABRT) (core dumped)`
[2023-12-06T07:58:35Z INFO lemurs] Environment terminated. Returning to Lemurs...
[2023-12-06T07:58:35Z INFO lemurs::auth::utmpx] Removing UTMPX record
from lemurs.
As you can see from the /var/log/lemurs.log
first launch of Hyprland works fine, but once you've logged out or killed hyprland, second login attempt will cause hyprland to crash repeatedly.
from lemurs.
To be honest, this might very well be linked to #184. I think we should solve that and assess if this bug still exists.
from lemurs.
To be honest, this might very well be linked to #184. I think we should solve that and assess if this bug still exists.
Yes, the symptoms for both issues are similar.
from lemurs.
I think there is something going wrong with lemurs
and systemd-logind
. When I tried using seatd
, I was able to logout and login again.
~/.cache/hyprland/hyprlandCrashReport[PID].txt
[libseat] [libseat/backend/logind.c:642] Could not check if session was active: No such device or address
[libseat] [libseat/libseat.c:79] No backend was able to open a seat
[backend/session/session.c:84] Unable to create seat: Function not implemented
[backend/session/session.c:249] Failed to load session backend
[backend/backend.c:80] Failed to start a session
[backend/backend.c:358] Failed to start a DRM session
[CRITICAL] m_sWLRBackend was NULL!
[CRITICAL] Critical error thrown: wlr_backend_autocreate() failed!
from lemurs.
All interactions with systemd-logind
are currently handled via pam-logind
, this is not perfect sadly.
As is stated in documentation of systemd you ideally want to subscribe to the dbus interface of logind. This is something we don't do. I don't think this matters in the single seat case though.
from lemurs.
I think there is something going wrong with
lemurs
andsystemd-logind
. When I tried usingseatd
, I was able to logout and login again.
~/.cache/hyprland/hyprlandCrashReport[PID].txt
[libseat] [libseat/backend/logind.c:642] Could not check if session was active: No such device or address [libseat] [libseat/libseat.c:79] No backend was able to open a seat [backend/session/session.c:84] Unable to create seat: Function not implemented [backend/session/session.c:249] Failed to load session backend [backend/backend.c:80] Failed to start a session [backend/backend.c:358] Failed to start a DRM session [CRITICAL] m_sWLRBackend was NULL! [CRITICAL] Critical error thrown: wlr_backend_autocreate() failed!
I get a kind of similar error everytime i try to start Hyprland using lemurs.
My Error:
[LOG] Disabling stdout logs! Check the log for further logs.
[wlr] [libseat] [libseat/backend/logind.c:642] Could not check if session was active: No such device or address
[wlr] [libseat] [common/terminal.c:162] Could not open target tty: Permission denied
[wlr] [libseat] [seatd/seat.c:61] Could not open tty0 to update VT: Permission denied
[wlr] [libseat] [common/terminal.c:162] Could not open target tty: Permission denied
[wlr] [libseat] [seatd/seat.c:72] Could not open terminal for VT 0: Permission denied
[wlr] [libseat] [seatd/seat.c:461] Could not open VT for client
[wlr] [libseat] [common/terminal.c:162] Could not open target tty: Permission denied
[wlr] [libseat] [seatd/seat.c:86] Could not open terminal to clean up VT 0: Permission denied
[wlr] [backend/backend.c:107] Timeout waiting session to become active
[wlr] [backend/backend.c:366] Failed to start a DRM session
[CRITICAL] m_sWLRBackend was NULL!
[CRITICAL] Critical error thrown: wlr_backend_autocreate() failed!
[CRITICAL] Hyprland has crashed :( Consult the crash report at /home/samxamnam/.cache/hyprland/hyprlandCrashReport3746.txt for more information.
[wlr] [libseat] [common/terminal.c:162] Could not open target tty: Permission denied
[wlr] [libseat] [seatd/seat.c:86] Could not open terminal to clean up VT 0: Permission denied
Is there any way to get around this?
from lemurs.
Hey guys, also having this issue. what is funny is that if i test using Lemurs with Hyprland in a virtual machine, it works as intended. The only thing that I think could be different here is the graphics drivers?
from lemurs.
same here with v 0.3.2
from lemurs.
same here!
from lemurs.
+1
from lemurs.
Related Issues (20)
- build fails on openSUSE Tumbleweed HOT 2
- "Failed to open a PAM session" on openSUSE HOT 2
- Broken wm script, now I can't access my system HOT 2
- Can't Start Sway Twice HOT 3
- Switch sessions HOT 3
- Can't log to another user after logout HOT 5
- How to set up lemurs for OpenRC? HOT 3
- Keyboard is non responsive for like 1-2 seconds after initial boot HOT 3
- Which LICENSE does `lemurs` use `MIT` or `APACHE`? HOT 1
- xsetup when trying to execute my WM manager script (BSPWM), returns permission denied HOT 5
- Audio/Pipewire doesnt work when doing login via lemurs, but works when doing a manual startx to bspwm HOT 2
- TTY option disappears after configuring river in ``/wayland`` HOT 1
- just an question about the TTY HOT 9
- Selected Stuck As Cyan HOT 3
- Bare sessions HOT 3
- Default `system_shell` value in config.toml causes Lemurs to fail to log in on most distros HOT 1
- Stderr (and possibly stdout?) output after render overlays focused input field HOT 1
- Failed to logout after the wm closed HOT 1
- $XAUTHORITY pointing to non existing file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lemurs.