Linux mint cinnamon xrdp

xRDP – How to Install on Linux Mint – Part I

As announced in our previous post, we are starting a series of post related to xRDP software and how to install it on different Ubuntu flavors. Today, we will show you how you can install the xRDP software package on a Linux Mint 18.1.

The recent release of Linux Mint 18.1 makes it a perfect candidate for an xRDP instructions guide plus multiple people asked us about xRDP and Linux Mint.

xRDP on Linux Mint 18.1

Assumptions

When we have performed our installation & testing, we have been using the following infrastructure

  • We have performed a Fresh installation of theLinux Mint 18.1
  • We have performed the installation on a Virtual Machine running on Hyper-V Server and Virtualbox
  • Your Linux Mint machine is connected to Internet (so you can download the necessary packages for the installation to occur). If you are not connected to internet, you will have to manually download the necessary packages and make them available on your offline machine

Installation Process

Step 1 – Install xRDP package

At this stage, you should have a Linux Mint machine installed and ready to be used.

LoginMint

Click on Picture for Better Resolution

Once logged onto the system, open a terminal and issue the following command

sudo apt-get install xrdp

xrdp_LinuxMint

Click on Picture for Better Resolution

Wait for the installation to complete. At the end of the process, check the version of xRDP installed on your system by issuing the command

As you can see in the screenshot, the version is 0.6.1.

xrdp_LinuxMint_1

Click on Picture for Better Resolution

At this stage, you would think that you are ready to go. This is not the case. If you try to perform a remote desktop session to your Linux Mint machine, nothing will happen or you will end up with the following error

xrdp_LinuxMint_6

Click on Picture for Better Resolution

In Linux Mint, this is a normal behavior because no VNC Server is being installed along with the xRDP package. This means that we need to install an additional package to establish a remote desktop session…

Step 2 – Install TigerVnc Server package

In order to connect to the Cinnamon interface through the xRDP software, it’s necessary to install a specific VNC Server package :

The TigerVNC Software is not available in the Ubuntu repository. You will need to download the installation package from the following location : https://bintray.com/tigervnc/stable/tigervnc/1.7.0#files/

07.TigerVNC1.7

Click on Picture for Better Resolution

After you have downloaded the package, Open a Terminal console and move to your Download folders (or location where you have saved the packaged downloaded above)

In the terminal console, to perform the installation, type the following

sudo dpkg -i tigervncserver_1.7.0-lubuntu1_amd64.deb

xrdp_LinuxMint_2

Click on Picture for Better Resolution

You might see some warning and errors messages. Ignore these messages for the moment…

xrdp_LinuxMint_3

Click on Picture for Better Resolution

To ensure that all the dependencies are installed, issue the following command in the Terminal console

Читайте также:  Linux запущенные контейнеры docker

xrdp_LinuxMint_4

Click on Picture for Better Resolution

Step 3 – Configure the xRDP keyboard Settings

Note : You need to perform this action on the local Ubuntu machine (and not through the xrdp connection !!)

By default, the xRDP login screen will use an en-us keyboard layout. You remote session will also be using the en-us keyboard layout. If you are using a different keyboard layout than the english one, you might want to use your actual keyboard layout and not the english us one.

To configure you keyboard layout settings, in your terminal console; simply copy/paste this text and it will try to find out automatically your keyboard layout

# Set keyboard layout in xrdp sessions cd /etc/xrdp test=$(setxkbmap -query | awk -F":" '/layout/ ') echo "your current keyboard layout is.." $test setxkbmap -layout $test sudo cp /etc/xrdp/km-0409.ini /etc/xrdp/km-0409.ini.bak sudo xrdp-genkeymap km-0409.ini

At this stage, you are done and ready to work

Perform the remote Connection

At this stage, you should be able to perform a remote desktop session to your Linux Mint machine. The first time you login, you might receive a message error. If you try the second time, you should be presented with your Cinnamon Desktop environment and you can start working on your Linux Mint.

xrdp_LinuxMint_7

Click on Picture for Better Resolution

As already mentioned, you will be connected to your cinnamon desktop interface but it’s not the full one. In the screenshot above, you see that you are logged on in the software rendering version of cinnamon.

Final Notes

This is the end of this post. As you can see, if you install the xrdp package and the tigerVNC server software, you should be able to remote connect to your Linux Mint Operating System. However, we will investigate a little bit further xRDP and Linux Mint topic. Indeed, in this post, we have been using the xrdp package version 0.6.1. A newer version is available (0.9.0) which ships by default in Ubuntu 16.10

In the second part, we will see how we can install the xrdp version 0.9.0 on Linux Mint which bring more features and settings than xRDP 0.6.1

14 thoughts on “ xRDP – How to Install on Linux Mint – Part I ”

Hello and thanks for the info!
I’ve now tried 3 of the RDP tutorials on your site with some limited success. I am able to get connected but with woefully slow speed. Is there any way I can adjust something to make it run faster? It’s like a 5 second lag, and this server has gig internet.
Thanks,
Pasbt

@DaveT What do you call limited success ? Please provide more information about what you are trying to achieve, Which distribution you are using, which desktop environment you want to use, which version of xrdp you are using as well Xrdp is not superfast but performance are usually good enough to perform your job through the remote session Waiting for some feedback
Till next time
See ya

@Aaron, Thank you for the positive feedback. We too had to fight for a long time to get stuff working with XRDP…:-). We hope that the info provided through this blog is somewhat useful… Till next time
See ya

Thanks mate, did manage but I still have a small problem, my keyboard works well in applications however when I use in terminal and search box it’s completely srewed.

@Stephen, We are not using extensively Linux Mint so could not help you here…. we would need to install it and check for this…. to solve your issue, you could try to perform a custom installation of xrdp….
You can have a look at part II of the post and use the script. HOWEVER, you would need to tweak the script as the latest xrdp binaries have introduced important changes….You cannot use it as is (you have a look at the script in this post – see http://c-nergy.be/blog/?p=10752 – as a base as this one is the most recent and should work with the latest xrdp binarie…. Use it at your own risk and test it before in a standalone or virtual machine Hope this help
Till next time

Читайте также:  Linux pppoe client настройка

Thanks for the post, got me past the ‘error – problem connecting’ issue. However, now it gets through to the ‘connected ok’ and the RDP window closes. I thought that it might have been the resolution of my client (3440×1440) but I tried from a VM with a 1024×768 resolution and got the same thing. Any guidance would be appreciated.

@Derek, We are working on that… Several people have noticed that a change has occurred in xRDP or UBuntu Operating system that generate this behavior. Some fixes are already available from Ubuntu.. We will try to publish asap information and workaround about the issue Stay tuned
Till next time

Cinnamon desktop wont come up.
This works:
echo xfce4-session >~/.xsession
This doesn’t:
echo cinnamon >~/.xsession

@Bert,
Ok Thank you for he feedback… As we are not regular users of Linux Mint, we might investigate this issue when time permit
Till next time
See ya

Hi, I tried this but Windows RDP doesn’t connect to my Linux server it just times out and returns this error: Remote Desktop can’t connect to the remote computer for one of these reasons:
1) Remote access to the server is not enabled
2) The remote computer is turned off
3) The remote computer is not available on the network I double-checked and none of these is true

@William
I was getting this as well and it appears to have been the firewall on my linux machine.
I opened port 3389 for xRDP:
# firewall-cmd –permanent –add-port=3389/tcp
but forgot to reload:
# firewall-cmd –reload However, I am now getting another error that seems pretty vague. I have a feeling it has to do with TigerVNC, which I am reading is required to be able to connect to the Cinnamon UI. I am not 100% sure on this though; my Linux knowledge is limited and I pretty much learn as I go and try to document everything I can.

Thanks Donnie I did that and now I can log in but with another problem. After my computer goes to sleep or the session ends, I get a blank screen after I re-log into the xrdp session.

@William, xRdP is not the perfect solution but can be really helpful in mixed environement…
Hope you succeeded with your installation and confiuration
Till next time
See ya

Leave a Reply

Copyrights & Disclaimers

This blog and its content are freely available to users but copyrights applies. The content is copyright of c-nergy.be. This means that you cannot duplicate or (. )

Support Us

You can support us by downloading Brave Browser and tip us through Brave Browser Reward System.

Download FREE Brave Browser

You can also decide to Buy us a coffee if your think that the information provided here was useful to you.

Читайте также:  Форматирование жестких дисков линукс

This website and its content is copyright of c-nergy.be – © c-nergy.be – 2008 – 2023 – All rights reserved.

Источник

How to Connect to Linux Mint with RDP

How to Connect to Linux Mint with RDP

RDP provides a graphical interface for the user to connect to another computer via a network connection. In this article, we are going to teach you How to Connect to Linux Mint with RDP. Also, you can visit the packages available in Eldernode if you wish to purchase a Admin RDP Server Hosting.

Tutorial Connect to Linux Mint with RDP

What is RDP?

RDP stands for Remote Desktop Protocol and is a protocol for using a desktop computer remotely. The RDP is provided by Microsoft and allows users to connect remotely to another computer. It provides a graphical user interface (GUI) for connecting to another computer over a network. The remote access user experience via the RDP protocol is very close to direct access. The RDP can be set up and enabled on a local network or it can be connected to another remote computer over the Internet using RDP.

Introduction to Linux Mint

Linux Mint is a free, open-source operating system distribution based on Ubuntu and Debian. Linux Mint includes proprietary third-party browser plugins, Java, multimedia support, and other components to enable support for commonly accepted standards. This support allows DVD and BluRay playback as well as a flash to play media. Linux Mint consists of several different software packages, most of which are released under one of the free licenses. Linux Mint’s main license is GNU GPL with LGPL.

Connecting to Linux Mint with RDP (Remote Desktp)

At first, you should install XRDP on your system. To do this run the following command:

Now run the following command to start the XRDP service:

sudo systemctl start xrdp

You can enable the XRDP service:

sudo systemctl enable xrdp

To check the status of XRDP, just use the following command:

sudo systemctl status xrdp

If you get active(running) in the output, it indicates the XRDP service is running.

By default, XRDP uses the /etc/ssl/private/ssl-cert-snakeoil.key file, which can only be read by members of the ssl-cert group. You can add the XRDP user to the ssl-cert group by running the following command:

sudo adduser xrdp ssl-cert

Then restart the XRDP service:

sudo systemctl restart xrdp

You can check if the Firewall is active on your system or not with the following command:

Now you can allow port 3389 on the firewall with the following command:

Then check the Firewall status to see if the 3389 port is allowed or not:

In this step, you can get your IP of the Linux machine with the following command:

Now you should log out of the system.

Finally, you should open the Remote Desktop connection and enter your IP and username of the Linux machine to connect to the Linux machine and click on Connect.

remote desktop connection

Then enter your session, username, and password and click on OK.

login-to-Linux-Machine

That it is! you can use RDP in Linux Mint.

Conclusion

RDP is used to connect a computer to a remote computer and it allows the client computer to view the remote computer screen. In this article, we taught you how to use and Connect to Linux Mint with RDP. I hope this article was useful for you.

Click on a star to rate it!

Average rating 2.7 / 5. Vote count: 6

No votes so far! Be the first to rate this post.

Источник

Оцените статью
Adblock
detector