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.

Contents