Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [console]

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.

0
votes
2answers
59 views

What kind of language construct is the swung dash (tilde, ~)?

The swung dash can be used in place of the home directory. Depending on the current user it has a different value. In this sense it works like a variable. Yet it is not a variable. I can't do echo $~...
1
vote
2answers
37 views

FreeBSD 11.2 - 256 color support in console window

I installed FreeBSD 11.2 on my DELL Latitude E7470 with UEFI (might be important). By default it does not install a GUI and that is fine by me (for now). Using the <Alt>+<Fn> keys I can ...
1
vote
1answer
32 views

FreeBSD 11.2 - Default resolution on console window

I installed FreeBSD 11.2 on my DELL Latitude E7470 with UEFI (might be important). By default it does not install a GUI and that is fine by me (for now). Using the <Alt>+<Fn> keys I can ...
0
votes
0answers
33 views

Is there any ASCII character based screen saver for server login console

There are plenty of screen savers for desktop environments. Is there any for server console?
10
votes
2answers
1k views

What is `/dev/console` used for?

From this answer to Linux: Difference between /dev/console , /dev/tty and /dev/tty0 From the documentation: /dev/tty Current TTY device /dev/console System console /dev/tty0 Current ...
1
vote
1answer
23 views

Detect key status in zsh from the Linux console

Can zsh detect a key status without a tool that depends on a graphical session? I've overwritten the getty@tty1 service to autologin, and zlogin executes sway. I would like to prevent running a ...
0
votes
0answers
22 views

Autostart X on login with fish on Gentoo - Missing argument at index 5

I'm trying to start X automatically at login, as shown in this example: # Start X at login if status is-login if test -z "$DISPLAY" -a $XDG_VTNR = 1 exec startx -- -keeptty end end But when ...
0
votes
0answers
43 views

Console text red at boot (CentOS 7)

When CentOS 7 is booting, the text becomes red. This happens through IPMI and a direct connected VGA screen. The server seems to be OK, but I would like to know why all console text is red. The OS is ...
0
votes
1answer
27 views

The console terminal demonstrate by who

When I issue the command who in a bash terminal: $ who me console 2018-11-09 07:13 me ttys000 2018-11-09 07:13 me ttys001 2018-11-09 07:13 The manual states: who - show who ...
1
vote
1answer
36 views

Log Console Output [duplicate]

Is there a way to not only protocol/log the console inputs (like the history), but also the console output by default (without the constant usage of pipes)?
1
vote
0answers
25 views

RHEL GUI offers Automatic Time Zone Option. Is there a way to set that option from console?

As you can see the Automatic Time zone is off in GUI. Is there a command to set it on? Example: if Automatic Date and Time is selected to be off from GUI, it can be changed from console with: ...
-1
votes
1answer
32 views

Trying to get script in Linux console to show duplicate file names instead of an error

I am trying to write a script that is going to run in the Linux environment. It will look for .jpeg files within a tree of directories and then copy them to a directory called jpegs. I want to get ...
0
votes
0answers
38 views

How to multitail and grep for only one file?

I have set up a multitail with 4 windows (1 window to the left and 3 windows to the right). I would like to grep for the phrase "local" - but only for the first log file. I tried it like this but it ...
0
votes
1answer
92 views

startx failing from debian console in virtualbox VM: (EE) open /dev/dri/card0: No such file or directory

I'm running debian testing within a VirtualBox VM (Windows 10 host, VBox 5.2.20), and booting to the console. I used to be able to run startx just fine once logged in, but for the past while it hasn'...
1
vote
0answers
42 views

How to compose chained dead keys in `kbd`?

In Linux Console, is there a way to make hitting a dead key twice print the corresponding dead character on screen? as it is the case in X11? For instance I want the logical ^^ sequence to send a ...
1
vote
0answers
38 views

Debian not recognizing my ttyS0 / console redirection not working

I have a fitlet2 (https://fit-iot.com/web/products/fitlet2/) which has a serial port. I can connect to the serial port of the fitlet2 with screen from my computer (screen /dev/ttyUSB0 115200) and ...
0
votes
1answer
20 views

Screen timing out on console mode

I am running Fedora 28 and after a kernel update my text console screen(tty2,3 etc) times out in 1 second or less. I used setterm -blank 0 in my GUI terminal to rectify the problem but that gave me ...
0
votes
1answer
59 views

Does Linux kernel uses fonts from /usr/share/consolefonts? Is it safe for working kernel?

OS: Ubuntu 18.04. I think it is distribution-independent. The Arch Linux uses the same principle, but do it by another way. I set the tty's font by editing the /etc/default/console-setup file: ...
-1
votes
1answer
59 views

How to resize TTY console width?

I'm on FreeBSD. I want to set console width (just console, not ssh or telnet). I used this command: stty cols 132 Is this work for just console or worked for all of the connections (console, ssh ...
0
votes
1answer
38 views

st terminal: Clone exactly colors of console to terminal

I have serious problemm when trying to have same view - exactly same colors of console then port them to terminal. Console uses linux or screen that supports only 8 colors, the problem is terminal ...
1
vote
1answer
38 views

detecting cli script execution and not cronjob script execution

Is there a way to detect if i run a shell script by hand in the console or if the cron starts the script (e.g. using crontab) ? Edit: Usage example: manualy i want to show a progress bar for ...
0
votes
0answers
35 views

libvirt and kvm/qemu, password on console redirection/serial doesn't work

I have added a serial,and a console to connect my vm without X using this command. virsh console myvm Unfortunately my vm has a luks encrypted root and..I can put the password only from graphical ...
0
votes
0answers
22 views

Creating a device under /dev/input

I am picking apart the inputattach tool from LinuxConsole, and I can't seem to figure out how it actually creates a file handler under /dev/input. Can someone please identify the line?
0
votes
1answer
21 views

How can I create a quick access command in the terminal for an application

I want to create a quick shorcut to a file wich is: file.py it is located in "/myfiles/folder1/file.py" I want to access just typing in the the terminal: "file" this file has a working directory so ...
0
votes
1answer
48 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 ...
0
votes
1answer
28 views

Searching a tool to visualize memory

I am searching a program which can show the memory as a colorful grid in console. For example showing used, unused and changed stuff. This is not for monitoring, its simply for a screen which is ...
0
votes
1answer
26 views

mplayer (via console) doesn't always show audio file duration - how to change behaviour?

I use mplayer principally to play audio files from the Linux console. Most of the time, mplayer happily shows me the duration of the file and the runtime so far (note: I've paused both playbacks just ...
0
votes
1answer
43 views

Two screens/monitors in Linux console (FB not Xorg)

I try to 'mirror' a Linux console (not Xserver) from a Dell laptop to an external monitor connected with HDMI cable. The graphic card is Intel UHD 620. What's the best approach? Initial net search ...
1
vote
1answer
130 views

Can the Linux console display 16 colors?

I'm reading the manual page terminfo and I wonder if the Linux console may use the terminal type linux-16color instead of the terminal type linux. prompt% infocmp linux linux-16color comparing linux ...
6
votes
1answer
844 views

Print something in console in the same place of the previous echo, with a sort of negative echo

In bash you can cast a command named clear to clear all the screen commands. And with echo you can print whatever you want onscreen.. In my simple scripts I often have the need of print a percentage ...
0
votes
0answers
47 views

How to use external monitor through HDMI without X / graphical environment?

I'm running Arch Linux on a laptop. I usually log in to the TTY console and only startx when I need to. I have an HDMI output and would like to use an external monitor. It works fine with xrandr but ...
1
vote
1answer
165 views

Unable to log in to tty1 password incorrect? [closed]

In the console tty1 I can't access with my login and password. It states that my password is incorrect however my password is correct?
-1
votes
1answer
75 views

Linux VT supports 8 colors but there are actual 16 distict ones. Why is so that?

According to Wiki's https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit article there are 8 "Standard colors" and 8 "High-intensity colors". When I checked terminal capability of the Linux' virtual ...
0
votes
0answers
100 views

Slow boot when using kernel parameter console=ttyS0 to hide all output

For an end-user friendly operating system, I am creating a basic linux distribution using the Buildroot tool. I am using Syslinux/Isolinux as the bootloader and the Linux 4.14.54 (Long Term Support) ...
0
votes
0answers
11 views

configuring codepoints in virtual console

I am trying to display Hindi and English characters in a virtual terminal. I am able to display these characters for English and Hindi separately but I am not able to display them together. As per my ...
1
vote
0answers
118 views

How can I copy text from Links (webpage) to the console?

I have been building a Linux From Scratch system and I have installed the Links web browser on it, which I am running in graphical mode via DirectFB (I have not yet installed the X Window System). I ...
1
vote
3answers
200 views

How to check if the current shell session is in the gui or the tty

Which environment setting in the zsh shell will allow me to find whether I am in the x-server or if I am in the console? I am trying to find a way to implement having different setting in my .zshrc ...
4
votes
1answer
44 views

Can I prevent keyboard input from being used by console?

I have a linux box with two keyboards, two displays, and one mouse. One of the displays is running an X session, and the other is running a text console, started by mingetty. Currently, the mouse is ...
0
votes
1answer
28 views

tmux step through open windows automatically

On my VPN server, I have some scripts that I run in separate windows, and I'd like to step through them every few seconds like the GIF below. Is there an existing tmux binding or one I could create ...
0
votes
1answer
65 views

Is there a way to disable only root login via serial console on RHEL6?

I'm trying to disable root login via the serial console in RHEL 6. Based on this link from redhat (https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/Security_Guide/s2-...
1
vote
2answers
740 views

How to use `systemd-ask-password-console.service`

How I am supposed to use systemd-ask-password-console.service? My aim is to trigger a password prompt and ask for input on some terminal. Currently I am trying it like this: Start systemd-ask-...
0
votes
1answer
124 views

What happens when I forget to logout in TTY?

This is something I have asking myself for some time. Imagine the following: I press CTRL+ALT+F1 to switch to TTY1 I login there and execute a command I switch back to xorg with CTRL+ALT+F7 I forget ...
0
votes
0answers
29 views

grep - separation after different file

I'm using grep to look for a specific string in log-files. It's sometimes a little tricky to see the output refers to the next file already, like: 354058:c1.com/client-01.log:13:30:04 INFO: ...
1
vote
1answer
138 views

Suitables TERM variable values for a serial console

To enable a serial console on Linux, one uses getty (most usually, its variant agetty). This binary takes as argument, among other, the value to initialize the TERM variable with. On Debian, with Sys ...
1
vote
0answers
150 views

Can't change kernel.printk value

I want to set kernel.printk value to 5 4 1 1 for disable logging on booting but when I try sysctl -w kernel.printk="5 4 1 1" I get error: sysctl: setting key "kernel.printk": Invalid argument ...
0
votes
0answers
31 views

How to Capture all output sent to Serial Buffer?

I need to capture all the output sent to serial port in a file, once it has successfully done pivot root to rfs from initrd, or from starting of rcS. I have tried using script but either it blocks the ...
0
votes
0answers
41 views

Completion and history activation in a python virtualenv

I am learning Python and nowadays I discover the use of virtualenv. I ask this question in S/O without answers, so maybe this is a Debian specific problem. I run LMDE2 (Debian 8 based) with Python 2....
1
vote
0answers
99 views

Opening character device for reading in parallel by multiple processes on Linux

I would like to open a character device e.g. /dev/tty1 by multiple processes in a way that would not interfere reads between them. I noticed that if one process consumes a byte, no other process would ...
0
votes
1answer
356 views

kernel panic error

my linux server can't boot because of some error and i don't access to console either. There are the errors : mounting /dev/vg1/root on /sysroot failed : No such device mounting /dev on /sysroot/dev ...
0
votes
0answers
63 views

How to redirect system output to /var/log/messages due to use of framebuffer for another app?

My OS is Red Hat 7.4, 64 bit. I have an application that is using the framebuffer /dev/fb0 directly to display, so I don't want other output to show up from running processes. So far the only thing ...