-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CentOS 8 XRDP 0.9.15: session close imidiatly after login from Win10 mstsc.exe V.10.0.19041.746 #1808
Comments
One more comment: |
Hi @keale You can ignore the errors in xrdp.log - see #1775. I think the significant message is here:-
Have you got these lines in
If this is the case (and I'm assuming it is) sesman takes these actions on CentOS 8:- 1 Looks for Something's going wrong with these scripts if you haven't got a Assuming you haven't got a
|
@matt335672 Thanks a lot! As You have assumes, startwh.sh don't exist. The output of DISPLAY= bash -x /usr/libexec/xrdp/startwm.sh:
|
OK - thanks. The last few lines of this file are generated by What's in that? |
[alexk@gpu2 ~]$ cat .xsession-errors
|
That all looks OK as far as it goes. Last piece; try this one:-
|
[alexk@gpu2 Smilei]$ DISPLAY= bash -x /etc/X11/xinit/Xclients :
|
Do XRDP relay to python installation? Problem seems to appear after installation of python3.8 paralell to anaconda3. |
No - XRDP does not relate to Python. All the plumbing looks OK, but for some reason you're not getting a session up. You're not logged in on the console as the same user are you? That won't work on CentOS 8. Assuming you're not, let's see if there's anything useful in the system log:-
|
I was logged out, when i tested RDP. But before problem has arised i assume, it was possible to open RDP session. May by I was root at this time. I attach the output. |
There's a significant issue here:-
Does GNOME work OK on the console? That will rule out problems with the installation I see also that you've got some considerable customisations to your |
Unfortunately, I do not have physical access to the node and cannot test GNOME directly. I renamed .bash.. and rebooted the node, but the behavior stay the same. I will deinstall gnome and try xfce. May be it will solve the issue. |
It's possible you haven't got all of GNOME installed. What's the output of these commands?
Thanks, |
Sorry, it is in German. dnf group list:
[alexk@gpu2 smilei]$ systemctl get-default I asked a Colleagues from datacenter to check if he can log in with Gnome, haven't gotten an answer yet unfortunately. The problem occurred after installing these packages:
|
It looks like you've got GNOME fully installed:-
You'll have problems getting the screen unlocking working however unless the default target is a You can fix that with I doubt that's the problem here though. None of those packages should cause any issues here. Let's have a look at the environment that
It's a bit of a hack I'm afraid. Then try to log in over xrdp, and post the contents of ~/desktop.txt |
Dear @matt335672, I got XRDP to work with Xfce. The RDP session also starts when I am logged in via SSH at the same time.
|
That's great - thanks for the update. On a purely personal note, I think XFCE is a better choice for a server. It's graphically less intensive, and you don't need the gdm login prompt working. Can I close this one, or do you want to explore the GNOME issue further? |
I agree, XFCE is also my favorite. I chose GNOME during the installation just out of interest. We have an exact same node with the same installation, at which the GNOME + XRDP combination works well... One last note, maybe it is interesting for you for causes search in the future. You output from startx was:
Many thanks for your help! |
Not sure if this will help anyone else in the future, but I've ran into this same issue. I don't have the option of using xfce like a lot of folks recommend, but what I've found works and doesn't work, is that with an Nvidia graphics card and the nouveau driver installed, I can use xrdp with Xorg or Xvnc, but on our systems without the discrete card using an 8mb Matrox graphics on Dell servers, it will do the immediate crash of the Xsession once authenticated. I'm still looking for a workaround to this besides using mate or xfce. |
xrdp has worked tedelless until today. Now the session is terminated immediately after login. The messages in the /etc/log/xrdp.log are:
~/.xsession-errors is empty.
/etc/xrdp/xrdp.ini looks like this:
Messages in /var/log/xrdp-sesman.log
Thanks for every help!
The text was updated successfully, but these errors were encountered: