frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

[XRDP + Ubuntu] Getting started with XRDP + Ubuntu

WilliamWilliam Moderator
edited September 2019 in Web hosting control panels

XRDP usage allows you to access VPS with Linux OS from your device over RDP protocol. This is very useful for Windows OS devices, that have Remote Desktop Connection application available by default.
The template is available on our Linux VPS packages only.
1. Installation of OS template:
In Time4VPS you are able to install XRDP + Ubuntu template without even needing to access the VPS over SSH:
  • Log-in to the Client Area;
  • Select at the top of menu the "My Services > VPS" tab;
  • Press the "Manage" button at the service table;
  • Press the "Install OS" button;
  • Choose operating system, agree with warning and press "Continue";
  • Wait for 5-10 minutes and refresh VPS management page.
After installation will be completed, your VPS Log-in credentials will be provided in "Login Details" section of your service management page.
2. Log-in from Windows computer:
  • Open up your "Remote Desktop Connection" program and select "Show Options".
  • Enter your login credentials:
Computer: Your_server_IP
Username: root
  • Press "Connect"
  • Enter Password of your VPS.
3. Login from Linux
For access from Linux, you will need "rdesktop" package installed on your device. For Ubuntu/Debian use:
apt-get update
apt-get install rdesktop
For CentOS/Fedora:
yum update
yum install rdesktop
After the installation is completed, for establishing the connection, following command should be used:
rdesktop -u root -p PASSWORD -g 1024×768 YOUR_SERVER_IP
Do not forget to update the "PASSWORD" and "YOUR_SERVER_IP" parts to ones that match your VPS. If you want to change the resolution, you can do so, by updating the "-g 1024x768" parameter.
4. Usage
The template comes with Mozilla Firefox browser pre-installed for easier usage. It can be found by clicking "Applications" in top left corner and choosing category "Internet".
If you would like to set own custom password for the connection, run the following command:
passwd
After entering the command, you will have to enter new password and afterwards repeat it. After the password will be changed, for it to take effect - reboot the VPS. The reboot can be done by clicking "root" at the top right corner, choosing "Log Out..." and pressing "Restart". Or you can access your VPS over SSH and issue the command manually by using "reboot" command.
For installation of advanced Ubuntu desktop packages, you should open Terminal and run the following command:
sudo apt-get update
sudo apt-get install ubuntu-desktop
For the packages to be fully applied, reboot your VPS.

Tagged:

Comments

  • After running "sudo apt-get install ubuntu-desktop" and rebooting, how do I switch from XFCE to Gnome?
  • JustinaJustina Moderator
    With our RDP template, the xfce4 desktop environment is installed on the server. There's no option to switch from xfce4 to GNOME. If you want to use GNOME, you should reinstall the server and make further configuration manually.
  • FreemanFreeman Member
    edited April 2020

    When I execute last command on the step #3 (rdesktop -u root -p ... -g 1920x1200 ...), it fails with an error:

    Autoselected keyboard map en-us
    Connection established using plain RDP.
    ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
    ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
    ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
    ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
    ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
    ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
    ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
    ERROR: snd_pcm_open: No such file or directory
    WARNING: no working audio-driver found
    NOT IMPLEMENTED: RDPDR pakid 0x554c of component 0x4472

    Any thoughts on the above (as for dummies :) )?

  • WilliamWilliam Moderator

    Hello Freeman,

    It seems that you have attempted to establish the connection repeatedly while you were already connected to the VPS. If you are using Windows OS on your device, you only need to follow steps #1 and#2.

    The #3 step is for users that are connecting from Linux OS devices.

    The #4 step should be done from inside of VPS.

    Hope this will be clear now :smile:

Sign In or Register to comment.

Time4VPS

Learn how to install a web and database server, email, FTP client or other applications. Discover and share information on server security or optimization recommendations.
Feel free to join our constantly expanding community, participate in discussions, strengthen your knowledge on Linux and Windows server management!
© 2013 - 2024 Time4VPS. All rights reserved.

Get In Touch