-
-
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
login failed for display 0 xrdp #2154
Comments
A couple of questions for you:-
Thanks. |
OK - thanks. The X server is working fine, which is good, but for some reason your desktop isn't starting. You may not have a desktop installed.
|
I'm getting confused here - not your fault. I don't think I read the initial logs clearly enough. If you get The session log has some interesting lines in it:-
These don't look right to me. Your DBUS_SESSION_BUS_ADDRESS is supposed to be We had something similar in neutrinolabs/pulseaudio-module-xrdp#72 that was never fully explained. This looks very similar. I'll suggest what I added to that thread. Maybe we can get more information. Can you create a file #!/bin/bash
# Create a log
exec >/tmp/startwm.log 2>&1
echo "Start environment"
echo "-----------------"
env | sort
. /etc/profile
echo "Environment after profile"
echo "-------------------------"
env | sort
export XDG_RUNTIME_DIR=/run/user/$(id -u)
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus
exec /etc/X11/Xsession Make the file executable with |
I think getting a local logon working first is a good idea. AD can be a bit fiddly to get working, especially if you're using group policies to allow services. That all looks fine, and consistent with a session starting properly. If authentication wasn't working you wouldn't get the log. What's happening at this point. Are you getting a session? If not, can you generate a system log for the last two minutes (just after the login attempt) with this command:-
That should give us a bit more of a clue. |
Hmm, that's really not a useful log. The lines we need are all truncated. Can you try again please, but this time redirect the log to a text file:-
Thanks. |
That's better - thanks :-) The authentication messages can be found by grepping for xrdp-sesman in this log. Here are some significant ones:-
and:-
However you're specifying your username, it isn't being recognised by pam_unix (local name) or pam_sss (AD). My knowledge of sssd is a bit rusty these days (I used to be a RHEL admin), but I suspect you can solve this by setting Does that make sense? |
We'll need to work through the errors, one at a time. Can we start by getting When you try to log in with that, what does this command give you?
|
@matt335672 I appreciate for your help :) It was agreed since beginning that only ssh will be used. Administrator has blocked other tools somehow. Thanks for your time |
No description provided.
The text was updated successfully, but these errors were encountered: