Questions tagged [tty]
A tty (teletypewriter) is a Unix command that prints to standard output the name of the terminal connected to standard input. It is typically called a terminal. the first local terminal is referred to as tty1 and resides in /dev/tty1
642
questions
0
votes
0
answers
36
views
Can´t start terminal in any way, or TTY, after installing Python 3.12 on Ubuntu 20.04 [duplicate]
After installing Python 3.12 on Ubuntu 20.04 I cant start the Terminal in any way, nor can I start TTY to solve the problem. Any ideas?
5
votes
2
answers
9k
views
Ctrl+Alt+F[1-12] don't switch to TTY
After I installed my new keyboard, I discovered that pressing Ctrl+Alt+Fn (where n is a number 1-12) keys no longer brings me to the tty screens (nothing happens), but sudo chvt 1 in the terminal ...
2
votes
1
answer
10k
views
Can't find ttyUSB in /dev after connecting my USB dongle
I'm desperately trying to connect a 3G dongle to Ubuntu 12.04. Unfortunately, every time I try to connect (using wvdial) I'm met with the message Cannot open /dev/ttyUSB0: No such file or directory I ...
0
votes
0
answers
53
views
Bash not working in TTY/gnome-termina/Xterm
I opened the terminal today and all I could see was this white blinking bar:
I opened Xterm and there is the same problem. Also, TTY doesn't work well, I can login and then I cannot type anything. I ...
-1
votes
0
answers
35
views
When booting, I entered the tty1 interface and some errors occurred
Ubuntu version: Ubuntu 22.04.2 (x86_64 emulation)
After I executed this code sudo apt install -f, there was a problem with the system. Then I restarted and entered the tty1 interface.
I tried to fix ...
0
votes
2
answers
8k
views
dev/ttyacm0 does not exist despite showing up in dmesg
I'm trying to run rosserial with a teensy 3.6, but am getting the following error
[ERROR] [1603751770.005130]: Error opening serial: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file ...
21
votes
3
answers
38k
views
How to enable or disable GUI in Ubuntu
Say if I wanted to replicate Ubuntu Server and have no GUI running what would I do to make this happen? Upon running htop/top from tty session I see both gnome and xorg are still running and sucking ...
4
votes
3
answers
6k
views
Stuck in TTY after install. Seemingly full functionality except for the lack of any GUI
I used startx which gave:
update and startx output in TTY
I am going to try:
sudo apt-get install --reinstall ubuntu-desktop
However, I just wanted to post here to see if there's anything else I can ...
0
votes
0
answers
67
views
Ubuntu 20.04 . Screen extends beyond monitor in tty/console mode
Adter upgrading to 20.04 the default resolution of 1920x1080 makes screen window extend beyond my monitor
I can switch to a lower resolution in the graphic mode (1680x1050 works fine for me) but ...
1
vote
1
answer
156
views
Ubuntu 22.04 black screen after NVIDIA update
I only have Ubuntu 22.04 on my laptop. I tried to update NVIDIA drivers since Pytorch won't see CUDA on my laptop. I installed it and then decided to re-boot my device. Now I have a black screen with ...
1
vote
2
answers
2k
views
Change language in Ubuntu tty2 login mode
I have login problem of this kind:
A start job is running for Hold until boot process finishes up (Xmin Xs/no limit)
Do when I press Alt+Shift+F2, so it going to login page and the problem is that ...
3
votes
2
answers
5k
views
Why does `startx /usr/bin/unity` not load my desktop settings?
I am trying to open a second X session with unity on display :1.
For this to achieve I open another terminal (e.g. tty 6) with Ctrl + Alt +6 and login as the user whose desktop session I want to ...
0
votes
3
answers
9k
views
How to exit from TTY mode
I accidentally changed the video driver on my Kubuntu from NVIDIA to Xserver-xorg-video-nouveau, rebooted my PC and now my GUI does not load after GRIB. Instead of GUI, I can see TTY mode.
I logged ...
0
votes
0
answers
91
views
Login loop - Squares instead of letters in the username
After upgrading to Ubuntu 23.10, I got a login loop problem. Also when I try to login through the tty, typing in a user gets these rectangles instead of the letters. When entering numbers, they are ...
0
votes
0
answers
305
views
How to connect to ESP32-wroom-32
I'm starting – or trying to start – working with an ESP32-WROOM-32 board, using Ubuntu 23.04, ultimately in order to install WLED to control lighting via Home-Assistant.
So far, I've connected the ...
4
votes
2
answers
7k
views
/dev/nvme0n1p2: [ 4.772818] Bluetooth: hci0: Malformed MSFT vendor event: 0x02
Goal: Boot to GUI Login.
Had warnings of disk being almost full. Deleted some conda venvs and docker images. Crashed immediately upon executing run of docker image.
Error at Bootup:
[ 0.453097] ACPI ...
0
votes
1
answer
8k
views
Cant login to tty on ubuntu 20.04, login incorrect and cant go to recovery
Probably /var does not have free space. It had happened before that I needed to empty /var. That is why it prompts to tty when it starts. I can't log in normally.
It says after the prompt,
`/dev/...
9
votes
1
answer
4k
views
20.04 restart frozen gnome
With fresh-installed 20.04 sometimes I get almost completely frozen GUI. Almost completely -- I mean I can not do Alt+F2 and r. And while the mouse pointer still moves, the system does not respond to ...
104
votes
4
answers
155k
views
How do I change the font or the font size in the TTY (console)?
I am using Ubuntu 12.04. Recently, the font size for all of my TTYs became much larger.
How can I change the font size back to the default?
0
votes
0
answers
61
views
Ubuntu 20.04 starts the TTY session instead of loading of the GUI
From recent, when I am starting my PC, after the maker logo I see this (sorry for the image, I can't copy this):
Then, Ubuntu asks me for the user ID:
If to input this and the password, it will be ...
0
votes
0
answers
50
views
Stuck at tty 23.10 can't able to apt update
Can't able to apt update. And can't able to leave tty.
Can't even able to ping google.com
When I try aprm update:
Ign:1
And I have a doubt on my source list too.
I think I have issue with internet ...
0
votes
0
answers
36
views
Auditctl. Auditd. Monitor Link creation. Ubuntu 20.04
Is it possible to monitor creation of link of file? For example, I create file audit_file, so I want to create the rule which triggers when such a command is executed ln -s /home/user/audit_file ...
0
votes
0
answers
136
views
Accidentally removed the Gnome packages, how to re-install those using wget command from tty screen, unable to use install gnome commands?
As the Gnome packages was removed accidentally, how can we reinstall those using the wget command, I've tried updating & upgrading the system (Ubuntu 22.10), the dist-upgrade command I can't use ...
8
votes
1
answer
6k
views
Understanding "tty" and "ttyS"?
As I know
tty1 for gui login page
tty2 for gui using
tty3-6 for user using
What are tty0,tty7-tty63 and ttyS0-ttyS31 used for?
0
votes
0
answers
110
views
Can't login after suspending Ubuntu, No tty login prompt either
I have installed Ubuntu 22.04 alongside Windows 11 on my Asus Vivobook 16x Notebook powered by Ryzen 5 series processor.
I noticed that if I suspend it or it gets locked automatically after screen is ...
0
votes
0
answers
47
views
stuck on TTY after ctrl + alt + f12 ubuntu 22
Ubuntu had weird behaviour after I accidentally hit Ctrl + ALt + f12. I ended up in TTY shell.
After some reading, I hit Ctrl + Alt + F2 to go back on the principal UI.
It worked paritally for my ...
0
votes
0
answers
16
views
Cant get out from command window when accidentaly pressed Ctrl alt F1
When I pressed that command, I couldnt get out, I tried rebooting from command line, restarting the service gmd3 which is the graphics service, I tried ctrl alt f7-f12 and nothing happened, even with ...
10
votes
2
answers
11k
views
Switching between virtual console (tty) and GUI
How to switch between virtual console and GUI in Ubuntu? I wanted to see what key functions would allow me to switch between the two.
23
votes
2
answers
52k
views
Screen went black [duplicate]
I'm new to Ubuntu..
I'm not sure what just happened, but the screen just went black with the text:
Ubuntu 11.10 "my computer name" tty4
and I was asked to log on.
It happened when I closed Chrome (...
0
votes
5
answers
3k
views
Terminal launches to a blinking cursor
After a package installation using apt, all terminals stop working. To be more specific, I was getting a message every time I opened any terminal on my system:
Command 'ng' not found, but can be ...
50
votes
8
answers
93k
views
How to check which tty I'm currently using?
There are 7 terminals that can be used in our system. tty7 is GUI based.
How can I check which tty I'm currently using?
3
votes
1
answer
2k
views
Ubuntu 20 LTS. How to adjust [email protected] timeouts?
I am running the ARM64 build of Ubuntu 20.04 under QEMU. ~50% of the time the boot process reports this:
[ TIME ] Timed out waiting for device /dev/ttyAMA0.
[DEPEND] Dependency failed for Serial Getty ...
0
votes
0
answers
271
views
Why won't my tty1 let me login?
I have a raspberry pi 400, and earlier this week I was attempting to change some settings. When my computer rebooted, It showed the tty1 and asked for my login and password. I know both of these by ...
-1
votes
1
answer
1k
views
How to move back from tty to GUI in ubuntu version 22.04
My ubuntu version is 22.04 LTS after running sudo apt autoremove many thing from my ubuntu remove like ubuntu terminal and other applications so i press ctrl alt F12 them tty terminal opened I ...
0
votes
1
answer
357
views
Ubuntu 23.04 now boots to a TTY
My laptop at home runs Ubuntu 23.04, and has worked well for some time. Last night I was prompted to do an update, which I did as usual using apt from a terminal, and all appeared to complete ...
0
votes
0
answers
180
views
How to switch to CLI mode
I am using MacBook M1 Pro and I have installed Ubuntu 22.04.2 LTS on UTM VM.
I want to use ubuntu in CLI mode how can I switch, like in windows we have an option Ctlr Alt F3 and Crtl Alt F1 to switch ...
0
votes
0
answers
278
views
tty frozen/no login on ubuntu 22.04
On Ubuntu 22.04 after upgrade I can no loger login using ctrl alt f5 or similar.
Instead I get a locked up screen showing the boot progress but no prompt for login.
In fact I have the same issue on ...
1
vote
0
answers
81
views
How to disable prompt auto clear in Ubuntu
When starting Ubuntu in Hyper-V VM, (See picture 1), Ubuntu will auto clear the test login: prompt text at around 22 seconds. (See picture 2)
Now press Enter to make the prompt text appear again. (See ...
0
votes
0
answers
96
views
Choose from session type from tty
I am new to running native Ubuntu 22.04, only have used it with other distros on a WSL.
Is it possible to have my system boot to tty from where I can login to my user and then choose between a normal ...
0
votes
0
answers
236
views
TTY Login prompt text disappears after 30 seconds
we have an Ubuntu 20.04 which starts only with an TTY and no GUI.
After our customized /etc/issue is shown to the user the command prompt will be shown only for 30 seconds. The best solution should be ...
0
votes
2
answers
2k
views
Ubuntu 20.04 text console unresponsive in VMWare until killed
I'm having an odd issue with my Ubuntu virtual machines. Using VMWare ESXi 7, vSphere 7.0.3 when the VMs startup, the console (text) is unresponsive, you see the initial motd and login prompt, ...
101
votes
20
answers
270k
views
How do I restart Cinnamon from the tty?
I installed Cinnamon on my Ubuntu 12.04, and it works well, but sometimes it just freezes for no reason. I can move my mouse but can't click on anything.
So I want to restart Cinnamon from tty, like ...
23
votes
6
answers
58k
views
How do I disable Virtual Consoles tty[1-6]?
How do I disable switching to virtual terminals (TTYs) using(Ctrl+Alt+F1...F6) in Ubuntu?
0
votes
0
answers
129
views
Ubuntu 18.04 stuck on boot in tty with no network
I've had a problem with my python3 installation while trying to upgrade it from 3.6 to 3.8 in order to make streamdeck-ui work, and it seems that I broke Ubuntu on my desktop.
On boot, I briefly see ...
0
votes
0
answers
33
views
Exited from the main page of Ubuntu [duplicate]
I tried to delete python with sudo apt purge -y python 3-minimal and this happened.
0
votes
1
answer
154
views
How to access GUI from TTY
Ubuntu enters tty mode with itself I'm trying to go back to GUI by using ctrl+alt with F1-F12 but It doesn't work. In addition, when I'm trying to update by using sudo apt update it gives me errors ...
1
vote
1
answer
928
views
Cannot discover USB device port?
I am trying to find this a micro controller device that's plugged in with a USB to my computer and ideally I want open up the port that it's connected to. Problem is that I cannot find the device's ...
0
votes
1
answer
98
views
How do I fix my machine after purging ca-certificates?
I have done a very silly thing by running the following command.
sudo apt-get purge postfix mailutils libsasl2-2 ca-certificates libsasl2-modules
This has left my machine without a network connection ...
0
votes
0
answers
654
views
Lost ttyUSB0, Cannot open /dev/ttyUSB0: No such device or address
Previously I used putty with ttyUSB0 to read the serial log in my SmartBox, but by accident I couldn't read it anymore and when I checked, my ttyUSB0 file on Ubuntu 18.04 was lost. I have tried to fix ...
13
votes
6
answers
46k
views
How to enable: Switch back to running GUI from TTY in 18.04
I recently installed Ubuntu 18.04 (previously 16.04) and an important feature is missing: the option to switch between GUI and TTY.
From the GUI I can switch to one of 5 TTY, by Ctrl-Alt-F2 to Ctrl-...