Questions tagged [virtual-consoles]
The virtual-consoles tag has no usage guidance.
57
questions
0
votes
1
answer
88
views
Where can I get additional *console* (ie. virtual-terminal) fonts? Or convert other font formats?
Where can I get/download additional Console / Virtual-Terminal (on F1 through F6) fonts - especially larger ones? I'm here talking about the font that can be set with the setfont command. Also, are ...
5
votes
0
answers
126
views
How do I change the framebuffer resolution at runtime without legacy /dev/fb0?
I have a server in production which was booted with a 1080p widescreen monitor attached and it used that when it automatically selected that resolution for the console on boot. Currently, it is ...
7
votes
3
answers
1k
views
Is the difference between physical terminal and Linux virtual terminal the use of serial cable?
In the early days of computing, the setup is usually like this:
and we call the VT-100 "physical terminal".
But in Linux, we call virtual terminals "virtual" (the ones accessed by ...
0
votes
0
answers
40
views
Booting with an NVIDIA GPU, but without nouveau
I am trying to boot a Linux system (Debian 11) with an NVIDIA GPU; I need to avoid loading the nouveau driver, which I can do if I include some options on the linux command line (in grub.cfg):
...
0
votes
1
answer
35
views
Browser (and other programs?) opens in the current X session the first time, then on the same session even if launched from another X session
Please, correct me if the wording of the title is wrong, as I do want to understand the correct terminology too.
The think is, I can swtich using Ctrl+Alt+F N between different window managers each ...
1
vote
0
answers
170
views
How is the use of virtual consoles controlled in Debian 12
I noticed that in Debian 12 (amd64, but I guess that's independent of the platform actually), when a user logs into the graphical UI (Xorg based with nvidia), the GDM3 server no longer is active on :0 ...
0
votes
0
answers
50
views
Since when it is possible to open multiple DE/WM in different consoles?
I remember some time ago I couldn't start X in two consoles at the same time. What I mean, if I had i3 running on tty7, I could do Ctrl+Alt+F6 to go to tty6, I could log in, but I couldn't start ...
2
votes
1
answer
714
views
Unloading KMS driver / Replacing NVIDIA Linux drivers without rebooting
In the past you could trivially replace NVIDIA proprietary drivers on the fly after switching to the text console, killing X.org and unloading (rmmod) the appropriate NVIDIA modules, and installing ...
0
votes
0
answers
43
views
Letters don't appear in virtual consoles in debian
Firstly, I switched to some virtual console with Ctrl+Alt+F2-6 even right after installing Debian 11 with KDE and, secondly, I tried to type something in that console. No letters appear, but it works ...
2
votes
0
answers
260
views
Archlinux boots with German ISO keyboard layout even though US ANSI is defined
I recently switched from DE-ISO to US-ANSI layout and have an issue across my Archlinux machines that I cannot resolve which is a bit painful as the encryption key expects German layout but my ...
0
votes
1
answer
78
views
Questions about tty
Why are there so many ttys? Are multiple tty necessary?
Why are multiple things spread in different ttys? For eg i have the runit logs on tty1, wm on tty7, and a blinking white cursor on the corner of ...
1
vote
0
answers
174
views
How to change map of scancode to keycode for wireless keyboard?
I have a wireless Logitech mouse and keyboard combo and I want to remap capslock to leftctrl and vice versa for the Linux console as well as the X terminal so I want to use the instructions here.
The ...
1
vote
1
answer
547
views
Does ssh give access to the virtual console, to a terminal emulator, or what? [duplicate]
As far as I've understood, a terminal emulator is a GUI-based program which gives me a terminal-like viewport and allows me to interact with it just like I'd do with a terminal, except that it has all ...
2
votes
1
answer
466
views
How can I restore the Linux console font back to the kernel built-in font?
My Linux kernel, by default, uses the big 16x32 Terminus font that is built into the kernel (with CONFIG_FONT_TER16X32) for the framebuffer console.
I just installed the "kbd" package and ...
13
votes
4
answers
3k
views
How to copy/paste between a console and an X session?
What's the fastest way to copy/paste between a non-graphical console (<Ctrl><Alt><F...>) and an X session ?
Right now :
I select the text with the mouse on the console (I've ...
2
votes
2
answers
514
views
How to know on which virtual console X11 is running?
I want to know on which virtual console the X11 is runnning. Of course, I can know it by invoking the ps command and watching the process tree. Or, I can know it by pressing ctrl+alt+F1, ctrl+alt+F2, ....
3
votes
2
answers
2k
views
Special handling of Ctrl-J
When I press Ctrl-V Ctrl-J in a shell (under urxvt), it starts a new line (positions the cursor at the beginning of a new line), instead of printing ^J.
In vim it prints ^@.
The same situation is in ...
0
votes
0
answers
217
views
Random log out of tty1 while typing
I experienced a sudden log out from tty1 where I run the i3 window manager.
While typing stuff, the screen went black, and in a matter of seconds I was back to the login screen (I use no login manager)...
1
vote
0
answers
724
views
Jump to line in nano
When using nano in any of several terminal emulators Ctrl + / invokes Enter line number, column number: dialog. However when working from a virtual terminal e.g. Ctrl + Alt + F4 nothing happens. Why?
0
votes
1
answer
840
views
Can't switch to virtual consoles as usual
On previous Ubuntu and now NixOS on Dell Inspiron-7559, I have found that the virtual consoles are unusual compared to Thinkpad.
I found that I have to press Fn besides the normal key bindings, i.e. ...
0
votes
1
answer
875
views
How to disable VT console when running Ubuntun 20.04 under Wayland server
I am now running Ubuntu 20.04, and using server: Wayland. I have no idea how to disable virtual console switch under Wayland.
Under the X.org server adding this: Option "DontVTSwitch" &...
1
vote
0
answers
270
views
Refresh X11 display on an unfocussed virtual console
I am running two X11 desktop sessions (via 2x startx) on two different virtual consoles.
I am using a chromecast to continuously cast X11 running on the second virtual console, vt7, as a kind of ...
0
votes
1
answer
86
views
Can't drop down to virtual console. All I see are the system login/boot messages (like a bootup screen) - can't type anthing
Ctrl+Alt+F1 workedgave me access to the console before, now it shows me the boot up and login process messages ("started CUPS, network manager etc.)
The funny thing is my graphical session works ...
3
votes
1
answer
762
views
How to increase font size in virtual console (tty) in Ubuntu 20.04 on 4k screen? Or how to change the resolution?
I am using a dell XPS 13 laptop with 4k screen and the text on the virtual console is very small. I would like to increase the font size. With the command sudo dpkg-reconfigure console-setup I took:
...
0
votes
2
answers
2k
views
How can I change cursor shape in tty?
I want to change my tty cursor shape underline to block. I tried this:
if [[ "$TERM" == "linux" ]]; then
echo -e -n "\x1b[\x32 q";
fi
It's working on gnome-terminal ...
2
votes
0
answers
1k
views
How can I embed linux virtual machines in a website or a webapp?
I am planning to start a project to build a webapp, and I had an idea that I have seen in many places.
I have seen some websites where they have a linux virtual machine and a bash terminal is embedded ...
0
votes
0
answers
141
views
Having a shell with console connection without using the physical port in Linux system
A program starts when you are connected to Linux by console port. Otherwise, it refuses to start.
I have to connect to my server remotely by SSH connection. I'm looking for a way to do something to ...
1
vote
1
answer
445
views
shift altgr combination for console keymap
I am using Artix Linux with OpenRC.
I want to define a custom console keymap to generally use the US-design, but add some extra functionality for German umlauts. The following does work:
/usr/share/...
1
vote
1
answer
101
views
What handles virtual console cursor specifics?
In the Linux source code, specifically in linux/drivers/video/console/vgacon.c, there is a switch case block for cursor shapes. Each of these shapes are rectangles of the same width and varying ...
0
votes
0
answers
32
views
<Crtl>-<arrow> is not different from <arrow> in virtual console [duplicate]
I rarely use virtual consoles. Thus I just noticed that some of my bash key bindings do not work there. The reason is probably that the key codes (what is shown after pressing Ctrl-V) for Ctrl-→ and → ...
1
vote
0
answers
275
views
Stop Wayland / Sway from intercepting virtual console hotkey (Alt-F1, etc)
I am using Wayland / Sway on Arch with the x-compatibility layer enabled and it is consuming keystrokes, notably the Alt-F1 hotkey necessary to get to a virtual console.
I suspect it is the x-layer ...
2
votes
2
answers
130
views
How to include my virtual console ID in the prompt, in FreeBSD
When I use virtual consoles ALT-F<1~n> in FreeBSD, I want my 'zsh', 'sh' (and possibly other shells) startup scripts to include the virtual console number in the prompt, if it's not the default ...
1
vote
2
answers
256
views
What application manages the consoles
With Alt + Fn you can switch between virtual consoles in most Linux distributions. What application handles the switching of consoles and how? I suppose it has to read the keyboard input before all ...
3
votes
1
answer
2k
views
How to enable underlines and other formattings on a color tty?
I'm on Arch Linux (a 32 bits alternative version), and recently I've discovered that the blue lines I used to see in Vim with :set cursorline were supposed to be underlined, and not blue.
That got me ...
2
votes
0
answers
50
views
Is there a power manager for text consoles?
I use XFCE on my laptops. When I'm working inside X11, xfce4-power-manager works well, and the system goes to sleep after 15 minutes of inactivity.
But when I switch to a Linux text VT (i.e. by ...
-2
votes
2
answers
563
views
Can I start Debian on a text virtual console in a virtual machine? [duplicate]
I have created a Debian virtual machine in virt-manager/KVM/QEMU.
When I run the Debian virtual machine, I don't really need the desktop environment, which is also resource consuming. Can I start ...
2
votes
1
answer
1k
views
How to reset keyboard driver?
I have a KVM switch sharing my USB keyboard between Linux and Windows systems. If the switch is set to the Linux box when it boots up then the keyboard works fine. If I switch away to the Windows box ...
2
votes
1
answer
1k
views
How is the number of accessible virtual consoles decided?
My Ubuntu 18.04 has /dev/tty{0..63} (and /dev/ttyS{0..31}). Does it mean I have 63 virtual consoles (/dev/tty0 isn't an independent virtual console, and /dev/ttyS{0..31} are perhaps not virtual ...
4
votes
2
answers
794
views
Is a virtual console running as a process and implemented based on pseudoterminal?
Linux has 7 virtual consoles, which correspond to 7 device files /dev/tty[n].
Is a virtual console running as a process, just like a terminal emulator? (I am not sure. It seems a virtual console is ...
2
votes
1
answer
951
views
On Qubes OS 4.0, how to get xl console access to sys-net?
I tried xl console sys-net which is something that works for any other VM (AppVM, TemplateVM), it even works for sys-net-dm (I don't know what that is though)
[ctor@dom0 ~]$ time sudo xl console ...
1
vote
1
answer
6k
views
Why is VT switching not working for Xorg run as root?
Version of affected software:
$ rpm -q --whatprovides /usr/bin/Xorg
xorg-x11-server-Xorg-1.19.6-8.fc28.x86_64
(In other words, this is on a currently up-to-date install of Fedora 28 Workstation).
...
7
votes
0
answers
453
views
How to open different virtual consoles on different monitors?
I use a 2-display set-up (a laptop with a secondary 1280x1024 SXGA monitor attached to it) and whenever I switch to a virtual console (e.g. by pressing Ctrl+Alt+F2) the secondary monitor switches to ...
1
vote
1
answer
270
views
How to connect a GUI terminal emulator to a virtual console?
I use full-screen virtual consoles (those you can switch to with Ctrl+Alt+Fx) actively but some times I would like to view/interact with them via an X terminal window without actually switching to ...
4
votes
0
answers
3k
views
Single-user mode output to console (tty1) AND serial (ttyS0)
I am using grub2 on CentOS 7. I would like to know if it's possible to display output to both serial (ttyS0) and console (tty1) when I attempt to boot into single user mode. The ultimate goal is to ...
2
votes
3
answers
688
views
key binding to increment/decrement virtual console in X
One can change virtual consoles (or virtual terminals, VTs) by pressing Ctrl+Alt+Fn (where Fn represents F1, F2, etc.). In addition, when not running X, one can press Alt and the arrow keys to cycle ...
1
vote
2
answers
1k
views
Move terminal typed input to new line when console application/script displays output text
Current situation: When an application/script has been started as a background process from a terminal and is providing output to the console (i.e. to STDOUT, thus no output redirection), when I type ...
6
votes
3
answers
8k
views
Multiple virsh/kvm guest consoles without graphics
I have a serial console working for a centos7 guest without graphics, which I access with virsh console vm. The guest has the appropriate console=ttyS0,115200n8 kernel command line parameter for it.
...
5
votes
1
answer
1k
views
Remove shortcuts to switch virtual terminals on Linux
When you are running Raspbian without graphics (GNU bash), only in bash mode, if you press ALT+F2, ALT+F3... you switch from current tty to another.
How to make that if you press these shortcuts ...
0
votes
2
answers
981
views
Text size in the terminal
So after 3 times of trying to install arch Linux, I finally succeeded.
I've noticed that when I was booting from my USB drive, the text size in the terminal was a lot smaller than it is when using ...
3
votes
1
answer
2k
views
X: alt/ctrl/f1 doesn't work any more after turning the display off and on again with xrandr
(After editing significant new infos into the question)
After turning a display off from command line (xrandr --output ... --off), and then turning it back (xrandr --output ... --auto), my X desktop ...