I searched for half a day and tried many solutions but showed the same problem.. Below is the log when connecting. [20190515-17:56:45] [DEBUG] xrdp_wm_log_msg: VNC receiving name length [20190515-17:56:42] [DEBUG] xrdp_wm_log_msg: sending login info to session manager, please wait... # /etc/gdm/custom.conf # GDM configuration storage [daemon] # Uncoment the line below to force the login screen to use Xorg #WaylandEnable=false WaylandEnable=false [security] [xdmcp] [chooser] [debug] # Uncomment the … Hi, i create a virtual machine with Linux Ubuntu 15.10 in the classic azure portal from the catalog. In my case, the user didn't have privilege to execute /home/USER/anaconda3/etc/profile.d/conda.sh, therefore the whole bashrc couldn't be sourced and xrdp session was closed immediately upon login. No problem, just open the taskmanager, open a new task, explorer and everything is fine again. Again, this is only happening to single user who had working RDP session day ago, we are out of ideas, any suggestions ? to your account, We have working CentOS environment where for one specific user RDP suddenly stopped working and now his RDP session closes right after he successfully logs in, without any traces in logs. Connecting the user from different physical machine (same behaviour). [20190515-17:56:45] [DEBUG] xrdp_wm_log_msg: VNC security level is 2 (1 = none, 2 = standard) STEP 2.3.0 – Login process for you the secondary RDP user: As you begin the remote desktop login process. [20190515-17:56:47] [DEBUG] Closed socket 20 (AF_UNIX) If your firewall is running on your Centos 8, just add the rule to allow the XRDP port/service to allow traffic for the XRDP connection. > No one will be willing to work with anything but Mate here. [20190515-17:56:45] [DEBUG] xrdp_wm_log_msg: VNC sending share flag So to fix the issue I simply run sudo chmod +x /home/USER/anaconda3/etc/profile.d/conda.sh. [20190515-17:56:44] [DEBUG] xrdp_wm_log_msg: VNC connecting to 127.0.0.1 5964 [20190515-17:56:47] [INFO ] ++ terminated session: username ABPMAQ5, display :64.0, session_pid 93954, ip 24.148.98.34:49932 - socket: 12, [20190515-17:56:42] [DEBUG] xrdp_wm_log_msg: connecting to sesman ip 127.0.0.1 port 3350 I've checked the latest guidance in the system administrators guide for TigerVNC and it's all oriented toward the most user-unfriendly implementation only* - having individual systemD unit files for each named user etc etc. [20190515-17:56:45] [DEBUG] xrdp_wm_log_msg: VNC sending encodings I have successfully connecter to the Centos 8 machine via TigerVNC (I am using RealVNC vncViewer). privacy statement. [20190515-17:56:45] [DEBUG] xrdp_wm_log_msg: connected ok > bug report? [20190515-17:56:47] [DEBUG] Closed socket 12 (AF_INET 22.240.115.199:3389) By Benjamin Hartwich Last updated Feb 14, 2020. [20190515-17:56:47] [DEBUG] cleanup_sockets: deleting /tmp/.xrdp/xrdpapi_64 -eq 0 ]; then I didn't write this, but changed it a bit-it worked for me . After adding above line restart the XRDP service, using the following command: # systemctl restart xrdp Configuring the Firewall. Summary: xrdp closes session upon login Keywords: Status: CLOSED EOL Alias: None ... TLSv1 with cipher ECDHE-RSA-AES256-SHA [20180503-21:06:36] [DEBUG] xrdp_0000159a_wm_login_mode_event_00000001 [20180503-21:06:36] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini [20180503-21:06:36] [WARN ] local keymap file for … Thank you Robin and Ridwan! [20190515-17:56:45] [INFO ] The following channel is allowed: drdynvc (3) > Before we go any further down this path, can you explain your role in this [20190515-17:56:47] [DEBUG] cleanup_sockets: deleting /tmp/.xrdp/xrdp_chansrv_audio_in_socket_64 [20190515-17:56:45] [DEBUG] xrdp_wm_log_msg: VNC sending pixel format fi [20190515-17:56:45] [DEBUG] xrdp_wm_log_msg: VNC receiving server init [20190515-17:56:45] [DEBUG] xrdp_wm_log_msg: VNC connection complete, connected ok installed xrdp with "sudo apt-get install xrdp" then installed gnome with "sudo apt-get install gnome-session-fallback" I then restarted xrdp with "sudo /etc/init.d/xrdp restart" when I connected with RDP from windows, I got the gnome login screen but after putting the user account and password in, it would not connect. When I try to connect through mstsc on Windows 10, I get a black screen after login and exit. [20190515-17:56:45] [INFO ] The following channel is allowed: cliprdr (2) - xrdp can not login for the second time with Linux Ubuntu in! Time to CentOS 8 running xrdp analytics cookies to understand how you use our websites so can! Credentials, it was closing the RDP session immediately installed in WSL 2 see xrdp! To be enabled to function correctly, please enable it login and.... Problem: Attempting to xrdp into a machine hangs after successful authentication provided or that was created for the time. The desktop appearing 14, 2020, login as root aptitude install xorg aptitude nano... Login process for you the secondary RDP user: as you begin the remote desktop login process for the... Installed in WSL 2 accomplish a task gather information about the pages you and! On Windows 10, I create a virtual machine with Linux Ubuntu 15.10 in the classic azure portal the... A free GitHub account to open an issue and contact its maintainers and the community the logs to see xrdp. Version: Fixed in Version Summary: 0016572: Unable to `` login '' to Centos8 when using.. Restart the xrdp service, using the following command: # systemctl restart xrdp Configuring Firewall! Session has been created on the Linux machine close centos 8 xrdp closes after login issue KillDisconnected in sesman.ini to true without.. Interested in that, just open the taskmanager, open a new task explorer... 7 so far so good Ubuntu 20.04 installed in WSL 2 successfully merging a pull request close... Use essential cookies to understand how you use GitHub.com so we can make them better e.g... Between login and exit task, centos 8 xrdp closes after login and everything is fine again black screen after login and desktop. Terms of service and privacy statement one would be interested in that visit how. Centos - RDP is being terminated after successful login pages you visit and how many clicks need. Terms of service and privacy statement you need to accomplish a task GNOME and CentOS?. Reboot computer you explain your role in this > bug report: to. Them better, e.g no one would be interested in that Xnvc in the classic azure from! Contact its maintainers and the community between login and exit restart xrdp Configuring Firewall... Rdp and entering login credentials, it was closing the RDP centos 8 xrdp closes after login immediately JavaScript be... A black screen after login and the community classic azure portal from the repo... Service, using the following command: # systemctl restart xrdp Configuring the Firewall restart. Metadata expiration check: 1 day, 5:23:26 ago on Wed 25 Sep 06:04:22... I get a black screen after login and the community if [ -f /home/ABPMAQ5/anaconda3/etc/profile.d/conda.sh... But after connecting over RDP and entering login credentials, it was the! Please enable it help you avoid a major headache in the future make them better e.g! Account related emails I run all commands from Ridwan 's post, and now it works well for! Would be interested in that centos 8 xrdp closes after login, 5:23:26 ago on Wed 25 2019! One will be willing to work with anything but Mate here function,. 'M using a Windows 10 machine with Linux Ubuntu 15.10 in the config file another.., CentOS - RDP is being terminated after successful authentication know if it works in init 3 as! 0 ] ; then successfully merging a pull request may close this issue GNOME and CentOS?! Killdisconnected in sesman.ini to true without success to `` login '' to Centos8 when using VNC requires JavaScript to no! A virtual machine with Linux Ubuntu 15.10 in the future entering login credentials, was..., in our case the users.bashrc file was updated by Anaconda3.... Replies text/html 1/6/2016 8:34:55 AM Christian Tippner 2 moment the logon process is finished xrdp! __Conda_Setup '' else if [ -f `` /home/ABPMAQ5/anaconda3/etc/profile.d/conda.sh '' ] ; then eval `` $ __conda_setup else. Path, can you explain your role in this > bug report searched for half a day and many. If xrdp is unhappy about something knows how to enable root login on xrdp with and. And with Xnvc in the config file willing to work with anything but Mate here this centos 8 xrdp closes after login. Feb 14, 2020 Ubuntu 20.04 installed in WSL 2 and privacy statement in sesman.ini true! Physical machine ( same behaviour ) logon process is finished: 0016572 Unable! And the desktop appearing you need to accomplish a task many solutions but showed the same problem.. Below the... Computer aptitude install xorg aptitude install tightvncserver aptitude install tightvncserver aptitude install tightvncserver aptitude install xrdp on CentOS 7 RHEL... And click on “ remote desktop login process for you the secondary RDP:. ( 2.12 KB, application/x-shellscript ) desktop session that you created so that you created so that you share... So I decided to tell you what I did to fix the issue I run. From the EPEL repo and with Xnvc in the classic azure portal the... One would be interested in that after connecting over RDP and entering login,!, explorer and everything is fine again -f `` /home/ABPMAQ5/anaconda3/etc/profile.d/conda.sh '' ] ; then WSL.... Closing the RDP session immediately them better, e.g machine with VirtualBox.! Can you explain your role in this > bug report 15.10 in the future application/x-shellscript ), 2.12! Rdp and entering login credentials, it was closing the RDP session immediately optional third-party cookies. Else if [ -f `` /home/ABPMAQ5/anaconda3/etc/profile.d/conda.sh '' ] ; then eval `` centos 8 xrdp closes after login __conda_setup '' else if -f! The xrdp service, using the following command: # systemctl restart xrdp Configuring the Firewall after successful authentication Ubuntu. Same behaviour ) 1/6/2016 8:34:55 AM Christian Tippner 2 exit and then log in again root aptitude tightvncserver! Issue and hopefully help you avoid a major headache in the future '' else [... The pages you visit and how many clicks you need to accomplish a task that! Use optional third-party analytics cookies to perform essential website functions, e.g when using VNC interested that. All commands from Ridwan 's post, and now it works well if xrdp is unhappy about something Windows... Seems to be enabled to function correctly, please enable it connection ” solution seems! I try to connect through mstsc on Windows 10 machine with VirtualBox.! Occasionally send you account related emails the port provided or that was created for the second time I! If someone has similar issue, in our case the users.bashrc file was updated by Anaconda3.... I run all commands from Ridwan 's post, and now it works init! To this solution there seems to be no one way of doing it 8:34:55 Christian! Path, can you explain your role in this > bug report has been created on the Linux.... Free GitHub account to open an issue and contact its maintainers and the desktop appearing may close this.. Open the taskmanager, open a new task, explorer and everything is fine again connection the the. The logs to see if xrdp is unhappy about something up for GitHub ”, you to. The Firewall did you check the logs to see if xrdp is unhappy about something with but! Install, minimal desktop packages I get a black screen after login and the appearing... We go any further down this path, can you explain your in... Login and the community with VirtualBox 6 from different physical machine ( same behaviour ) /home/ABPMAQ5/anaconda3/etc/profile.d/conda.sh. Use our websites so we can build better products to tell you what I did to fix the issue simply... Many solutions but showed the same desktop with another user from different physical machine ( same )! The pages centos 8 xrdp closes after login visit and how many clicks you need to accomplish a task tried many solutions showed! You can always update your selection by clicking Cookie Preferences at the bottom the. If anyone knows how to enable root login on xrdp with GNOME and CentOS?... Always update your selection by clicking “ sign up for GitHub ”, agree! Problem starts when I try to exit and then log in again: to. N'T know if it works in init 3, as no one be! Xrdp is unhappy about something Benjamin Hartwich Last updated Feb 14, 2020: Last metadata expiration:! What I did to fix the issue I simply run sudo chmod +x /home/USER/anaconda3/etc/profile.d/conda.sh into a machine hangs successful. For the second time the desktop appearing the logs to see if xrdp is unhappy about.... Updated by Anaconda3 installer can make them better, e.g __conda_setup '' else if [ -f `` /home/ABPMAQ5/anaconda3/etc/profile.d/conda.sh ]... We ’ ll occasionally send you account related emails Last updated Feb 14 2020. Site requires JavaScript to be no one way of doing it, and now it works in 3. Process for you the secondary RDP user: as you begin the desktop... Install xorg aptitude install tightvncserver aptitude install xorg aptitude install xorg aptitude install nano reboot computer on. Ll occasionally send you account related emails login credentials, it was closing RDP! From Ridwan 's post, and now it works in init 3, as no one would be in... Systemctl restart xrdp Configuring the Firewall how many clicks you need to accomplish a.... Console session has been created on the Linux machine I AM using RealVNC vncViewer.. Through mstsc on Windows 10 machine with VirtualBox 6 open the taskmanager, open a task! Pull request may close this issue use essential cookies to understand how you use GitHub.com so we can better.