![ubuntu remote desktop server 16.04 command line ubuntu remote desktop server 16.04 command line](http://c-nergy.be/blog/wp-content/gallery/ubuntu16-04/U16_Xrdp_1.png)
- #Ubuntu remote desktop server 16.04 command line install
- #Ubuntu remote desktop server 16.04 command line software
The first thing you should do is to install a browser…. Obviously, because the Server Edition does not install much software, you will need to customize a little bit your infrastructure. So, we have seen that’s possible to have xrdp up and running on Ubuntu Server 16.04. You should be able to perform a custom installation and even enable the drive redirection or clipboard feature. If you want to have all the features enabled, you can also use the script provided in our previous posts related to xrdp and ubuntu 16.04. Voila ! We have successfully installed xrdp on Ubuntu Server 16.04 and have it working. As you can see, I have made a remote desktop connection to my ubuntu server.Ĭlick on Picture for better Resolution Final Notes Open your remote desktop client, provide the name or ip of the Ubuntu server you which to connect to, and you should be able to see something like the screen below.
![ubuntu remote desktop server 16.04 command line ubuntu remote desktop server 16.04 command line](https://i.ytimg.com/vi/f-NS4IM3NEI/maxresdefault.jpg)
Sudo systemctl restart xrdp Step 4 – Connect to your system via xrdp To ensure that all changes are applied, you can either reboot your server or restart the xrdp service using the To do this, you will need to issue the following command sudo sed -i.bak '/fi/a #xrdp multiple users configuration \n mate-session \n' /etc/xrdp/startwm.shīasically, this command add the line mate-session in the file /etc/xrdp/startwm.sh. You still have to specify which desktop environment you want to use. So, logically, we should not specify any mate-session information into the /etc/xrdp/startwm.sh file. Technically, because we have only one desktop environment, we should be good to go when connecting to the system via xrdp. To perform the installation of xrdp, we will issue the following command This means that we will install the xrdp package from the ubuntu repository. In this post, we are looking that the easy way install of xrdp. So, after installing these packages and rebooting your system, you should see the following login screen and if you login, you should see the default Mate desktop presented to you.Ĭlick on Picture for better Resolution Step 3 – Install xrdp package Sudo apt-get install mate-core mate-desktop-environment mate-notification-daemonĪfter installing the mate desktop, we have also installed the lightdm package so we can login into our Ubuntu server using a basic graphical interface. So, again, from the command prompt, we will install the mate desktop package by issuing the following command If you follow us for a long time now, you know that our preferred desktop alternative is Mate Desktop. The Unity desktop is not supported so we need to select another desktop solution. xRDP does not support all the desktop environment on Ubuntu. This step is similar to the one for the Desktop Edition. If you plan to use the xrdp script we have provided, you will need to issue the following command in a terminal sessionĬlick yes, If you are asked to confirm the operation.
#Ubuntu remote desktop server 16.04 command line software
We will also install another software package called pkg-config. You will be asked to confirm your selection. So, from the command prompt, we issue the following command sudo apt-get install x11-xkb-utils In the screenshot below, you can see that if we try to change the keyboard layout, we have received information that we need to install an additional package called x11-xkb-utils. The fist package that we installed are related to the keyboard layout. You should be presented with a screen similar to this one below So, the first step is to login into your server. Login into your Ubuntu Server Step 1 – Adding Utils package software We have not tested all the possible combination and have worked in trial/error mode. Note : This post has been published in “fast” mode in order to provide answsers to questions about xrdp and Ubuntu Server Edition. This post will try to provide a basic setup guide that have worked for us. So, if you want to use the xrdp software on a Ubuntu Server you will need to install some additional packages in order to be able to remote desktop into it. By default, no desktop environment is installed on a server edition of Ubuntu.
![ubuntu remote desktop server 16.04 command line ubuntu remote desktop server 16.04 command line](https://i.stack.imgur.com/t6Usk.jpg)
You will notice immediately that the Ubuntu Server edition is providing really the minimum necessary packages in order to run the Operating System. The Ubuntu 16.04 server binaries are quite small (less than 700 Mb) and does not contains all the software available in the Desktop edition.
![ubuntu remote desktop server 16.04 command line ubuntu remote desktop server 16.04 command line](https://www.server-world.info/en/Ubuntu_18.04/desktop/img/28.png)
In part I of this post, we have simply performed a basic installation of the Ubuntu 16.04 Server.