LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-14-2020, 09:50 AM   #1
nt100
LQ Newbie
 
Registered: May 2020
Posts: 9

Rep: Reputation: Disabled
Sending login info to session manager, Login failed for display 0


I've a Ubuntu 20.04 server and installed xrdp, xserver-xorg-core & xorgxrdp in it. Firewall ufw allows 3389/TCP for RDP. However, I get the following error when rdp from Windows 10.

Connection Log
Connection to sesman ip 127.0.0.1 port 3350
Sesman connect ok
Sending login info to session manager, please wait..
Login failed for display 0

Would you kindly suggest solutions?
 
Old 05-14-2020, 10:00 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,236

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Quote:
Connection to sesman ip 127.0.0.1 port 3350
This ip address is a loopback address. If Win 10 is on another machine, connected across a network, then this address will not work. You need the address of the Ubuntu system that talks to the network.

You can find it with the IP command, or old school ifconfig ethx, where the x is the number of the ethernet card; or iwconfig if its a wireless card.

I can not be more specific, since you didn't supply any information on the network configuration.
 
Old 05-14-2020, 05:32 PM   #3
nt100
LQ Newbie
 
Registered: May 2020
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by camorri View Post
This ip address is a loopback address. If Win 10 is on another machine, connected across a network, then this address will not work. You need the address of the Ubuntu system that talks to the network.

You can find it with the IP command, or old school ifconfig ethx, where the x is the number of the ethernet card; or iwconfig if its a wireless card.

I can not be more specific, since you didn't supply any information on the network configuration.

I use a computer which runs Windows 10. I ran remote desktop connection in Windows with the specified IP 147.8.191.209 address. This windows computer works fine with Putty to the Ubuntu20.04 server.

"ip a" at the Ubuntu20.04 server, has the following network setup

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether e4:54:e8:53:53:7e brd ff:ff:ff:ff:ff:ff
inet 147.8.191.209/25 brd 147.8.191.255 scope global eno1
valid_lft forever preferred_lft forever
inet6 fe80::e654:e8ff:fe53:537e/64 scope link
valid_lft forever preferred_lft forever

Hopefully, the above information is useful for your reference.

Thank you.
 
Old 05-14-2020, 06:20 PM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,236

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Are you sure you are NOT logged in as the user you are trying to connect with? That will cause the connection to fail.

Here is a link to a reasonable How TO. -->https://linoxide.com/linux-how-to/xr...-from-windows/

Hope this helps.
 
Old 05-15-2020, 02:08 AM   #5
Sandylex
LQ Newbie
 
Registered: Jan 2018
Posts: 11
Blog Entries: 1

Rep: Reputation: 0
Red Hat Linux, then much later Fedora & now Ubuntu 20.04 LTS.
 
Old 05-15-2020, 02:47 AM   #6
nt100
LQ Newbie
 
Registered: May 2020
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by camorri View Post
Are you sure you are NOT logged in as the user you are trying to connect with? That will cause the connection to fail.

Here is a link to a reasonable How TO. -->https://linoxide.com/linux-how-to/xr...-from-windows/

Hope this helps.
Thank you for the suggestion.

I notice that only the account for installing Ubuntu 20.04 server can't get through Windows RDP, the rest linux accounts work fine. Now, the account does not pop the following error msg but returned to Windows RDP.

Connection Log
Connection to sesman ip 127.0.0.1 port 3350
Sesman connect ok
Sending login info to session manager, please wait..
Login failed for display 0

How can I check the account if it's damaged?
 
Old 05-15-2020, 05:43 AM   #7
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,236

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
If your setup is working on other linux distros, and not on Ubuntu, I think you will have to raise the issue with Ubuntu devs. It might be worth trying it with another Ubuntu install, not necessarily a system set up as a server, just to see if the problem is Ubuntu in general, or specifically this one system; be it hardware or software.
 
Old 08-16-2021, 07:01 PM   #8
mosquitobr
LQ Newbie
 
Registered: Aug 2021
Posts: 1

Rep: Reputation: Disabled
Hello everybody,

In my case, and with much time dispend, I was found a simple resolution when note broke login in register log file xrdp after 50 connection session display

You need to change in both sesmain.in and sesman.ini the field MaxSessions to a greater number than you already have. It seems that some sessions are not set freed in a proper way. Both files are in /etc/xrdp. You would need sudo privileges to edit them.
 
Old 08-17-2021, 10:29 AM   #9
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Quote:
Originally Posted by camorri View Post
Are you sure you are NOT logged in as the user you are trying to connect with? That will cause the connection to fail.

Here is a link to a reasonable How TO. -->https://linoxide.com/linux-how-to/xr...-from-windows/

Hope this helps.
If things are normal, then it might work - because a different display would have been specified. This kind of error is possibly caused by the DISPLAY environment variable value being overridden by a .profile/.bashrc file. Display 0 is what the first login locally gets - no matter who the login is.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to launch "cinnamon-session-cinnamon" X session "cinnamon-session-cinnamon" -found; Falling back to default "session." xxxindigo Linux Mint 22 09-01-2019 09:21 AM
My Samsung notebook n150 display unable to display "cinnamon-session-cinnamon" not found; falling back to default session Gastoneciacci Linux - Laptop and Netbook 1 04-28-2018 11:25 AM
Session key renegotiation if session lasts longer than configured (e.g. an hour) then session keys needs to be renegotiated. dakshinya Linux - Newbie 1 02-04-2016 04:15 PM
[SOLVED] How can I display a user's last login info, immediately after they login via gui? rgsurfs Linux - Newbie 3 05-17-2013 08:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration