The system console is an interface used by human to control the computer. Basically, it consists of a keyboard and a monitor that can provide a text user interface.

learn more… | top users | synonyms

3
votes
2answers
2k views

What stream does perf use?

What stream does the perf command use!? I've been trying to capture it with (perf stat -x, -ecache-misses ./a.out>/dev/null) 2> results following http://stackoverflow.com/q/13232889/50305, ...
17
votes
3answers
75k views

How to set the resolution in text consoles (troubleshoot when any `vga=…` fails)

It is a common way to set the resolution of a text consoles (that are usually available by Ctrl-Alt-F1 thru Ctrl-Alt-F6) by using a vga=... kernel parameter. I'm using Ubuntu 10.04 Lucid, output of ...
3
votes
2answers
71 views

Redirect console to a serial port

I have a serial port /dev/ttyS2 that is connected to a supervisor. Normally, I use this line to send commands back and forth between CPU and supervisor. However, under some settings, I want to just ...
3
votes
1answer
44 views

How can I force the console to output to something other than the framebuffer?

I recently recompiled my kernel to support the vesa framebuffer for some Directfb fun but now my console outputs text very slowly. It's almost as if turning on the framebuffer caused my console to ...
17
votes
4answers
69k views

Command line to return to the GUI after Ctrl-Alt-F1?

I'm unable to return to the GUI with Ctrl-Alt-F7 (or any of the 12 function keys). I have some unsaved work and I don't want to lose them. Are there any other key combinations that will allow me to ...
3
votes
3answers
2k views

How to startup FreeBSD in console mode

I have recently installed a VMware image of FreeBSD, although when I boot up I get the message: Welcome to DesktopBSD, select from the following options: http://i.imgur.com/VWahL.gif The trouble is ...
0
votes
2answers
36 views

Is it possible to see errors when executing a script inside a script?

I have the files my1.sh and my2.sh. my1.sh: .... do something ./my2.sh my2.sh: .... do something else Now my problem is that if any command (like or example a ntfsclone) fails in my2.sh I get ...
2
votes
1answer
332 views

256 colors in console (tty)

Suppose, I have a system without X server. I can only log in from the console. It seems, by default linux console supports only 8 colors: # tput colors 8 Is it possible to use 256 colors in the ...
1
vote
1answer
46 views

How to get Unicode values of dead keys from mediumraw console keyboard

In an application that runs in a frame buffer, I read keys from /dev/tty after having set it to mediumraw mode using int fd = open("/dev/tty", O_RDWR); ... ioctl(fd, KDSKBMODE, K_MEDIUMRAW); In ...
8
votes
3answers
15k views

How to change cursor shape, color, and blinkrate of Linux Console?

I know I can change some fundamental settings of the Linux console, things like fonts, for instance, with dpkg-reconfigure console-setup. But I'd like to change things like blinkrate, color, and ...
77
votes
2answers
62k views

Linux: Difference between /dev/console , /dev/tty and /dev/tty0

On a Linux system, what is the difference between /dev/console, /dev/tty and /dev/tty0? What is their respective use and how do they compare?
2
votes
2answers
2k views

How do I fix an “unknown chipset” error when booting Arch Linux?

I have a laptop with this hardware: intel i5 nvidia 820m graphics card 64bit system with uefi boot I burned the Arch Linux ISO to USB, and I am getting the option to choose Arch on booting the ...
689
votes
5answers
161k views

What is the exact difference between a 'terminal', a 'shell', a 'tty' and a 'console'?

I think these terms almost refer to the same thing, when used loosely: terminal shell tty console What exactly does each of these terms refer to?
2
votes
1answer
69 views

Create serial console on plug in USB serial device

I have a CentOS 7 headless system with no serial ports. I sometimes want to access the server using a serial cable, so I plug in a USB serial cable (to my laptop's serial port) but I can't get a ...
2
votes
1answer
61 views

Return to GUI from text console with many X11 servers?

I know the thread How to get out of TTY and into X session apparently about similar thing as here, and Command line to return to the GUI after Ctrl-Alt-F1 about chvt. I have Ubuntu 14.04 LTS. I run ...
1
vote
0answers
191 views

“map: vt01 => fb0” - what is that?

At startup of Rasbian on Raspberry PI, when console asks for login I can see the following text: map: vt01 => fb0 What does that mean? How can I disable it? (hide this message, I would only like ...
2
votes
3answers
2k views

How can I retain the console input in mplayer when reading from stdin?

I'm playing around with the command line interface of mplayer. I'd like to script it in the following way find /some/path/ -type f | grep -vif blacklist | mplayer -shuffle -playlist - where ...
2
votes
1answer
162 views

How to permanently disable root-password prompt for recovery mode, RHEL6

In the rare cases that a RHEL or CentOS 6 system is prevented from booting by (for instance) an improper shutdown, or a forced fsck-check failure on boot, the console will prompt the user for a root ...
2
votes
1answer
71 views

Find and replace using parts of the found string in the replace string

Let foo be any string. I have to search a file for all occurrences of \LeftLabel{foo} and replace each occurrence with \LeftLabel{\textsf{foo}} but only if foo does not start with a $ ...
6
votes
3answers
1k views

How can one switch to ttyX in virtualbox?

I run VirtualBox in Linux , running CentOS in it , and I can't switch to ttyX in the CentOS since I'll go to the ttyX in my Linux. Any solutions ?
5
votes
0answers
80 views

enable external display on FreeBSD console

tl;dr, I'd like to use the external display with FreeBSD 10.0 on an HP Pavilion g7-2270us. Don't care if it's mirrored or I have to select one or the other. Here's the symptoms: When a display is ...
1
vote
1answer
104 views

Enable mouse support in the console for applications that feature it in GUI terminals [closed]

Is there some general mechanism missing in text mode consoles but present in GUI terminals that I can enable for mouse-supporting applications? By "general" I mean not per-application (not ...
7
votes
2answers
3k views

Tmux output is slower when vertical splits exist: why?

When I use Tmux and split the window into panes, I notice that programs are quite a bit slower to print out lines of text when there is vertical split (two panes side by side) than when there is a ...
0
votes
1answer
133 views

How to disable fade to black for the fullscreen console

After a while of inactivity the fullscreen console fades to black until I press a key. I want to disable the fade to black on my fullscreen console running in a VirtualBox. I'm running Debian 8 ...
2
votes
2answers
57 views

Parse terminfo u6 string

Looking at terminfo and Parameterized Strings. Some examples from infocmp -1 xterm: cud=\E[%p1%dB, given argument 13: \E =><ESC> [ => [ %p1 PUSH parameter 1 (13) onto stack %d POP and print ...
10
votes
1answer
1k views

How do I let an SDL app (not running as root) use the console

I want to use an SDL-based program to display graphics on the console, without having to log on from the console, and without running the program as root. For example, I want to be able to run it via ...
13
votes
4answers
9k views

use mosh without giving up local scrollback / history?

Is there a way to use mosh without giving up the local scrollback? Basically, in some circumstances, IP-roaming is indeed useful and needed, but the extra terminal emulation and key prediction seems ...
2
votes
3answers
353 views

copy from file and paste in the terminal without x server

I have got an Ubuntu Linux without x server installed on it (because it's only a gateway). I am requested by an application (ossec,-my question is not ossec related-) to paste information into the ...
7
votes
3answers
3k views

How can I check which terminal definitions are available?

The bulk of the question is in title, but to elaborate a little: On most Linuxes I can find /usr/share/terminfo -type f. But on Solaris machine I have nearby - this directory doesn't even exist. I ...
2
votes
2answers
134 views

Alternate screen on FreeBSD's sc and vt

By default, FreeBSD's virtual terminals (sc and vt) don't restore previous terminal content when exiting from a full screen app. Is there a support for this functionality? I've tried following ...
0
votes
2answers
212 views

Where do the logs directed to /dev/console go?

I'm studying RHEL 7. If I add this line to rsyslog.conf: kern.notice /dev/console Where will the messages with facility "kernel" and priority "notice" be logged? If I run this command: ...
9
votes
4answers
10k views

How do I connect a serial terminal to a KVM instance?

Perhaps I'm misunderstanding what KVM is capable of, but the ability to add/remove hardware on the VM seems to imply I can add a serial port that then acts as a terminal. So, my questions are: ...
2
votes
1answer
1k views

How can I make the TTY use the appropriate charset?

Note: forked of this per recommendation here. While I got the X keyboard layout right on my own after I fixed that stupid typo, I still can't set the console charset, key map, font map, or whatever ...
0
votes
1answer
638 views

How can I spawn a TTY text virtual console?

Due to (what I think is) some sort of bug on the Linux version (Kali v2.0) of my remote computer, my TTY text consoles do not start until I locally sit on the machine and press CtrlAltFn. I use to ...
1
vote
0answers
165 views

How to get the very first boot messages in high resolution

After upgrading to debian jessie I abandoned the proprietary nvidia drivers and switched to nouveau. I am using grub2 to boot. Kernel is 3.8.2 compiled from source. my graphics card is an nvidia ...
1
vote
1answer
73 views

How do I get the pid of the exact progarm launched

So I have a couple python programs say program A and program B, when using "pgrep python" to get the pid, it gives me the pid of both program A and program B. However, I am writing a program that need ...
2
votes
1answer
176 views

Ctrl+Alt+F1(F2,F3,F4…) doesn't work after /run was filled up

# uname -a Linux kali 4.0.0-kali1-amd64 #1 SMP Debian 4.0.4-1+kali2 (2015-06-03) x86_64 GNU/Linux # uptime 19:31:04 up 40 days, 4:38, 56 users, load ...
4
votes
1answer
3k views

Charset / font in the Linux console

I want to write a game which runs in a terminal. I do some terminal coloring and wanted to use some unicode characters for nice ascii art "graphics". But a lot of unicode characters aren't supported ...
2
votes
1answer
81 views

How to programmatically check if the terminal supports italics?

I'd like to check if the current terminal is able to display italics correctly. Checking that manually is easy: echo -e "\e[3mfoo\e[23m" If the output is foo, the terminal (-emulator) supports ...
0
votes
0answers
27 views

How can I configure /etc/kmscon/kmscon.conf to use multiple layouts

I want to configure kmscon to use two layouts. Now my /etc/kmscon/kmscon.conf looks like this: xkb-layout=us,ru xkb-options=grp:alt_shift_toggle font-name=Liberation Mono font-size=12 but it's not ...
0
votes
1answer
144 views

How are virtual consoles related to traditional computer terminals?

This is extracted (with some rewording) from Computer terminal and virtual console, which has been closed with a hatnote linking to What is the exact difference between a 'terminal', a ...
2
votes
0answers
45 views

What does Linux wait for when switches from Xorg to text console?

Sometimes my Xorg hangs and locks the console dead, with a “stale frame” of GUI on the monitor. Hardware and driver-related problems are likely (see here for description of particular configuration), ...
1
vote
0answers
37 views

How to find blockage for Virtual Terminal switching?

I am stuck on virtual terminal 14. Starting some SDL-software brought me there. Now I cannot go anywhere else. Every "chvt" freezes (at the "VT_WAITACTIVE" ioctl) if it is not chvt 14 which succeeds. ...
1
vote
0answers
74 views

Disable embedded keyboard when in a tty

I've been lately working on a netbook. I like to connected an external keyboard and mouse to it whenever I can, and I put the keyboard over the embedded keyboard. When on X, I used xinput to disable ...
2
votes
1answer
108 views

Where can I find a modern version of the “rock” (or “t”) console typeface?

Back in the Slackware and RedHat-pre-Fedora days, there was a console font called, at times, "rock", or "t". I've searched for this many times, but can't find any reference to it. I thought it would ...
4
votes
2answers
3k views

256 color in Linux console

I have in my .bashrc export TERM=xterm-256color but this cause blinking all colored text (ls --color, in vim etc.) in a Linux console (Ctrl+Alt+F1). So is there any possibility to recognize in ...
4
votes
2answers
109 views

Can I remap SHIFT+CAPS LOCK in Linux console?

I recently acquired an old netbook which has no backslash/pipe key. I have successfully remapped the caps lock to backslash using loadkeys. I would like to map SHIFT+CAPS LOCK to the pipe key in a ...
9
votes
3answers
13k views

How do I change the screen font size when using a virtual console?

Using LDXE and Ubuntu, I can log into a virtual console via Ctrl+Alt+F1. The text is far too small. How do I change the screen resolution to get a larger font?
1
vote
2answers
274 views

unable to change screen resolution of tty

I am using Fedora 21 in Oracle Virtual Box. I am using just tty (no GUI). I need to increase screen resolution, I tried following things but failed: xrandr but gives me error: cannot open display I ...
1
vote
2answers
223 views

Remotely access my computer's framebuffer console from Android

I need to remotely view my computer's display. I am using programs that I launch from a text console, then they create their own graphical session, like Kodi or EmulationStation (it does not start if ...