Pengwin icon indicating copy to clipboard operation
Pengwin copied to clipboard

Add Xrdp server setup option to wlinux-setup

Open itadder opened this issue 7 years ago • 8 comments

Would it be possible to use xrdp?

itadder avatar Sep 23 '18 00:09 itadder

Would you mind telling me a little bit more about how you intend to use Xrdp?

Setting up a server would generally be:

sudo apt-get install xrdp
sudo sed -i ‘s/port=3389/port=3390/g’ /etc/xrdp/xrdp.ini
sudo /etc/init.d/xrdp start

sirredbeard avatar Sep 23 '18 02:09 sirredbeard

It is definitely possible to use Xrdp in WSL; the only trick is to pick a server port different from the one that WIndows itself uses.

I think this is about having it out of the box, or easily configured. It might be a nice way to provide X access to people who want to experiment with the distro without having to pay for X410, or setting up Xming etc.

int19h avatar Sep 23 '18 23:09 int19h

Yes it was just a way to make it easy to provide desktop easily.

itadder avatar Sep 29 '18 18:09 itadder

I tried the commands above and all I get is a blue/green screen after I login to XOrg with RDP on 3390. I've never used xrdp so not sure what to expect.

AceHack avatar Nov 12 '18 20:11 AceHack

A blank blue/green screen sounds like you get the default twm X session with no apps in it, probably because the only thing you have there is X itself (which was brought in as a dependency of Xrdp). Try installing some WM or DE, e.g. apt install xfce4.

int19h avatar Nov 12 '18 21:11 int19h

Thank you, I just ran that and installed xfce4 but I still get the same result just a blue/green screen nothing else. Do I need to start xfce4 or something? Thanks.

AceHack avatar Nov 12 '18 22:11 AceHack

@AceHack Check out this video: https://vimeo.com/255052199 It was created by Kali but same steps still apply. Just don't try installing the Kali xfce desktop

WSLUser avatar Jan 08 '19 14:01 WSLUser

I recently used Hyper-V to install Ubuntu 19.04. MSFT has a script that installs and activates xrdp upon launch of the Ubuntu gui (gnome). Here is a link: https://github.com/Microsoft/linux-vm-tools/wiki/Onboarding:-Ubuntu

This might be a good way to provide a high fidelity desktop with Pengwin.

davidfi01 avatar Apr 24 '19 17:04 davidfi01