After booting to the GUI in 12.04, I attempt to move to the virtual terminal (or shell, or tty) via Ctrl–Alt–F1 (F1 through F6), and the screen remains blank. I have tried all 6 tty instances and the results are the same. Ctrl–alt–F7 brings me back to the GUI without a problem. Any thoughts?
Command Line – Why Does Switching to TTY Give a Blank Screen?
command linevirtual-console
Related Solutions
My understanding is that virtual terminals basically serve the same purpose: ie. A command line environment for various optional command interpreters
This isn't strictly true. Virtual Terminals are merely programs that send keystrokes and receive output (this is called Standard In, Standard Out[ and Standard Error]) to a process in the background. This is a basic input → processing → output system, and is at the heart of your operating system.
Man working at a Computer Terminal
Let's see if I can explain it properly:
In a Unix–like system such as Linux there is the concept of "everything is a file". That means, for example, your DVD Drive is a file (/dev/sdb1), your keyboard is a file (/dev/input/keyboard) and so on.
Another set of those magical files are the TTYs, where TTY stands for Teletype. A Typewriter that sends keystrokes to a computer, which in turn sends letters back to the Type Ball. This would have represented a physical device, a remote typewriter, in the same way as /dev/lp0 may represent your printer.
A hardware terminal, the VT100
The Teletype workstations would have been called "Consoles" or "Terminals", a virtual terminal, as opposed to a real one, thus is any application or machinery that provides the same functionality as this workplace arrangement - which is accessing the computer by sending keystrokes to it and receiving output back from it, printing it to a piece of paper. You can imagine that a Modem works in a very similar way.
Terminals, such as the one pictured above, are cheap and simple computers that emulate the functionality of a teletype. When we say terminal emulator these days, we - in turn - usually mean a program that emulates the functionality of such a machine.
There are still terminal based computer systems in use. They are in fact getting ever more popular. In the past, the reason for terminals was that a computer at every desk was completely ridiculous - where computers filled a room and were immensely expensive. Now, it saves money and makes administration easy.
a "thin client" – the modern equivalent of the VT100
I hope that this is helpful. Please alert my if I've made a mistake.
Does that mean that Control-Alt-F1,F2,etc are also virtual terminals, and the only difference between them and "gnome-terminal" / "konsole" is that they don't have a GUI?
Yes, basically. The difference between TTY1-7 and gnome-terminal is that the system provides the ttys, whereas gnome-terminal and konsole are themselves running on a tty (which is running the graphical subsystem). This abstraction can be nested even deeper (e.g. x-forwarding, using the telnet protocol to act as a terminal, ...), after all, the human—computer interface acts just like any other file. And can be piped, abstracted and moved about in the same way.
There is a possibility of having some problem in the boot partition in which you have installed Ubuntu.
Go with this instruction to check if there is any problem there or not:
Make a bootable USB and boot your system with it. Find your main partition in which you have installed Ubuntu. You may use sudo blkid
to get a list of all your partition. I assume that partition is /dev/sda1
.
Make sure that partition is not mounted. Then, in terminal, use this cammand: sudo fsck -a /dev/sda1
If it finished with no error, you can restart your system. It the problem be related to what I said, it should be solved now. Your issue must be solved.
Best Answer
This is usually caused because the graphical text-mode resolution set at boot up is not compatible with your video card. The solution is to switch to true text-mode by configuring Grub appropriately:
Paste the below, and enter your password when asked:
Then type
sudo update-grub