Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [virtual-console]

Virtual consoles reachable with Ctrl+Alt+F1-F6

Filter by
Sorted by
Tagged with
0
votes
1answer
17 views

How to configure the guest vm(Ubuntu16.04) to get ip from bridge network of the host vm(Ubuntu16.04) using KVM hypervisor?

I'm having trouble to get IP from the bridge network which was custom configures for 10.* addresses and now my guest VM was picking default address 192.*.
1
vote
0answers
20 views

Freeze on close terminal

Consider the following steps. I ctrl-alt-f5 into a terminal. I log in. I hit ctrl-d, or exit, to exit the terminal. My screen shows the graphical login page. (This is unexpected.) Neither the mouse ...
0
votes
1answer
44 views

Ubuntu 16.04, too many ttys

I'm working on a zynq board with Ubuntu 16.04. I find that there are more than 300 /dev/tty*. My question is how can I reduce the number of TTYs?
0
votes
1answer
27 views

Virtual terminal 1 not working, system logs out instead

Posted this in the Ubuntu One forum, but because of little activity, I am posting the question here too: 5.0.0-25-generic #26~18.04.1-Ubuntu SMP Thu Aug 1 13:51:02 UTC 2019 x86_64 x86_64 x86_64 GNU/...
1
vote
1answer
98 views

How to get out of tty1 when you don't know your login and password

I'm having trouble logging in to the console in Ubuntu 19.04. I need to enter a login and password. When I enter my username and password, the console rejects the login. Keys Ctrl+Alt+(F1-F12) don't ...
0
votes
0answers
27 views

Using Ubuntu 18.04 in VirtualBox, Host+F1 opens login screen instead of Virtual Terminal

Linux newbie here. I am using VirtualBox and Ubuntu 18.04. Using Host (right Ctrl) + F1 does not start the Virtual Terminal, the login screen is displayed. I have VirtualBox with 16.04 installed,...
0
votes
0answers
17 views

How Virtual Terminals propagates their window size to child processes?

Following code can be used to get 'fresh' size of terminal window. struct winsize ws; ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws); From the other side, only terminal process knows its window size, how ...
1
vote
0answers
34 views

How can I fix virtual terminal size for external monitor?

I plugged in my 4K external monitor (Dell 27 inch) to my Lenovo Thinkpad l540 running Ubuntu 18.04 using a mini displayport cable, and it works perfectly when I'm in the GUI. (The scaling option I ...
0
votes
0answers
80 views

Can't log, and can't launch the console mode

After launch a game, I cannot log. The resolution of the logging page is low. I think that the nvidia drivers are corrupted. So, I want to log with the (virtual) console mode and reinstall the ...
6
votes
3answers
1k views

How do I increase the number of TTY consoles?

I often find it convenient to work entirely from the command line, and like to have several tty "consoles" open simultaneously. How do I make my system default to having more than the traditional 6 ...
0
votes
0answers
65 views

How to switch to text console without logging out GUI on 18.10

Occasionally I need to drop into the text console (via ctrl+alt+f1), usually to kill something. When I try to return to the graphical console (via ctrl+alt+f7), I've been logged out of my GUI session ...
0
votes
1answer
84 views

No text console with custom kernel

I've recently started using my own custom kernels in Ubuntu, and they are working without problems, with the exception that I don't have a text console when I press any of the key combinations Ctrl+...
0
votes
1answer
34 views

Why is the dropbox daemon running immediately whenever I open a new terminal window?

Every time I open a new terminal window, the dropbox daemon starts. There is nothing in my .bashrc to start this, nor is Start Dropbox at system startup enabled. Why is this happening? dropbox: ...
0
votes
1answer
666 views

Can't login and no password prompt when trying to login as root on console on Ubuntu 18.04 running inside LXC

I have several installs of Ubuntu 18.04.2 inside LXC containers in several nodes running Proxmox 4.4-24 (Debian 8.11). On any of these, When I try to login as root on the console, I enter "root", ...
2
votes
1answer
112 views

Cannot logn on virtual terminal - return repeating? [duplicate]

My Ubuntu 18.04.2 system is working OK except for the following problem: I cannot seem to be able to login on any of the virtual terminals (Ctrl+Alt+F1 to F6. Specifically, I can type my username ...
0
votes
0answers
447 views

Ubuntu 18 login loop and can't open terminal

I have upgraded my ubuntu 16 to 18 and after reboot I am stuck into login loop, found this solution but I am also not able to open terminal from login screen, ctrl+alt+f* not working. Is there any ...
0
votes
0answers
117 views

virtual terminal login doesn't work any more - looks like a script running [duplicate]

I used to be able to log in into a virtual terminal opened by Crtl+Alt+Fx. But since some days this doesn't work anymore. I can open the virtual terminal and get the login prompt. If I write my ...
0
votes
0answers
255 views

Can't Type Password in Virtual Terminal

If I change to a VT by pressing Ctrl+Alt+Fx or use sudo chvt I am able to type my username however when I am prompted to enter my password it is as if enter is pressed immediately and I am unable to ...
1
vote
0answers
118 views

Login Failing in Virtual Console

I am on Ubuntu 16.04.5 LTS. When hitting Ctrl+Alt+F1 (F2 ...) I get a terminal login prompt in the virtual console. After entering the user name and pressing enter, it shows the Password: and ...
0
votes
1answer
107 views

Can't start any terminal

I'm on Ubuntu 18.04 bionic with a xfce desktop. Today I needed a terminal and had to learn that I'm not able any more to open ANY terminal emulator. The terminal windows just close as they appear. I'...
1
vote
0answers
34 views

Weird login behavior in tty1-6 [duplicate]

I have a very peculiar problem with my ubuntu 18.04 LTS. I press Ctrl+Alt+F1 to go to tty1 as always. And there is the classic screen that you have to login as always. But when I try to login this ...
2
votes
1answer
9k views

Ubuntu 18.10 is stuck at loading screen after new installation

Very much like: Ubuntu 18.04 is stuck at loading screen after new installation Except for being Ubuntu 18.10 The only way to interrupt a hung system like this, which simply never completes the boot ...
1
vote
1answer
66 views

Switching from virtual terminal back to X disables keyboard

When switching from virtual terminal back to X the keyboard does not work any more. I'm using Ubuntu 18.04 server 64bit and on boot only kodi-standalone with openbox is started. Graphical driver is ...
0
votes
2answers
128 views

Graphical interface startup issue

The problem is with 18.10 cosmic desktop after a do-release-upgrade. Before the release upgrade I did not have this issue, or at least I did not notice it. The issue is that when the OS starts, the ...
1
vote
1answer
437 views

Ubuntu 18.10: Screen lock options grayed out

Recently upgraded to Ubuntu 18.10, having two problems. Easiest to explain: when I open "settings", go to "privacy", select "screen lock", I get the popup window with the screen lock settings, but ...
1
vote
0answers
103 views

Unable to change virtual terminal

I am currently running on a freshly installed Ubuntu 18.04.1 LTS, and I am unable to change virtual terminal. I tried using the keyboard shortcut CTRL+ALT+F[1-6] which doesn't do anything and the ...
0
votes
0answers
144 views

Ubuntu 18.04 console vsync?

So I recently upgraded to Ubuntu 18.04 from 16.04 and I find that its console (tty) is a little slow. In 16.04 a wall of text would appear almost instantaneously. Now it seems like every new line ...
0
votes
0answers
124 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 ...
6
votes
1answer
2k 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
308 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
1answer
492 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 ...
2
votes
1answer
159 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 ...
10
votes
3answers
759 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 ...
11
votes
1answer
4k 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
239 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 ...
2
votes
2answers
1k 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
149 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
786 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 ...
1
vote
1answer
123 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 ...
3
votes
1answer
359 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
1answer
35 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
130 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
63 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
84 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
146 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 ...
57
votes
1answer
26k 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
227 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
47 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
194 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
25 views

Keep Getting Eth0 Error Messages

I keep getting these error messages with eth0: Output of ifconfig: