Questions tagged [chvt]
The chvt tag has no usage guidance.
8
questions
0
votes
0answers
15 views
Using python to probe ioctl console
I have a situation where my tty is stack in blank screen when trying to switch VT (Using X11 in Ubnutu 20.10)
I found out that I am frozen while I am probing with the VT_WAITACTIVE. Basically ...
3
votes
3answers
5k views
How to manually run/init/start a Xorg server on a different VT/TTY?
I want to start an Xorg server (which should only feature a minimal xterm terminal emulator from a newly created "pristine" tty). I have thought this to be as simple as issuing a xinit or ...
1
vote
1answer
291 views
Prevent Xorg from suspending when changing tty
I'm running two applications on two different ttys. Say application A runs on ttyA and application B runs on ttyB. If I switch from ttyA to ttyB I get the following message
x-daemon[544]: (II) AIGLX:...
0
votes
1answer
49 views
How to reset VT 1 (or avoid getting into a bad state)?
This is a cross-post from RPi. I wrote a series of bash functions to allow me to switch between Raspbian, kodi, and emulationstation so that I could use Siri/homebridge to initiate the switch. ...
1
vote
1answer
244 views
invoking password-less sudo via xbindkeys
I tried to set up key bindings for changing the virtual terminal (VT) in X, as described in this post. Typing sudo chvt $(($XDG_VTNR-1)) into a terminal emulator appropriately changes the VT. However, ...
2
votes
1answer
4k views
What is this openvt command doing?
What is this command really doing (step by step)?
openvt -c 40 /bin/agetty tty40 linux
I tried this command instead :
openvt -c 41 /bin/agetty tty40 linux
and agetty was started on tty40 (not ...
1
vote
1answer
584 views
How to copy text of virtual terminal from graphics mode?
Linux have virtual terminals, one can switch between them with chvt 1, chvt 7 commands. Former is in the text mode, later is in the graphics mode.
I want to copy all the text from first terminal, ...
1
vote
0answers
426 views
Why can't I switch virtual terminal now?
I have noticed I can't lock the screen because of vlock hangs.
chvt also hangs on VT_WAITACTIVE and only attempts to switch the terminal (I see the image blinking).
Pressing keys that in usually ...