5
votes
1answer
31 views

How to disable Alt-Arrow switching of Virtual Consoles?

The following happens on different Linuces: When I'm in a virtual console, hold Alt and press ← or →, the virtual ttys cycle. This is really annoying as I'm using fish-shell which also uses this key ...
3
votes
0answers
30 views

Stop init.d from running, and go to terminal prompt

I'm running Rasbian (Debian?) on my Raspberry Pi, and have allot of auto-starting things in init.d. But what if I want to stop them all from running, and simply break into a terminal prompt? I've ...
3
votes
1answer
26 views

Linux console: only kernel messages are printed

My Linux system is built by Buildroot and runs on a Raspberry Pi. I use a Usb to TTL Serial cable to get a console. Here comes cmdline.txt dwc_otg.fiq_fix_enable=1 sdhci-bcm2708.sync_after_dma=0 ...
3
votes
0answers
31 views

Output shutdown messages to multiple consoles

I have configured my system to direct console output on boot to serial and vga using kernel parameters. Serial is the last argument in the kernel parameters and will be the default used for ...
4
votes
1answer
78 views

caps lock led not working on Linux console

When I switch to a TTY and turn on the caps lock, the caps lock LED on my keyboard isn't turning on. On X it works fine. When I activate caps lock and then switch to a TTY and then press caps lock (on ...
2
votes
0answers
105 views

add monitor to linux tty framebuffer

Whenever I use my laptop at my desk, I usually connect it to an external display on DP-1. To switch the window manager output to this display, I can just use xrandr --output DP-1 ... However, ...
3
votes
1answer
38 views

Can I use two sets of I/O devices for two user sessions on one computer?

I want to connect a second monitor, keyboard and mouse to my PC (running Ubuntu) and let somebody else (e.g. my son) use the a different TTY while I am working. I know I can switch between TTYs using ...
2
votes
1answer
62 views

I no longer see the output of rc scripts

My current problem After cloning the root filesystem of my debian system to an SSD (cp -ax) I no longer see the output of my rc scripts during boot from the SSD. I do see them during shutdown or when ...
2
votes
0answers
58 views

How can force my screen to unblank?

I've been doing a lot of looking around forums for different ways to unblank the screen. I am running embedded linux on a machine I have and I found out that the screen goes blank under certain ...
1
vote
2answers
53 views

Block physical console access

I'd like to block physical console access to my linux. I'd like to find, which module is responsible for keyboard input (ps/2, usb, ...) and vga output (only physical), so I can remove them from my ...
3
votes
1answer
56 views

Where can i find any information about ancient doshell(8)?

I check the openvt manual by running "man openvt" command, and i found doshell(8) under "SEE ALSO" section: But there's no manual if i do "man 8 doshell": I checked the online manual at ...
3
votes
1answer
108 views

Caps lock doesn't take effect on all letters

I have a laptop running Debian Jessie with only the Linux console (X server not installed). On this laptop caps lock doesn't take effect on the special Danish characters æøå (I just get æøå instead of ...
0
votes
4answers
105 views

Unwanted console text

For some reason, every time I plug in a USB device, a whole bunch of messages get dumped onto the terminal. (Saying something about device IDs, buffering modes, etc.) How to I prevent this from ...
2
votes
1answer
201 views

RHEL7 text-only installation

I want to install RHEL7 in purely text-only mode. Although I added the inst.text and inst.cmdline kernel option (since I want it to install from kickstart) it still requires more than a console as it ...
2
votes
2answers
113 views

Changing TTY font to a non-default font

I found two ways to change the TTY font: dpkg-reconfigure console-setup editing /etc/default/console-setup Either way I'm limited to the fonts in /usr/share/consolefonts (I'm using Debian). How ...
10
votes
6answers
239 views

Options to show images when on the console

When I am on the console (the tty, the virtual terminal, which you reach with Ctrl+Alt+F1-6, not a terminal emulator), what options do I have to view images, tiff, whatever that's not text?
1
vote
2answers
501 views

How to change the default TTY after boot?

Normally when system starts you have all output printed on the TTY1, and that's ok, but I start X-server via startx and achieve this by the following lines in the ~/.profile file : if [[ $(tty) = ...
0
votes
0answers
72 views

TTY not work after X starts

I have a HP Envy4 5306tx laptop with Intel+Nvidia dual cards, and I install fedora 19 X64 on it without NVidia proprietory driver. However, there are some problems about the X and TTY。 The TTYs are ...
7
votes
1answer
177 views

Why do we need so many terminal emulator packages and what is their use?

This is something that has been so confusing to me for a long time. I am using Linux but I have gaps in my understanding of certain aspects and one is about the terminal. As I came to understand it ...
0
votes
2answers
31 views

Configuration file for Virtual Console

Does any configuration file exist for virtual console, when a user logins in it which is read and executed ? My requirement: To execute some shell commands when a user logins using the virtual ...
13
votes
4answers
646 views

Is there any reason why I get ^[[A when I press up arrow at the console login screen?

Whenever I'm at the console login, I press up arrow intentionally to see the previously typed commands. But I see this ^[[A. But when I press Ctrl Alt Print Screen Scroll Lock Pause Break Page Up ...
0
votes
0answers
60 views

Opening TTY or using IBus freezes Linux?

For some reason, whenever I open a TTY, if I switch back to X11, it will be completely frozen except for the cursor. The exact same thing also happens whenever I use IBus to switch to ibus-mozc for ...
2
votes
2answers
76 views

How do I prevent the screen from blanking?

I am running 12.04 Ubuntu Server and my screen blanks after some time. I am unable to unblank it without power cycling the computer. I can however log in via ssh and type who see that the tty1 ...
2
votes
1answer
207 views

accessing stdin/stdout of a process started in another tty

I logged in to my linux physically(say tty1) and started a process that watches stdin for commands and has some stdout-put. How can I access/use this process from a SSH session?
1
vote
1answer
710 views

/dev/console dynamic redirection

Is it possible to dynamically redirect all data sent to /dev/console into something else (for example - to /dev/null, /dev/tty9 or even /dev/null)? Of course, it can be done statically via ...
5
votes
1answer
1k views

Read what is written to /dev/tty*

How can I read what is written to /dev/tty*(* = 0 - number of tty)? I tried sudo tail -f /dev/tty1 on one terminal(X) and then sudo cp .emacs /dev/tty1 from another. X didn't show the the content of ...
2
votes
3answers
234 views

RHEL - shutdown a locked out system

I have a RHEL system which is locked out. I don't have the password of the system. If am able to shut it down or properly restart it, I can edit the kernel to have single mode and then reset the ...
2
votes
1answer
295 views

Boot graphical application straight from Linux bootup (without verbose boot messages and desktop)

Is it possible to boot from minimum Linux core(Linux/Android) to an application (preferably created in interchangeable platform languages such as C# – Mono / GTK / Java / C) without any verbose ...
1
vote
0answers
34 views

How to get 256 color support in a login shell TTY? [duplicate]

I want to experiment with a fully text-based environment, however, the only thing that is stopping me - is getting 256 colors so my Vim color schemes could work perfectly. When I enter a TTY by ...
2
votes
1answer
308 views

Is many consoles in securetty file a risk?

I got a problem So I expect you can give me an answer. I have to evaluate the security of a RedHat server. The idea is review the /etc/securetty file to ensure that only the console tty is listed. But ...
1
vote
1answer
105 views

Clearing the “old” scrollback buffer

This might seem to be a duplicate question but it isn't. I know that I can use printf "\033f" to clear the scrollback buffer of the "current" session but that doesn't work for old sessions. My ...
1
vote
1answer
3k views

Change the number of rows and columns in the TTY [duplicate]

I want to resize the terminal which comes up when you press CtrlAltF1 (or F2,F3,...). 25x80 is small for a 24" screen. Tried using stty, but the commands stty columns 200 and stty rows 50 does not ...
3
votes
1answer
388 views

Loadkeys gives permission denied for normal user

I am trying to perform loadkeys operation. For normal user, I am getting permission denied error. the error is as follows. <tim@testps>~% loadkeys mykeys Loading /usr/tim/mykeys Keymap 0: ...
3
votes
2answers
132 views

Multi-function CapsLock without X

I would like to remap CapsLock to Esc when pressed by itself and Ctrl when pressed with another key without using X. This is similar to a previous question ( Remap CapsLock to Escape and Control ...
3
votes
5answers
3k views

Copy specific file type keeping the folder structure

I have a folder structure with a bunch of *.csv files scattered across the folders. Now I want to copy all *.csv files to another destination keeping the folder structure. it works using: cp ...
3
votes
1answer
189 views

Switch to TTYs without Function keys

At the moment I have a keyboard which lacks function keys (F1 through F12), and I was wondering - is there a way I could switch to textual TTYs (and back, which might prove to be a problem if I were ...
4
votes
5answers
7k views

How can I page up or down in tmux with Terminal.app?

I have tmux installed. But I can not scroll up or down. I.e. as soon as I tmux I get only a portion of the screen and can not scroll up. crtl-b + Page Up does not work since I am in Mac and I can not ...
7
votes
1answer
223 views

How do I prevent system information from being displayed on a terminal?

I'm working on a curses GUI that is supposed to start up automatically on boot-up in the default linux terminal (I have no X server installed). I have this working great, but I have a problem where ...
2
votes
1answer
2k views

open /dev/fb0: No such device

I installed fbi framebuffer to view images on TTY terminals (outside X). When I do: fbi image.jpg it outputs the following error: open /dev/fb0 no such device Yet when I run ls /dev/fb*, I ...
6
votes
5answers
267 views

Is it possible to view media on the console?

I know the console (outside X11, e.g. /dev/tty1) works in text-mode, but I think if it is possible to play music using programs like cvlc and mplayer, it should be possible to view pictures and watch ...
4
votes
1answer
888 views

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

Using LDXE and Ubuntu, I can log into a virtual terminal via CTRL+ALT+F1. The text is far too small. How do I change the screen resolution to get a larger font?
3
votes
2answers
252 views

Clipboard sharing between the host OS and a virtual console of a VirtualBox linux guest

I have a CentOS guest OS running without X11. Is there anyway I can paste text from the host clipboard into the virtual terminals or highlight text in the vt via the console mouse daemon and paste it ...
5
votes
2answers
199 views

Fully Disable PrntScr Key

I recently came across a Linux feature I have never seen before, where pressing the PrntScr button on the keyboard prints a physical piece of paper with the contents of my console. I really need to ...
2
votes
1answer
577 views

Console font - how to show accents?

Arch linux on VirtualBox. My problem is the console (not X) does not show accents like "á ã ç". The problem is showing, not typing. I have a text file with these accents and when I use "cat" the ...
2
votes
1answer
280 views

Non-graphical tty's not stretching full screensize

on tty7 (graphical environment) nothing's wrong, I can enjoy the whole pixels of my screen which is the main thing. But here's something a bit annoying, when I switch on terminals from 1 to 6, the ...
5
votes
1answer
123 views

Why are multiple command-line terminal consoles available/running at the same time on RHEL systems?

I'm studying for the RHCSA and am trying to wrap my mind around a seemingly basic concept: terminal consoles. I don't understand how/why RHEL systems make 6 terminal consoles (/dev/ttyN) available ...
1
vote
1answer
252 views

Can I use xterm to read/write to a pts without spawning another process (e.g a shell)?

I have a process which reads and writes to a pseudo terminal. I would like to open xterm and have it open a pseudo terminal and leave it open so I can communicate with this process without creating ...
29
votes
1answer
780 views

What happens when Ctrl + Alt + F<Num> is pressed?

I am looking for an explanation of what happens in Linux when this key combination is pressed to change the current terminal. In particular, what software component intercepts this key combination and ...
43
votes
2answers
29k 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? How do they compare?
4
votes
2answers
966 views

Why are there so many virtual terminal devices?

I've been reading the Advanced Linux Programming book and it mentions about virtual terminals which, if I understood it correctly, it is a Linux-specific feature (not in Unix) to allow multiple login ...