![]() In Linux, not only can you customize the look and feel of your desktop, but you can also install multiple desktop environments instead of just one, and you can switch between them whenever you want. The GUI in Linux distributions consists of four layers: For example, Ubuntu offers eight distinct flavors, each of which behaves differently.Ī desktop environment is a bunch of components (file manager, login screen, mouse pointer, etc) that come together to provide a graphical interface (GUI). In each Linux distribution, there are multiple desktop environments also known as flavors. Step 2 – Install Your Preferred Desktop Environmentĭesktop environments are one of the most profound advantages of Linux over Mac OS and Windows. Remember to restart the service for new changes to apply. To configure xRDP, such as changing the default port, adding compression, and others, you can edit the following file with your preferred text editor: sudo nano /etc/xrdp/xrdp.ini Replace 1.2.3.4/32, in the above example, with the IP range you want to whitelist. Sudo firewall-cmd -zone=xrdp -add-source=1.2.3.4/32 -permanent ![]() Sudo firewall-cmd -zone=xrdp -add-port=3389/tcp -permanent If you want to allow the remote desktop connection port only for specific network or a range of IPs, for security reasons, then you can do something like the following instead: sudo firewall-cmd -new-zone=xrdp -permanent Sudo firewall-cmd -reload Allow Specific IP Range sudo firewall-cmd -add-port=3389/tcp -permanent To do this run the following commands to add the port and reload the firewall. If you’ve got a firewall enabled on your CentOS 8 remote machine you’ll want to make sure to allow the remote desktop connection port. The default port for a remote desktop connection is 3389. Mar 09 00:45:00 xrdp xrdp: xrdp_listen_pp done Configuring Firewall for xRDP Mar 09 00:45:00 xrdp xrdp: address port mode 1 Mar 09 00:45:00 xrdp xrdp: starting xrdp with pid 66228 Mar 09 00:45:00 xrdp systemd: Started xrdp daemon. Loaded: loaded (/usr/lib/systemd/system/rvice enabled vendor preset: disabled)Īctive: active (running) since Tue 00:45:00 UTC 5s ago If you’re not careful you can run a command that may harm or even destroy your system.įrist we’ll update the package index: sudo dnf -y update Step 1 – Install xRDP on CentOS 8Įnable EPEL repository, if not already enabled on your system: sudo dnf install epel-releaseĮnable xRDP so it starts on boot: sudo systemctl enable xrdp -nowĬheck the status of xRDP: sudo systemctl status xrdp This is because when you’re acting as root you can do everything and the system won’t ask. Being logged in as a non-root sudo user.( If you’re interested in a cheap server with high resources, the one I use is from and you can check my review of them here.) A server running CentOS 8 and I recommend at least 2GB RAM, however, 4GB would be better.Optimizing xRDP Speed when connecting from Linux (via Remmina).Optimizing xRDP Speed when connecting from Windows.Step 3 – Connecting via xRDP from Different Operating Systems.Step 2 – Install Your Preferred Desktop Environment.In this tutorial, we’ll install xRDP on a remote machine running CentOS 8, install multiple desktop environments and see how to switch between them, connect from multiple operating systems, and learn a few ways to optimize the remote connection for speed. They aim for similar goals of controlling remote desktops, however, the methods by which they achieve them differ. You might also be interested in alternative remote desktop technologies for CentOS, such as VNC or NX (via a software called X2Go). Using xRDP you can remotely control your Linux (in our case CentOS 8) machine, through its graphical user interface, from devices using different operating systems, such as Windows, Linux, Mac, iOS or Android. It is a proprietary protocol developed by Microsoft, and the standard remote desktop protocol used in Windows operating systems. With RDP you can connect to a remote computer over the Internet, to access the computer’s files and programs as if you were using its own keyboard, display screen and mouse. xRDP works with rdesktop, FreeRDP, NeutrinoRDP and Windows RDP. It enables the non-Windows operations systems like Linux and BSD to provide an RDP-compatible remote desktop experience. XRDP is a free and open-source implementation of the Microsoft RDP (Remote Desktop Protocol) server.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |