From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep
Demo: Log into local and remote graphical and text mode consoles - Linux Tutorial
From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep
Demo: Log into local and remote graphical and text mode consoles
- [Instructor] Hello, and welcome to our demonstration video on logging into Linux machines. On the screen, you can see a local machine with a GUI or graphical login, and we'll demonstrate the graphical login for a local machine. Then we'll demonstrate a remote graphical login from Windows using RDP. And finally, we'll demonstrate a remote text mode login with SSH. So let's jump in. Now I'm here with the Ubuntu machine that has a graphical desktop installed. And again, this is a local machine, meaning it's physically sitting here with me. We have the usernames available on this machine. You might not only have one username, but we'll select the one that we're going to use and then enter your password. Nothing too unusual about this. We have a full desktop environment so we can use the graphical interface. Now note that even though there is a desktop interface, we have a terminal emulator also to work from the command line. And when we're done with this session, we just log out. Now let's connect to the desktop of a remote machine with Windows. Now let's say you're on a Windows desktop machine and you want to view the desktop of a remote Linux machine. Our Ubuntu machine has XRDP installed and it's configured so that Windows machines can connect to the desktop. In Windows search for a remote desktop, the client will open up and then you'll put in the IP of the remote machine. In this case, it's 10.0.0.81, and you may see a certificate warning here. Click yes. And now we have a login screen for our remote Linux machine. Enter your username and password, and now we have our Ubuntu desktop waiting for us. You can just maximize the screen and it's just like being on the desktop, but from your Windows computer. And this is great for connecting to a desktop on a remote machine. Now, typically Linux servers don't have a desktop, and you must connect with SSH as we discussed in the last video. This is super easy in Windows, Mac, or Linux. Just open up a terminal, type in SSH, then the username, the at sign, and the IP address or domain name of the remote server. If it's the first time you've ever connected to the machine, you'll see this prompt. Type in yes. Then enter your password and you're in. And now you can see I'm here at the terminal of my remote Ubuntu machine using SSH. And this concludes our demo for logging into Linux machines. Next, we're going to take a look at built-in system documentation.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Log into local and remote graphical and text mode consoles7m 18s
-
Demo: Log into local and remote graphical and text mode consoles2m 30s
-
Read and use system documentation8m 5s
-
Create, delete, copy, and move files and directories11m 4s
-
(Locked)
Create and manage hard links7m 5s
-
(Locked)
Create and manage soft links3m 14s
-
(Locked)
List, set, and change standard file permissions13m 48s
-
(Locked)
SUID, SGID, and sticky bit7m 18s
-
(Locked)
Search for files12m 33s
-
(Locked)
Compare and manipulate file content9m 6s
-
(Locked)
Pagers and VI demo5m 56s
-
(Locked)
Search a file using grep5m 6s
-
(Locked)
Analyze text using basic regular expressions7m 46s
-
(Locked)
Extended regular expressions10m 3s
-
(Locked)
Archive, back up, compress, unpack, and uncompress files (optional)5m 3s
-
(Locked)
Compress and uncompress files (optional)4m 27s
-
(Locked)
Back up files to a remote system (optional)3m 52s
-
(Locked)
Use input-output redirection (e.g. >, >>, |, 2>)12m 47s
-
(Locked)
Work with SSL certificates17m 30s
-
(Locked)
Git: Basic operations8m 2s
-
(Locked)
Git: Staging and committing changes9m 31s
-
(Locked)
Git: Branches and remote repositories18m 18s
-
-
-
-
-
-