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 [virtual-console]

Virtual consoles reachable with Ctrl+Alt+F1-F6

0
votes
0answers
41 views

Ctrl-Alt-Fx doesn't work: Getty / VT vs X session bug (18.04)

I've run into problems with virtual terminals. I boot up, log in via VT, startx. Next, I'm going to another VT (e.g. ctrl+alt+f2), login there too, and exit that vt (tty2). What happens next is ...
2
votes
0answers
87 views

Enabling virtual consoles in Ubuntu 18.04

I have used the virtual consoles (tty1-6) for decades in various Linuxes. I recently installed Ubuntu 18.04 (Bionic Beaver) on an x86-64 box. Everything is fine, except that the VCs don't work. As ...
0
votes
0answers
33 views

Hard disk locked

I have a problem, mi external hard disk is locked. Someone knows how to solve this problem. When I try to access it by inserting the password, an error message appears. It says: 'Error unlocking, ...
0
votes
0answers
21 views

What are the steps towards having a tty with at most 200 chars per line at 4K resolution?

My new laptop has a 4K screen. There are no bitmap fonts large enough to achieve 200 chars per line or less. More than 200 chars per line are just too tiny to read for me. I wouldn't like to change ...
0
votes
0answers
61 views

Extract content of (corrupted?) .ova file

I have VirtualBox on my laptop and a .ova file which is a Ubuntu VM (Ubuntu 18.04) from another laptop. I want to import this .ova file into VirtualBox but I get the following error: Could not find ...
0
votes
1answer
60 views

How to copy root file system in Ubuntu

I want to copy my Ubuntu's root file system into another folder (perhaps /home/rootfs). I am not trying to copy /, which is the root file directory, but am trying to copy the root file system. Does ...
1
vote
1answer
61 views

Root shell on VT 9

When I switch to VT 9 by pressing Ctrl+Alt+F9 I get a root shell by default without a password prompt. How can I change it to demand a password before giving root shell access? I am using Ubuntu 16.04 ...
0
votes
0answers
23 views

Starting a different X session on tty8 fails

I have two users on my computer (ubuntu linux 16.04) and I want to be able to have them both logged in at the same time on different virtual consoles. I have followed instructions here but the ...
10
votes
3answers
691 views

How to have script detect if terminal emulator is running in a desktop session or not?

I have scripts I run that write out a text file, then open it in an editor. If I open a terminal emulator window in my desktop session and run the script, I'd like the editor to be a graphical one ...
4
votes
0answers
810 views

Access terminal from login screen on Ubuntu 18.04

I would like to open the terminal from the login screen. In previous Ubuntu releases I just used Ctrl+Alt+F1. However, when I press Ctrl+Alt+F1 in 18.04, nothing happens, the login screen just stays ...
6
votes
1answer
145 views

Clickable link + popup menu

Is it possible to have a clickable link, in my PS1, that opens a pop-up menu or something similar? My scenario I've personalized my .bashrc, to show my PS1 as user@machine: path #/$ and if I'm ...
0
votes
2answers
190 views

Why is /etc/init/tty?.conf ignored in Ubuntu 16.04?

When using Ubuntu 14.04, I used to have a custom /etc/init/tty2.conf that started a program in this virtual terminal. But after upgrade to Ubuntu 16.04, these files seem to be ignored. Regardless of ...
2
votes
1answer
105 views

What is the best way to install Ubuntu on cloud

I am currently using Ubuntu 17.10 using Oracle VirtualBox on USB as hard disk. Would like to know if it is possible to install Ubuntu on cloud for personal use and will it be faster compared to ...
3
votes
3answers
734 views

How can I record the screen (or screencast) in text mode?

Basically I want to capture the process of installing a driver in Ubuntu so I can watch it later. There are screen capture applications such as SimpleScreenRecorder, but they won't work in text mode ...
0
votes
0answers
40 views

Error while installing powerline

I recently installed powerline for bash and it seems to work fine but it made my terminal to load very slow. But when my main concern is when i go to my console pressing CTRL + ALT + F1 it shows some ...
2
votes
1answer
290 views

How can I distinguish a terminal window (GUI) from a console (CTRL+ALT+F3)?

I use a coloured bash prompt like so: blue=$(tput setaf 4) reset=$(tput sgr0) bold=$(tput bold) export PS1='($?) \[$bold$blue\]\u@\h:\w\[$reset\]$(__git_ps1)> ' I usually work in a terminal ...
0
votes
0answers
26 views

Virtual Terminal auto-types Ctrl+2 (^@)

I'm using Ubuntu 16.04. I'm trying to install Nvidia drivers so I'm opening the virtual terminal using Ctrl+Alt+F1 (or any F1 to F6 key). The problem is that when the terminal opens it will keep ...
0
votes
1answer
34 views

I'm getting a typed character every second or so on the console in Server 17.10

I tried to install Server 17.10 on my machine. As soon as the login prompt appeared, I started getting a character typed approximately once a second, even with no keyboard attached to the server. Each ...
2
votes
1answer
81 views

Ctrl+Alt+F-keys do not respond after having gone in the loginless virtual console

Situation I am working with Ubuntu 14.04 LTS. My computer was (and is) running a several-day long task launched from a terminal in the desktop environment. I then sent it to the background and ...
1
vote
0answers
50 views

standard and custom keyboard shortcut for terminal not working, every other shortcut continues to work. Ubuntu 17.10 w/ GNOME

I like to use super + t to open up a terminal. I set that in the keyboard shortcuts setting to open a terminal. It works immediately after I set it, but after some time, or a logout it stops working....
0
votes
0answers
41 views

screen: I start two screens, but there is only one?

After doing screen -S foo screen -S bar screen -ls I see two screens: 1234.foo and 5678.bar (both Attached). How can they be both attached, as I'm only in one at a time? (Presumably the last one I ...
2
votes
0answers
135 views

How to switch between console mode and GUI in 17.10 in X.Org mode? [duplicate]

This is related to this question about How to switch between console mode and GUI in 17.10?. I tried the highly-upvoted answer, which sounds like it is correct, but it does not work for me. I am ...
53
votes
1answer
16k views

How do I switch between console mode and GUI in 17.10 and newer?

After upgrading to 17.10 like a true pioneer, I found the old CtrlAltF1 no longer switches between console mode and GUI, and a quick Google search brought up nothing useful. Was this feature removed ...
0
votes
0answers
95 views

How to switch back to graphical vt

In Ubuntu 17.04 I can easily press Alt-Ctrl and f1 to f6 to switch between the virtual terminals in text mode, but the usual Alt-Ctrl f7 (or any of the other f keys) does not take be back to the ...
1
vote
0answers
43 views

fix virtual consols fires with A:T+Fx (without CTRL)

When I press ALT+any Fx (x in range of 1..7) keys fresh install Ubuntu Gnome 17.04 switches virtual console, and when I return to GUI it executes repetive ALT+Fn command. For example if I press Alt+F4 ...
0
votes
0answers
133 views

Error while using graphics.h

I have visited this site to know how to use graphics.h But I am getting an error while using sudo apt-get install libsdl-image1.2 libsdl-image1.2-dev guile-1.8 \ guile-1.8-dev libsdl1.2debian ...
0
votes
0answers
23 views

Keep Getting Eth0 Error Messages

I keep getting these error messages with eth0: Output of ifconfig:
3
votes
0answers
43 views

How to programmatically trigger Ctrl+Alt+F1 without sudo? [duplicate]

I was looking for a command which will allow me to trigger Ctrl + Alt + F1. This is so that I can invoke the command from the Alarm Clock app, which will ensure that I "notice" the alarm. I usually ...
0
votes
0answers
586 views

Can't get startx to work 'Couldn't get a file descriptor referring to the console'

this is what I get when I try to: ubuntu@ip-172-31-25-76:~$ startx xauth: file /home/ubuntu/.Xauthority does not exist X.Org X Server 1.18.4 Release Date: 2016-07-19 X Protocol Version 11, ...
0
votes
0answers
235 views

17.04 freezes on restart, shutdown, and virtual terminal

I first noticed the issue when I tried to shutdown or restart my laptop. However when I tried to apply a fix using a virtual console it completely froze. It still displays the desktop but the mouse is ...
5
votes
2answers
178 views

Prevent extraneous formatting of apt output

