Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2930

Ubuntu WSL in Windows 10 19044 - RDP connection will be lost seconds after XRDP service start

$
0
0

I want to use Ubuntu GUI in full Xfce desktop instead of WSLg.

I have disabled WSLg in %userprofile%\.wslconfig, then installed xrdp in Ubuntu, set a custom port (not 3389) in /etc/xrdp/xrdp.ini, updated firewall to allow that port for TCP, and tried to connect to Ubuntu desktop via the MSTSC client in Windows.

It would connect successfully in the beginning. But after merely seconds the connection would be lost, and sudo systemctl is-active xrdp would "inactive", indicating that something in Ubuntu automatically killed XRDP after its restart. Restarting xrdp service won't help, as xrdp service will still be terminated seconds later.

Here's my /etc/xrdp/xrdp.ini file, the only XRDP-related file I changed manually:

[Globals]ini_version=1fork=trueport=12345use_vsock=falsetcp_nodelay=truetcp_keepalive=truesecurity_layer=negotiatecrypt_level=highcertificate=key_file=ssl_protocols=TLSv1.2, TLSv1.3autorun=allow_channels=trueallow_multimon=truebitmap_cache=truebitmap_compression=truebulk_compression=truemax_bpp=32new_cursors=trueuse_fastpath=bothls_top_window_bg_color=009cb5ls_width=350ls_height=430ls_bg_color=dededels_logo_filename=ls_logo_x_pos=55ls_logo_y_pos=50ls_label_x_pos=30ls_label_width=65ls_input_x_pos=110ls_input_width=210ls_input_y_pos=220ls_btn_ok_x_pos=142ls_btn_ok_y_pos=370ls_btn_ok_width=85ls_btn_ok_height=30ls_btn_cancel_x_pos=237ls_btn_cancel_y_pos=370ls_btn_cancel_width=85ls_btn_cancel_height=30[Logging]LogFile=xrdp.logLogLevel=INFOEnableSyslog=true[LoggingPerLogger][Channels]rdpdr=truerdpsnd=truedrdynvc=truecliprdr=truerail=truexrdpvr=truetcutils=true[Xorg]name=Xorglib=libxup.sousername=askpassword=askip=127.0.0.1port=-1code=20[Xvnc]name=Xvnclib=libvnc.sousername=askpassword=askip=127.0.0.1port=-1[vnc-any]name=vnc-anylib=libvnc.soip=askport=ask5900username=napassword=ask[neutrinordp-any]name=neutrinordp-anylib=libxrdpneutrinordp.soip=askport=ask3389username=askpassword=ask

Did I touch something that would cause XRDP to shutdown on its own?


Viewing all articles
Browse latest Browse all 2930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>