I want to know how to setup xRDP for Ubuntu 20.04 in Windows Hyper-V? Tutorials for Ubuntu 18.04 doesn't seem to work. I am using the ISO that I downloaded.
These are the tutorials I used. They all basically say the same thing...
I want to know how to setup xRDP for Ubuntu 20.04 in Windows Hyper-V? Tutorials for Ubuntu 18.04 doesn't seem to work. I am using the ISO that I downloaded.
These are the tutorials I used. They all basically say the same thing...
I installed Ubuntu 20.04 and then installed xrdp. Whenever i tried to connect, either from another Ubuntu 20.04 box using either xfreerdp or krdc, or from a Mac, a black screen would show up, and then immediately disconnect. i made sure i did not have any other sessions on the server going on at the same time.
After a while, i gave up and tried the script at: https://www.c-nergy.be/products.html it didn't make a difference
this is the only output from /var/log/xrdp.log
[20200529-18:17:16] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:192.168.0.216 port 45006
[20200529-18:17:16] [DEBUG] Closed socket 12 (AF_INET6 ::ffff:192.168.0.199 port 3389)
[20200529-18:17:16] [DEBUG] Closed socket 11 (AF_INET6 :: port 3389)
[20200529-18:17:16] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20200529-18:17:16] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20200529-18:17:16] [DEBUG] TLSv1.3 enabled
[20200529-18:17:16] [DEBUG] TLSv1.2 enabled
[20200529-18:17:16] [DEBUG] Security layer: requested 3, selected 1
[20200529-18:17:16] [INFO ] connected client computer name: coruscant
[20200529-18:17:16] [INFO ] adding channel item name cliprdr chan_id 1004 flags 0xc0a00000
[20200529-18:17:16] [INFO ] TLS connection established from ::ffff:192.168.0.216 port 45006: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384
[20200529-18:17:16] [DEBUG] xrdp_00000506_wm_login_mode_event_00000001
[20200529-18:17:16] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
[20200529-18:17:16] [WARN ] local keymap file for 0x00000409 found and doesn't match built in keymap, using local keymap file
[20200529-18:17:17] [DEBUG] Closed socket 12 (AF_INET6 ::ffff:192.168.0.199 port 3389)
[20200529-18:17:17] [DEBUG] xrdp_mm_module_cleanup
thank you very much
I've installed mate and xrdp on Ubuntu 18.04. Now I try to connect to this PC from another Ubuntu with Remmina:
I press OK, login window disappears background is same,nothing happens. My ~/.xsession contains mate-session.
xrdp.log contains stuff like this:
[20190818-12:23:09] [DEBUG] Closed socket 17 (AF_UNIX)
[20190818-12:23:12] [DEBUG] Closed socket 17 (AF_UNIX)
[20190818-12:23:15] [DEBUG] xrdp_wm_log_msg: connection problem, giving up
[20190818-12:23:15] [DEBUG] Closed socket 17 (AF_UNIX)
[20190818-12:23:15] [DEBUG] xrdp_wm_log_msg: some problem
[20190818-12:23:15] [DEBUG] xrdp_mm_module_cleanup
[20190818-12:23:15] [DEBUG] Closed socket 16 (AF_INET6 ::1 port 59402)
[20190818-12:24:11] [DEBUG] xrdp_wm_log_msg: connecting to sesman ip 127.0.0.1 port 3350
[20190818-12:24:11] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20190818-12:24:11] [DEBUG] xrdp_wm_log_msg: sending login info to session manager, please wait...
[20190818-12:24:11] [DEBUG] return value from xrdp_mm_connect 0
[20190818-12:24:12] [INFO ] xrdp_wm_log_msg: login successful for display 10
[20190818-12:24:12] [DEBUG] xrdp_wm_log_msg: started connecting
[20190818-12:24:15] [DEBUG] Closed socket 17 (AF_UNIX)
[20190818-12:24:19] [DEBUG] Closed socket 17 (AF_UNIX)
[20190818-12:24:22] [DEBUG] Closed socket 17 (AF_UNIX)
[20190818-12:24:26] [DEBUG] Closed socket 17 (AF_UNIX)
[20190818-12:24:29] [DEBUG] Closed socket 17 (AF_UNIX)
[20190818-12:24:33] [DEBUG] Closed socket 17 (AF_UNIX)
[20190818-12:24:36] [DEBUG] Closed socket 17 (AF_UNIX)
[20190818-12:30:30] [INFO ] calling auth_start_session from pid 6502
[20190818-12:30:30] [DEBUG] Closed socket 7 (AF_INET6 ::1 port 3350)
[20190818-12:30:30] [DEBUG] Closed socket 8 (AF_INET6 ::1 port 3350)
[20190818-12:30:30] [INFO ] /usr/lib/xorg/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
[20190818-12:30:40] [ERROR] X server for display 10 startup timeout
[20190818-12:30:40] [CORE ] waiting for window manager (pid 6503) to exit
[20190818-12:30:40] [ERROR] X server for display 10 startup timeout
[20190818-12:30:40] [ERROR] another Xserver might already be active on display 10 - see log
[20190818-12:30:40] [DEBUG] aborting connection...
[20190818-12:30:40] [CORE ] window manager (pid 6503) did exit, cleaning up session
[20190818-12:30:40] [INFO ] calling auth_stop_session and auth_end from pid 6502
[20190818-12:30:40] [DEBUG] cleanup_sockets:
[20190818-12:30:40] [DEBUG] cleanup_sockets: deleting /var/run/xrdp/sockdir/xrdp_chansrv_socket_10
[20190818-12:30:40] [DEBUG] cleanup_sockets: deleting /var/run/xrdp/sockdir/xrdpapi_10
[20190818-12:30:40] [DEBUG] cleanup_sockets: failed to delete /var/run/xrdp/sockdir/xrdpapi_10
[20190818-12:30:40] [INFO ] ++ terminated session: username someuser, display :10.0, session_pid 6502, ip ::ffff:192.115.120.210:44136 - socket: 12
How do I fix or diagnose this brilliant piece of software?
I installed a clean Ubuntu18.04 with minimal installation and installed the xrdp package.
After the XRDP user/password there is a password prompt in ubuntu for my user popping up. When I enter it the connection just dies and the connection windows dissapears.
Does anyone got xrdp running on the 18.04 release yet?
Thanks in advance
After a couple days of searching for solutions, I still cannot get a proper RDP connection fron Windows 7 to Ubuntu Desktop 13.10 (or 14.04). When I use RDP in Windows, it will connect to my Ubuntu box just fine, but I get a gray/black pixel screen with an "X" for a cursor.
Here's what I've tried so far (in both 13.10 and 14.04)
Created .xsession
file to use gnome-2d
Installed xfce4 and updated .xsession
file to use that
I did indeed restart xrdp after any change to the .xsession file
Modified startwm.sh to point to the location of the .xsession file
chmod 755 .xsession
file so it's executable
Updated nvidia drivers
I'm at a loss as to what's going on. I was able to use x11vnc to take control of the Ubuntu machine, but I'm trying to create an actual remote session from Windows, and not just take control.
Any help would be greatly appreciated, I've been searching around for a solution, and so far any other people who've encountered this, their solution has not been successful for me.