When using apt from "dumb" terminal (this is a code word for Emacs), it produces many lines of garbage output (it probably tries to display progress, but it doesn't work on this kind of terminal). ...
1
vote
1answer
154 views

how to recover from a freeze without rebooting? [duplicate]

What alternatives are there to REISUB for dealing with system problems? The windows task manager has its good points in this regard. Or, key combination to logout. It's not always possible to get ...
1
vote
0answers
141 views

How to paste in a console by using gpm and a touchpad

I would like to use gpm and my touchpad in a console. However, I don’t know how to simulate a middle click for pasting. I am trying to start gpm in two button mode - “-2 Force two buttons. This ...
1
vote
0answers
40 views

can't leave virtual console

I opened a virtual console with Ctrl+Alt:F3 and now can't get back to the regular X display with Ctrl+Alt:F7. The screen is black, the fan is going, the power is on. The light on my mouse doesn't ...
-1
votes
1answer
255 views

Virtual machine does not show Graphical user interface

I have a VM running ubuntu 16.04 desktop version. I am able to access the vm from my host machine through a terminal, but however i cannot access the desktop version (graphical). The screen appears ...
0
votes
1answer
5k views

What's the RGB values for Ubuntu's default terminal (Unity)?

I'm running Windows Subsystem for Linux and the color in Windows console is bad. I like the color palette in Ubuntu 16.04 very much. I've already known how to change the colors in a Windows console, ...
5
votes
3answers
1k views

Command to switch to tty1?

I want to make a list of commands to install everything so it's easier the next time I do it, however, I wanted one of the commands to do CTRL+ALT+F1 for me.
0
votes
1answer
86 views

Keep session on while in virtual terminal

I like to use a virtual console (accessed by CTRL + ALT + F<1;6>) for sys configuration and management on my laptop. After returning to a KDE session (the one with GUI - no idea how do you call it :...
1
vote
1answer
118 views

How can I make Yakuake/Guake to show the right margin vertical line?

I work with some projects which requires data to be exact lenght, let's say: 120 characters. Some editors, like gedit provides such functionality which allows you to visually have a limit where to ...
11
votes
2answers
4k views

enable ctrl+alt+F1 virtual consoles in ubuntu gnome

In previous versions of Ubuntu, CtrlAltF1 through F6 opened up virtual consoles. On Ubuntu Gnome 17.04 CtrlAltF1 opens another GUI and the others do nothing. How do I restore the old behavior?
3
votes
1answer
3k views

Libvirt: virsh console - no response

Issue I have Ubuntu 16 as the host running Ubuntu 14 as a guest (kvm). I installed the VM using virt-install All settings and configuration seems fine # virsh list Id Name State ---------------...
1
vote
0answers
62 views

Change Geany Terminal keybindings

I would like to change the keybindings used in the vte terminal window in geany. For example, I would like to replace the current paste in terminal (ctrl-shift-v) by ctrl-v. How can that be done?
1
vote
0answers
36 views

Displaying Hebrew in virtual console [duplicate]

I am using Ubuntu server 16.10, XTerm and Emacs display Hebrew and Arabic script fine. When used from within the X windowing system, the virtual console itself, that is not the terminal emulator, ...
3
votes
1answer
677 views

Why can I not use the virtual consoles on Ubuntu 16.04?

I'm currently unable to use any of my virtual terminals on Ubuntu 16.04 (the ASCII consoles accessible with CTRL+ALT+F[1-6] or chvt; that is, /dev/tty[1-6]), but only intermittently. When I first boot ...
19
votes
2answers
2k views

Alt+Left and Right arrow keys change from GUI to console

I'm using Ubuntu GNOME 16.10 and recently I noticed that by pressing Alt+Left changes from the GUI to the tty. I use that shortcut regularly and this behavior interferes with my workflow. How can I ...
3
votes
0answers
238 views

Alt + F keys always switches to virtual terminal on Ubuntu 16.04.2 [closed]

As of recently something has changed the behavior of Alt on my system. I am running Ubuntu Gnome 16.04.2 LTS. When I press for example Alt + F4, the system opens the 4-th virtual terminal and only ...
4
votes
1answer
4k views

How do I change rxvt colors to white on black?

By default, on Ubuntu, rxvt terminal is black on white. How do I change it to white on black? I'm running Lubuntu 16.04 LTS
1
vote
0answers
404 views

Virtual consoles (tty1-tty6) not working on Ubuntu 16.04

Mostly, when I open more than 1 instances of Android Studio, somethings must be getting swapped onto the SWAP memory. Virtual consoles show erratic behavior when swap is used. The tty1 to tty6 ...
0
votes
2answers
111 views

I need to add a new route (terminal) and have my c++ server go through it

I am on a Ubuntu VM version 16.04. I need to add a new route in terminal and have my c++ server application go through it. I tried figuring this out, but I'm a beginner and am having trouble. I ...
8
votes
3answers
1k views

Shutting down the system using a virtual console

My computer is freezing from time to time. It's because I make few mistakes and I ruined my system. I don't have any time to reinstall the system now. While my PC is frozen, it still works when I ...