Guacamole RDP Issue

Forum for general user discussions related to Netspectrum Ubuntu Desktop AMI. https://aws.amazon.com/marketplace/sear ... tu+desktop
qfc9
Posts: 1
Joined: Fri Feb 05, 2021 2:53 am

Guacamole RDP Issue

Postby qfc9 » Fri Feb 05, 2021 2:59 am

This is in regards to the Netspectrum's Ubuntu Desktop 20.04 LTS (x86_64) box.

Everytime we use guacamole to RDP to the box it will take us to the login page. After successful log in, it immediately disconnects us for the box. Upon reconnecting, we are again at the login page.

[20210205-02:49:48] [CORE ] window manager (pid 5052) did exit, cleaning up session
[20210205-02:49:48] [INFO ] calling auth_stop_session and auth_end from pid 5044
[20210205-02:49:48] [DEBUG] cleanup_sockets:
[20210205-02:50:11] [INFO ] A connection received from ::1 port 57000
[20210205-02:50:12] [INFO ] ++ created session (access granted): username remoteone, ip ::ffff:172.31.24.147:46890 - socket: 12
[20210205-02:50:12] [INFO ] starting Xvnc session...
[20210205-02:50:12] [DEBUG] Closed socket 9 (AF_INET6 :: port 5910)
[20210205-02:50:12] [DEBUG] Closed socket 9 (AF_INET6 :: port 6010)
[20210205-02:50:12] [DEBUG] Closed socket 9 (AF_INET6 :: port 6210)
[20210205-02:50:12] [DEBUG] Closed socket 8 (AF_INET6 ::1 port 3350)
[20210205-02:50:12] [INFO ] calling auth_start_session from pid 6657
[20210205-02:50:12] [DEBUG] Closed socket 7 (AF_INET6 ::1 port 3350)
[20210205-02:50:12] [DEBUG] Closed socket 8 (AF_INET6 ::1 port 3350)
[20210205-02:50:12] [INFO ] Xvnc :10 -auth .Xauthority -geometry 1364x695 -depth 24 -rfbauth /home/remoteone/.vnc/sesman_passwd-remoteone@ip-172-31-36-146:10 -bs -nolisten tcp -localhost -dpi 96 -MaxDisconnectionTime 1800 -Log *:syslog:30
[20210205-02:50:12] [CORE ] waiting for window manager (pid 6664) to exit
[9:51 PM]
^^ That is from /var/log/xrdp-sesman.log

[20210205-02:50:02] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:172.31.24.147 port 46890
[20210205-02:50:02] [DEBUG] Closed socket 12 (AF_INET6 ::ffff:172.31.36.146 port 3389)
[20210205-02:50:02] [DEBUG] Closed socket 11 (AF_INET6 :: port 3389)
[20210205-02:50:02] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20210205-02:50:02] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20210205-02:50:02] [DEBUG] TLSv1.3 enabled
[20210205-02:50:02] [DEBUG] TLSv1.2 enabled
[20210205-02:50:02] [DEBUG] Security layer: requested 1, selected 1
[20210205-02:50:02] [INFO ] connected client computer name: Guacamole RDP
[20210205-02:50:02] [INFO ] adding channel item name cliprdr chan_id 1004 flags 0xc0a00000
[20210205-02:50:02] [INFO ] adding channel item name rdpdr chan_id 1005 flags 0xc0800000
[20210205-02:50:02] [INFO ] adding channel item name rdpsnd chan_id 1006 flags 0xc0000000
[20210205-02:50:02] [INFO ] TLS connection established from ::ffff:172.31.24.147 port 46890: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384
[20210205-02:50:02] [DEBUG] xrdp_000019ff_wm_login_mode_event_00000001
[20210205-02:50:02] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
[20210205-02:50:02] [WARN ] local keymap file for 0x00000409 found and doesn't match built in keymap, using local keymap file
[20210205-02:50:11] [DEBUG] xrdp_wm_log_msg: connecting to sesman ip 127.0.0.1 port 3350
[20210205-02:50:12] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20210205-02:50:12] [DEBUG] xrdp_wm_log_msg: sending login info to session manager, please wait...
[20210205-02:50:12] [DEBUG] return value from xrdp_mm_connect 0
[20210205-02:50:12] [INFO ] xrdp_wm_log_msg: login successful for display 10
[20210205-02:50:12] [DEBUG] xrdp_wm_log_msg: VNC started connecting
[20210205-02:50:12] [DEBUG] xrdp_wm_log_msg: VNC connecting to 127.0.0.1 5910
[20210205-02:50:12] [DEBUG] xrdp_wm_log_msg: VNC tcp connected
[20210205-02:50:12] [DEBUG] xrdp_wm_log_msg: VNC security level is 2 (1 = none, 2 = standard)
[20210205-02:50:12] [DEBUG] xrdp_wm_log_msg: VNC password ok
[20210205-02:50:12] [DEBUG] xrdp_wm_log_msg: VNC sending share flag
[20210205-02:50:12] [DEBUG] xrdp_wm_log_msg: VNC receiving server init
[20210205-02:50:12] [DEBUG] xrdp_wm_log_msg: VNC receiving pixel format
[20210205-02:50:12] [DEBUG] xrdp_wm_log_msg: VNC receiving name length
[20210205-02:50:12] [DEBUG] xrdp_wm_log_msg: VNC receiving name
[20210205-02:50:12] [DEBUG] xrdp_wm_log_msg: VNC sending pixel format
[20210205-02:50:12] [DEBUG] xrdp_wm_log_msg: VNC sending encodings
[20210205-02:50:12] [DEBUG] xrdp_wm_log_msg: VNC sending framebuffer update request
[20210205-02:50:12] [DEBUG] xrdp_wm_log_msg: VNC sending cursor
[20210205-02:50:12] [DEBUG] xrdp_wm_log_msg: VNC connection complete, connected ok
[20210205-02:50:12] [DEBUG] xrdp_wm_log_msg: connected ok
[20210205-02:50:12] [DEBUG] xrdp_mm_connect_chansrv: chansrv connect successful
[20210205-02:50:12] [DEBUG] Closed socket 18 (AF_INET6 ::1 port 57000)
[20210205-02:50:12] [DEBUG] Closed socket 12 (AF_INET6 ::ffff:172.31.36.146 port 3389)
[20210205-02:50:12] [DEBUG] xrdp_mm_module_cleanup
[20210205-02:50:12] [DEBUG] VNC mod_exit
[20210205-02:50:12] [DEBUG] Closed socket 19 (AF_INET6 ::ffff:127.0.0.1 port 48738)
[20210205-02:50:12] [DEBUG] Closed socket 20 (AF_UNIX)
from /var/log/xrdp.log

Any ideas? Please help.

jsun
Site Admin
Posts: 83
Joined: Tue May 26, 2015 9:52 pm

Re: Guacamole RDP Issue

Postby jsun » Fri Feb 05, 2021 10:47 pm

Are you connecting to the default "ubuntu" user? If so, try to create a new user and connect using the new user login.

Ubuntu user by default is always logged in via VNC channel. Many desktops including Xubuntu don't like the same user logged in at the same time.

For future reference, please let us know if this fixes the problem or not.


Return to “Ubuntu Desktop AMI users”

Who is online

Users browsing this forum: No registered users and 1 guest