I have been a rather silent subscriber of yours for a couple of months now, but I want to tell you that I really enjoy these new "noob-friendly" tutorials that you are doing. I always learn something I didn't know before from them. Thank you very much DT.
@@DistroTube Actually, I was watching your video and I could still hear the audio from your video in TTY3. Same for TTY 1, 4, 5, 6. Nothing happened with 7 on my Arch system running Gnome... Just a flashing cursor.
@@DistroTube Anything critical? You don't lose anything, except if they don't know how to get back. Maybe you should have warned? You don't drop out, unlike doing Alt+F4 (close window). whoops. Also, audio is still there, as Panacea pointed out, i tested that.
I'm old, so I used a real ASR 33 (tty) for work and editing my program source on a timesharing system, shared between say 100 programmers using say 3 x 10 ASR-33's). The ASR 33 worked at a whopping 10 chars/sec, fortunately 1 year later we got a synchronous display terminal (24 lines of 80 chars) and say 16 displays shared one 9600 bps line (1200 chars/sec). After completing the program source or its change, you started a batch job for compiling and linking the program. If you're lucky the batch job would run within an hour. If you're unlucky you got the results back next morning. The computer had 512 KB of fast core memory (1 MHz) and 2 MB of slow core memory (400 KHz), but it had a real 32 bits CPU (Philips P1400) and not a fake 32 bits calculating at 2 x 16 bits (P1200) or 4 x 8 bits (P1100). Those were the days ......... By the way that hit song by Mary Hopkins is from the same time :)
dude.... you just made me feel my real age of 51.... i used a real tty system back in grade school.... over 30 years ago.... i use my tty commands religiously in my linux lite.... cause i find it quicker to do command line than dicking with looking for icons.... remember my generation grew up with no gui.... untill at least till ms windows version 2.0....
tty's fast and cool and good, the only reason I don't use it as my main terminal is because it has no truecolor support and would really like to see my colorschemes work in Vim
If I had a nickle for every Raspberry Pi blog I've seen with instructions to the effect of: Step 1. log in Step 2. type 'startx' Step 3. open the terminal emulator and type these commands...
Great video. You forgot to mention one of the most common uses of tty when it comes to server admin duties: using the tty to login as a different user while not logging out of your current active user. Comes in real handy when doing system admin tasks
Thank you so much for this! Side note: I appreciate how clear your audio is on every one of your videos and how CONSISTENT it is! [I think you mentioned the audio in the last video of yours I watched] These short videos are just what I was looking for to learn something new, and I learn from the commenters of your videos, thanks for doing what you do!
What is a TTY? Is seriously a question that I've had for the longest time but never bothered looking into. Thank you very much for making this video 😁👍🏽
(I'll watch full video later, it's kinda time to go to sleep) I remember my first experience with TTY (Virtual Terminals). I've read about it's hotkeys and... immediately pressed it. XD It would be nice, but I've switched there before reading about how to switch back to DE. Fun fact: at first, TTYs was used as UNIX terminals, because they was relatively cheap. But this "cheap" cost was ~1200$. XD
Worth mentioning: tty12, if your distro set up journal/syslog redirection. You don't get a login prompt, just the system logs output; useful if the graphical desktop is unresponsive. Also useful on ttys: the magic SysRq menu. Hold Alt, and keep holding it; press SysRq key. You're now in the Linux kernel's emergency menu, as long as you keep holding Alt. Press H to see the help message, showing what commands are available. Most people just memorize the mnemonic "REISUB", or just "EISUB". The "R" steals the keys processing from Xorg, or any other process that thinks they own the keyboard. "E" and "I" to send a terminate signal to all processes, so they can stop gracefully, followed by a kill signal to end any one that didn't terminate voluntarily. "S" to sync all buffered data to storage devices; "U" to unmount all filesystems and remount them as read-only; and "B" to reboot. This is how you "gracefully" reboot an unresponsive Linux system, minimizing data loss and filesystem corruption.
Thank you for the detail about REISUB as I was looking for something that would gracefully shut the system down but the site I had found didn't even mention the TTY
@@Karla_Finch-Cluff I'm glad it was helpful. Sadly, there's a whole lot of various pieces of knowledge that get glossed over, usually because people don't even remember where they learned it from. I wish DT would spend less time "reviewing" weird distros or customizing his obnoxious desktop, and focused more on teaching general system usage/management skills. Even better if he would use feedback from comments, and show them on a following video; sometimes other people can think of better solutions, and one should not be ashamed to be taught something new by the audience.
I just watched a recent video from you where you have decided to start updating in TTY because of some recent issues with updates in the GUI. I love that there was an old video I could look at to learn more about TTY from you. Thanks DT!
It is important to know what a TTY is on the road to Arch Linux, because you're going to be living in one for the install process. I'd also like to mention that you can move between the TTY's be using ALT+the arrow keys. This moves you over a single TTY which is nice if you want to jump back and forth quickly, like say between your active command line and the Arch Install Guide.
Just yesterday I was grinding my brain cells on why virtualbox reserved tty1 for itself-turns out it wasn't virtualbox-I just didn't realize that during boot tty was being inconspicuously changed from 1 to 7 as lightdm started itself on tty7 instead of the normal tty1 systemd, the kernel and everything else started on. Now upon retrospect I'll admit knowing more about the boot process would've probably saved me from a whole lot of googling about virtualization.
I'm pretty sure the display manager being on tty1 is the same on debian, and it lets you easily log in as a different user graphically (and simultaneously). Very handy if you're someone who utilises multiple user IDs for various stuff. I didn't realise it wasn't default behaviour. Maybe it's a gnome (gdm) thing?
tty1 is not display manager (login screen) on Debian. (2020-02-06 Debian 10.7, KDE Plasma 5.14.5) I think it's a Ubuntu thing. Ubuntu does some things specially.
What you call “tty” is actually called “virtual terminal”. A “tty” is actually a character device that represents a connection to ANY kind of terminal, be it an old teletype, a newer CRT-based terminal, a Linux virtual terminal or a terminal emulator.
Hello DT, i recetly installed arcolinuxb, with all the wm, then added leftwm just to compare the window managers, plus exploring, but on my next reboot, the screen went black, it couldnt show at all in the screen, im using hp omen i7....is it the hp or the os giving me the black screen.....plus my keyboard is not working too
Thanks for sharing. I'm still wondering, according to you, changing tty is similar to the Windows function that allows switching between desktop screens. But as far as I know, tty is also a device that can be assigned to prevent or allow logging into Linux systems, along with the "chvt" switch function as you said, pam.d/securetty will useless?
I'm trying to do this on a VM running in qemu via virt-manager. When I try the key commands it brings me to the tty on my host system. Yes, I made sure the cursor was active within the VM when I entered the key command. Any ideas?
Found the answer, the vert-manager shell that qemu runs in has a tiny little drop down menu that appears when you hover in the upper center of the VM window. Clock on the little keyboard, and it will reveal the key commands outlined in this video. The caveat is that you click on them with the mouse. If you try with your keyboard you host will intercept it and drop you into tty on your host.
Thank you, Derek. Hm. Ubuntu's gui used to run in tty7. I haven't used tty in Ubuntu since about 12.04. Does anyone know when they changed the gui to tty2?
@@DistroTube Thank you. I suppose they just thought it made more sense numerically. It's not a bad change. But I don't think it's an actual improvement and confuses users who actually would use this and are following the long established conventions.
I personally use TTY for Manjaro major updates as they are primarily 'bulk' updates incorporating a 'lot' of system updates. Don't know if it's safer, but it makes me feel safer anyway :)
@@grimfistgaming7694 Ever since I started doing that, well, I haven't had any issues lol. It's just that I haven't seen that recommendation specifically noted as a prerequisite on the Manjaro website... and, given how easy Manjaro is to both install and set up, new users (like I was) can fall foul during updates (I did twice lol). This is just a personal thing... but I would like Manjaro forums to actively promote this 'recommended' method of updating. It may be written there somewhere but I never found it in my travels anyway. Manjaro is an awesome distro that would only be more awesome if it was safer for newbies :) Cheers, and thanks for that confirmation :)
@@emjaycee It isn't actually mentioned in the Manjaro Wiki, just confirmed that. But it is mentioned in the Arch System Maintenance guide, which is a better version than the one found in Manjaro wiki :D
@@grimfistgaming7694 I guess one of the issues is that people who choose Manjaro because it is so easy to install and set up are hardly likely to be checking out the Arch wiki because Arch is a 'lot' harder lol :) I only found out about TTY after falling foul in an update and following all the comments. I think it was actually mentioned by Phil Mueller (?) himself. If what we are both intimating is actually true, in my opinion it should be noted in a 'number' of places in Manjaro so people are more aware. Just my opinion of course :)
Back in the early days some people advocated running your games in a separate tty for performance. And people were more aware of tty because we were greeted by the terminal when starting Linux (with a phrase of the day if I remember?) and had to start X manually. There is something about the terminal I cannot pinpoint but it feels like riding a motorcycle rather than driving a car.
FWIW, the siduction guys strongly recommend to do a dist-upgrade only in runlevel 3 which implies TTY (see the section "dist-upgrade - The Steps" on manual.siduction.org/sys-admin-apt)
@@marioschroers7318 It's called a "target" in systemd but many users (and even some of the official documentation) use the term "run level" synonymously (run level 3 is emulated by multi-user.target and "runlevel3.target" is a symbolic link to multi-user.target)
Something I'm confused about having been a user of both Manjaro and Architect Linux is that TTY-1 does not take me to display manager like you showed us on Ubuntu. It also doesn't present me with a text login prompt. All I see on TTY-1 are the kernel messages that were scrolling by when the machine booted up. So what exactly is TTY-1 on Manjaro?
tty13 is my graphical, tty1-11 are available tty, tty12 for syslog. Why outside regular keyboard range? I never seen to need to change back to graphical, just out of it, and alt+arrowkey changes between them, too
When you change the system version in a LTS distro It is normally a good idea to use a tty for that since some packages are removed and xorg normally crashes. For arch I don't think it happens frequently tough
holy complicate my life...lol...ok so i learned i wont be using the TTY feature ever!...i have enough with just using my windows 10 laptop or iphone...of course i wish i knew all this stuff but its just not possible...im no techy at all...and prefer things simple just because! thanks for the info all the same!!!
I use tty1 every time to log in and start X 😀 Sometimes, I would use only tty1 for a quick sudo* pacman -Syu && yay -Syu without starting X altogether. *I also use doas instead of sudo these days. However, I realized that yay actually comes with sudo as a dependency, and since I don't plan on ditching yay, there is no point in uninstalling sudo. Too bad, actually.
You can replace "sudo pacman -Syu && yay -Syu" with just "yay". It does the same. When "yay" is invoked without any argument it will perform a full system upgrade.
Great video as always If you can make a video for fuzzy finder (fzf) for terminal and vim because it will help all the command line users and i think it will be very interesting video.
How to fix no more tty availabel error ? ---------------------------------------------------------------- I downloaded a ubuntu-fs from here: github.com/EXALAB/Anlinux-Resources/tree/master/Rootfs/Ubuntu/amd64 I am on ubuntu 20.04 I did: sudo chroot ubuntu-fs installed xtightvncserver But if I type vncserver to run I always get password too short I tried another way export DISPLAY=192.168.0.10:0 (X server on my Phone) lxterminal& (lxterminal pops out in my phone but not text comes out) Again if I type xterm& (I get error like no tty available or something similar to that) Do you know how to fix it...
To change from one tty to another just ALT+lft arrow or ALT+rtarrow. BTW, I watched your Brave browser video and switched and promptly got dumped on by spam email - bummer.
Safer regarding gui,sometimes you need to update your graphics drivers or DE,so you need to start in tty to do it properly,since it doesn't start your gui services.Plus less things are likely to break if less things are running.
linuxmx tty7 to get back to the graphical mode first time knowing ubuntu (livecd) always freaking out because of this thing. now it's feel so stupid and embarassing remembering that. been using full linux for 2 weeks. thanks DT