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
xf86OpenConsole: Cannot open virtual console 2 (Permission denied) #248
Comments
For now as workaround i edited the /etc/ly/config.ini (with sudo) setting
and it worked. |
same issues |
The workaround is to |
That's really weird. I've been using ly for over a year now and never had this issue. A new Gentoo installation and now it won't set the permission. Even if I chown /dev/tty2 to the user it won't work. tty1 won't work either. |
Sorry if that sounds like spam, and I should indicate this is the first time I'm trying To describe my issue, I am able to login normally if using the shell option, but when I am using xinitrc option, I am getting the same issue as OP. |
If it helps, here is my .xinitrc (the only one line I need for running i3):
And, this is how I start it in OpenRC:
|
I'm having the same issue, so I was wondering, what is the appropriate work-around? If that is the expected behavior, I don't mind investing some time into getting this fix into a PR. |
Hiya! I've just spent a fair amount of time debugging this, so I thought I'd share my insights. The specific window manager I debugged with is sway; I assume that X has similar mechanisms. I have no formal knowledge on this topic, and I apologize if the following is therefore a bit more obtuse than it would otherwise have to be. The basic problem, as has been described above, is ownership of the respective tty. Since The system had a running instance of systemd-logind. Additionally, the pam_systemd.so module was included in the pam configuration used by ly. During login, when ly calls into pam, this module is thus loaded and executed. In turn, pam_systemd then executes a dbus call ( In order for Either way, setting
How to check if this is your problemSave the output of |
@theknyaa I've just observed your comment and I might try it this week. My question is regarding your patch:
That last part ( EDIT: Nvm, I saw the comment where you indicate that the patch you posted must be used for testing specifically. |
Has any progress been made on this? I'm encountering the same error after upgrading to the latest version. |
install and login was successful.
os:opensuse tumbleweed.
original dm:sddm.
de:kde
i could use root login and start DE,but normal users can't.
i have done
cp /etc/X11/xinit/xinitrc.common ~/.xinitrc
,and given .xinitrc 777,and the shebang head as your readme.md.but still cant open DE.
what can i do?
The text was updated successfully, but these errors were encountered: