-
Notifications
You must be signed in to change notification settings - Fork 36
/dev/tty-1: No such file or directory #93
Comments
On NixOS 20.03 this happens after suspending the system with sway running |
On Arch Linux I can reproduce this issue by performing the following steps.
Step 2 is a repeated invocation of physlock since I have the following systemd service enabled:
After logging back in,
At this point, I haven't noticed this issue unless I carry out the three steps above beforehand. |
Nice catch! This happens on my machine aswell. After killing all the processes, physlock actually works perfectly fine again and doesn't break on suspends anymore. Weird... |
I'm running into the same issue. In my case, this seems to be triggered by me pressing the And it seems that I have "worked around" this issue by configuring the keybind in sway with |
linux void musl sway
first time and second time work fine
then suddenly:
physlock: /dev/tty-1: No such file or directory
at first I thought it may be related to using exec sway
same problem without exec
problem persists with -d and without it
it's only buggy when physlock is executed by sway through a keybind (exec)
when executing directly from terminal it appears to work
the two times it does work it always outputs:
/dev/tty0: VT_DISALLOCATE: Resource busy
no idea what's /dev/tty-1 about because it never existed to begin with, there's a bunch of tty's in /dev/ without slashes.
when executed in terminal often it's somewhat buggy, the terminal keeps spamming newlines after it unlocks until i press some key.
The text was updated successfully, but these errors were encountered: