Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Cannot switch Desktops #48

Open
smason1995 opened this issue May 11, 2020 · 10 comments
Open

Cannot switch Desktops #48

smason1995 opened this issue May 11, 2020 · 10 comments

Comments

@smason1995
Copy link

smason1995 commented May 11, 2020

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

@wltjr
Copy link
Member

wltjr commented May 22, 2020

Hi, sorry for the delay, thank you for the report. What happens when you attempt to log in? Does Entrance crash or anything? Have you tried other desktops or just Plasma? I am curious if it is specific to Plasma/Qt or all other desktops in general. Can you also check the entrance.log file, or add a copy to this issue for review? Thank you!

@smason1995
Copy link
Author

Thanks for tuning in. Entrance work for Enlightenment; on Plasma is loops back to Entrance and asks me to log in again, and it does indefinitely (I tried 5+ times). I don't have access to my logs at this particular moment, but I will do so soon.

@wltjr
Copy link
Member

wltjr commented May 22, 2020

Interesting, I hope the log file can give some clues as to what is going wrong. I believe, plasma is still capable of running under X. If it is trying to start a Wayland session, that might be part of why its looping back. I have not tested Entrance with other desktops just E, EFL applications like Emotion Media Center, and basic XSession. I need to look into using other desktops with entrance, time permitting.

@smason1995
Copy link
Author

Sorry it has taken me so long to get back to this. I'm trying to find the logs from my attempts to log into plasma via entrance. however, I am having trouble. I thought they would be in /tmp/ the logs I find there are blank, so I can't see anything. I've tried searching around the internet for more information, but have not been success in finding anything.

@wltjr
Copy link
Member

wltjr commented May 24, 2020

No worries, the default location for entrance logs would be /var/log/entrance.log, unless it was changed in /etc/entrance/entrance.conf. Typically, the /tmp dir is wiped on boot/reboot, so it would be odd if anything was logging there that was meant to persist a reboot. But I am not familiar with Manjaro and it could be logging things else where. I believe there are other places Plasma/Qt will log within your home directory. That would be an additional place to check if the entrance.log file does not provide any useful information. Hopefully, that helps you out some. Thank you for looking for the logs and following up!

@smason1995
Copy link
Author

Here's a snippet of the entrance.log file after trying to start plasma. I can give you the whole file if you would prefer, just need to know where to upload (having trouble remembering what most people use). Sorry I'm not very good at this. Its my first issue I have ever reported.

`INF<797>:entrance ../src/daemon/entrance_pam.c:33 _entrance_pam_conv() echo off
INF<797>:entrance ../src/daemon/entrance_server.c:96 _entrance_server_read_cb() server authenticate granted
INF<797>:entrance ../src/daemon/entrance_server.c:101 _entrance_server_read_cb() opening session now ...
INF<797>:entrance ../src/daemon/entrance_session.c:95 _entrance_session_begin() Session Init
INF<797>:entrance ../src/daemon/entrance_history.c:122 entrance_history_push() history push for user mouse session Plasma
INF<797>:entrance ../src/daemon/entrance_history.c:127 entrance_history_push() History updating
INF<797>:entrance ../src/daemon/entrance_session.c:393 entrance_session_login() launching session /usr/bin/startplasma-x11 for user mouse
INF<797>:entrance ../src/daemon/entrance_session.c:229 entrance_session_pid_set() entrance: session pid 5052
INF<5052>:entrance ../src/daemon/entrance_session.c:133 _entrance_session_run() Session Run
INF<797>:entrance_client ../src/daemon/entrance.c:109 _entrance_client_data() ../src/bin/entrance_connect.c:86 Auth granted :)
../src/bin/entrance_connect.c:224 auth handler remove
../src/bin/entrance_client.c:114 stop server monitor
../src/bin/entrance_client.c:116 connect shutdown
../src/bin/entrance_client.c:118 gui shutdown
../src/bin/entrance_gui.c:223 Gui shutdown

sh: /usr/bin/sessreg: No such file or directory
INF<5052>:entrance ../src/daemon/entrance_session.c:52 _entrance_session_cookie_add() write auth on display :0 with file /home/mouse/.Xauthority
INF<797>:entrance_client ../src/daemon/entrance.c:109 _entrance_client_data() ../src/bin/entrance_client.c:120 login shutdown
../src/bin/entrance_client.c:122 elm shutdown

INF<5052>:entrance ../src/daemon/entrance_session.c:200 _entrance_session_run() Executing: /bin/zsh --login -c /etc/entrance/Xsession /usr/bin/startplasma-x11 > /home/mouse/.entrance_session.log 2>&1
ERR<797>:entrance_client ../src/daemon/entrance.c:161 _entrance_client_error() ERR<5007>:eet ../src/lib/eet/eet_lib.c:632 eet_shutdown() File '/usr/share/elementary/themes/default.edj' is still open 1 times !
c:114 stop server monitor
../src/bin/entrance_client.c:116 connect shutdown
../src/bin/entrance_client.c:118 gui shutdown
../src/bin/entrance_gui.c:223 Gui shutdown

INF<797>:entrance_client ../src/daemon/entrance.c:109 _entrance_client_data() ../src/bin/entrance_client.c:124 ecore x shutdown

INF<797>:entrance ../src/daemon/entrance_server.c:66 _entrance_server_del() server client disconnected
INF<797>:entrance_client ../src/daemon/entrance.c:109 _entrance_client_data() ../src/bin/entrance_client.c:126 ecore shutdown

INF<797>:entrance_client ../src/daemon/entrance.c:109 _entrance_client_data() ../src/bin/entrance_client.c:128 eina shutdown

INF<797>:entrance_client ../src/daemon/entrance.c:109 _entrance_client_data() ../src/bin/entrance_client.c:130 exit

`

@wltjr
Copy link
Member

wltjr commented May 24, 2020

Your doing great for your first issue. You should be able to drag and drop the log file here on Github. But you managed to provide the most relevant portion of the log file, so the entire file is not really necessary at this time.

sh: /usr/bin/sessreg: No such file or directory

This might be the issue, but it should affect Enlightenment as well as Plasma. E maybe more forgiving of such than Plasma. See about installing sessreg and see if that makes any difference.

@smason1995
Copy link
Author

So looking at enlightenment, after trying to start plasma, it does the same thing. If I try plasma first, then it works flawlessly. I have installed sessreg from the pacman repos, and it still does the same thing. In case it is of any interest, I have the log after my most recent attempt (post installing sessreg).
entrance.log

@TheTechRobo
Copy link
Contributor

Maybe Enlightenment changes something, that is gone after reboot (?)

Can you log into Enlightenment twice in a row?

@wltjr
Copy link
Member

wltjr commented Dec 4, 2020

These issues maybe a result of the lack of consolekit, and also lack of support for logind/elogind. Starting Plasma first, might initialize the seat, and that may remain for E. But if you start E, that is not the case on log out, and has some issues for Plasma. Just a quick assumption, based on other issues, and my own experience when I stop using consolekit. Replacing consolekit with logind/elogind is on the TODO list, high priority, as I am affected by it as others. Consolekit was removed from Gentoo, so, I need to get in to it ASAP for my own login purposes. This affects several open issues.

Sorry for the delay, I have been really busy. I will try to get on this after the 15th. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants