log out from slim, or slim restart results in blank screen for several minutes
1
vote
1
answer
85
views
I am using slim login manager.
when I log out from my session, or restart slim from the commandline:
service slim restart
I get blank console for couple of minutes, before the slim login screen appears again.
When I attach to the slim process with strace, I see many "Resource temporarily unavailable" and "Connection timed out" lines:
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0) = 4
connect(4, {sa_family=AF_UNIX, sun_path=@"/tmp/.X11-unix/X0"}, 20) = -1 ECONNREFUSED (Connection refused)
close(4) = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0) = 4
getsockopt(4, SOL_SOCKET, SO_SNDBUF, , ) = 0
connect(4, {sa_family=AF_UNIX, sun_path="/tmp/.X11-unix/X0"}, 110) = -1 ENOENT (No such file or directory)
close(4)
connect(4, {sa_family=AF_INET, sin_port=htons(6000), sin_addr=inet_addr("127.0.0.1")}, 16) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGUSR1 {si_signo=SIGUSR1, si_code=SI_USER, si_pid=5440, si_uid=0} ---
rt_sigaction(SIGUSR1, {sa_handler=0x55961af808a0, sa_mask=[USR1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f545cc5afd0}, {sa_handler=0x55961af808a0, sa_mask=[USR1], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f545cc5afd0}, 8) = 0
rt_sigreturn({mask=[]}) = 42
connect(4, {sa_family=AF_INET, sin_port=htons(6000), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 ETIMEDOUT (Connection timed out)
close(4)
full strace here
after few minutes slim login screen reappears again, and everything works fine.
When I restart computer, slim works fine the first time, probably because I have autologin in my /etc/slim.conf:
auto_login yes
What is going on? And how can I fix it?
Asked by Martin Vegter
(586 rep)
Sep 23, 2023, 02:14 PM
Last activity: Sep 29, 2023, 06:15 AM
Last activity: Sep 29, 2023, 06:15 AM