Results 1 to 4 of 4

Thread: xrdp Configuration to Remote from Windows RDP

  1. #1
    Join Date
    Mar 2013
    Beans
    112

    xrdp Configuration to Remote from Windows RDP

    Hello Guys

    I'm trying to configure xrdp to use Windows RDP to Remote connect to an Ubuntu Workstation using the Gnome-Session. More or less it is working but i would like to ask some clarification


    • I have installed xrdp and xorgxrdp-hwe-18.04 because with the only xrdp it didn't worked. which is the difference abiout the two packages i really need to install oth?
    • to get a gnome session open i have added the two line:



    1. echo 'gnome-session' > ~/.xsession
    2. chmod +x ~/.xsession


    to the file etc/xrdp/startwm.sh Franklyi found this trick in an Centos Guide but until i put these two lines i couldn't connect to my session. There is an alternative way to do it?


    • to remove the annoyng pop up with xrdp i have added the following lines


    polkit.addRule(function(action, subject) {
    if ((action.id == "org.freedesktop.color-manager.create-device" ||
    action.id == "org.freedesktop.color-manager.create-profile" ||
    action.id == "org.freedesktop.color-manager.delete-device" ||
    action.id == "org.freedesktop.color-manager.delete-profile" ||
    action.id == "org.freedesktop.color-manager.modify-device" ||
    action.id == "org.freedesktop.color-manager.modify-profile") &&
    subject.isInGroup("{group}")) {
    return polkit.Result.YES;
    }
    });
    to the following file /etc/polkit-1/localauthority.conf.d/02-allow-colord-conf


    • to have the remote session similar to the local session, basically adding the Bar on the left and fixing the look and feel issue for all the users i have added

    gnome-shell-extension-tool -e ubuntu-dock@ubuntu.com
    gnome-shell-extension-tool -e ubuntu-appindicators@ubuntu.com
    gsettings set org.gnome.desktop.interface gtk-theme 'Ambiance'
    gsettings set org.gnome.desktop.interface icon-theme 'Humanity'
    at the beginning of the /etc/xrdp/startwm.sh

    There is something different that i have to do ?

    i'm just only testing and for the moment the major issue is that if i'm connected via RDP i cannot login locally, there is a way to disconnect the session if i try to login locally?

    Thanks A.
    Last edited by giobaxx; October 21st, 2020 at 08:47 PM.

  2. #2
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,791

    Re: xrdp Configuration to Remote from Windows RDP

    Linux is a multi-user system, so add another user account to the Linux machine.

  3. #3
    Join Date
    Mar 2013
    Beans
    112

    Re: xrdp Configuration to Remote from Windows RDP

    With xrdp the problems is that if you are logged locally you have no access remotely and vice versa. and it is impossible remotely to have access to your Local Session like happend using RDP in Windows.

    So the question is, there is a way to do it?

  4. #4
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: xrdp Configuration to Remote from Windows RDP

    Maybe not using RDP would be smart?
    https://arstechnica.com/features/202...laboration-03/

    x2go works using ssh authentication over an ssh-tunnel. Usually considered secure enough to use over the internet, from anywhere, assuming ssh-keys are used, never passwords.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •