-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
CAP_SYS_TTY_CONFIG is needed for vt activation if running without systemd/logind #1022
Comments
Do you have a similar problem with orbment? |
you are quick =) |
ok I tested orbment, it was faster than I imagined. it opens vt7 for me and displays black desktop and a mouse (SUID, no capabilities set) but input devices don't work, but that's another issue I believe. |
I can confirm this on Arch Linux without systemd, and also that it works after running the following setcap command: Added this to the wiki. |
HI,
Installed 0.11 on my gentoo machine and got stuck for some time without ability to launch sway.
it seems after dropping privileges sway cannot swtich to vt7.
error I traced was
ioctl(3, VT_ACTIVATE, 0x7) = -1 EPERM (Operation not permitted)
I'm running without systemd, logind, or consolekit if that matters.
tried both SUID and NON-suid bits, no difference..
the following capabilities got me running again
/usr/bin/sway = cap_sys_ptrace,cap_sys_tty_config+ep
Is it specific to my setup or sway drops privileges too early?
It should be fixed or documented.
I can go back and provide strace output if you need that. let me know.
sway-0.11
wlc-0.0.7
wayland-1.12.0
The text was updated successfully, but these errors were encountered: