XRDP login failed for display 0
up vote
1
down vote
favorite
I created a new user, set the password but not able to login via XRDP. The user/password are set correctly because I can ssh into the machine.
The error I'm getting is the same as in this question: xrdp session: Login failed for display 0
I checked /etc/xrdp/sesman.ini and everything looks OK.
TerminalServerUsers=tsusers
TerminalServerAdmins=tsadmins
; When AlwaysGroupCheck=false access will be permitted
; if the group TerminalServerUsers is not defined.
AlwaysGroupCheck=false
I'm able to log in OK using my regular username & password so I'm guessing the AlwaysGroupCheck option works. For good measure I created the tsusers & tsadmins groups and add the new user to them, then restarted the xrdp service but still not able to login.
Host is Windows7, target is Ubuntu 14.04.
ubuntu
add a comment |
up vote
1
down vote
favorite
I created a new user, set the password but not able to login via XRDP. The user/password are set correctly because I can ssh into the machine.
The error I'm getting is the same as in this question: xrdp session: Login failed for display 0
I checked /etc/xrdp/sesman.ini and everything looks OK.
TerminalServerUsers=tsusers
TerminalServerAdmins=tsadmins
; When AlwaysGroupCheck=false access will be permitted
; if the group TerminalServerUsers is not defined.
AlwaysGroupCheck=false
I'm able to log in OK using my regular username & password so I'm guessing the AlwaysGroupCheck option works. For good measure I created the tsusers & tsadmins groups and add the new user to them, then restarted the xrdp service but still not able to login.
Host is Windows7, target is Ubuntu 14.04.
ubuntu
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I created a new user, set the password but not able to login via XRDP. The user/password are set correctly because I can ssh into the machine.
The error I'm getting is the same as in this question: xrdp session: Login failed for display 0
I checked /etc/xrdp/sesman.ini and everything looks OK.
TerminalServerUsers=tsusers
TerminalServerAdmins=tsadmins
; When AlwaysGroupCheck=false access will be permitted
; if the group TerminalServerUsers is not defined.
AlwaysGroupCheck=false
I'm able to log in OK using my regular username & password so I'm guessing the AlwaysGroupCheck option works. For good measure I created the tsusers & tsadmins groups and add the new user to them, then restarted the xrdp service but still not able to login.
Host is Windows7, target is Ubuntu 14.04.
ubuntu
I created a new user, set the password but not able to login via XRDP. The user/password are set correctly because I can ssh into the machine.
The error I'm getting is the same as in this question: xrdp session: Login failed for display 0
I checked /etc/xrdp/sesman.ini and everything looks OK.
TerminalServerUsers=tsusers
TerminalServerAdmins=tsadmins
; When AlwaysGroupCheck=false access will be permitted
; if the group TerminalServerUsers is not defined.
AlwaysGroupCheck=false
I'm able to log in OK using my regular username & password so I'm guessing the AlwaysGroupCheck option works. For good measure I created the tsusers & tsadmins groups and add the new user to them, then restarted the xrdp service but still not able to login.
Host is Windows7, target is Ubuntu 14.04.
ubuntu
ubuntu
asked Oct 5 '17 at 18:47
ventsyv
207411
207411
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
I restarted the machine and I noticed that I'm no longer getting the xrdp session: Login failed for display 0
error. I suspect that creating the tsusers group and adding the new user to it, then restarting the xrdp service might've work but I probably did not notice because there was an additional problem with the window manager.
This should work:
#create the user
sudo adduser --home /home/<username>/ <username>
#create the groups
sudo addgroup tsusers
sudo addgroup tsadmins
#Add the new user to the xrdp group
sudo adduser <username> tsusers
#Restart the service
sudo service xrdp restart
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I restarted the machine and I noticed that I'm no longer getting the xrdp session: Login failed for display 0
error. I suspect that creating the tsusers group and adding the new user to it, then restarting the xrdp service might've work but I probably did not notice because there was an additional problem with the window manager.
This should work:
#create the user
sudo adduser --home /home/<username>/ <username>
#create the groups
sudo addgroup tsusers
sudo addgroup tsadmins
#Add the new user to the xrdp group
sudo adduser <username> tsusers
#Restart the service
sudo service xrdp restart
add a comment |
up vote
0
down vote
I restarted the machine and I noticed that I'm no longer getting the xrdp session: Login failed for display 0
error. I suspect that creating the tsusers group and adding the new user to it, then restarting the xrdp service might've work but I probably did not notice because there was an additional problem with the window manager.
This should work:
#create the user
sudo adduser --home /home/<username>/ <username>
#create the groups
sudo addgroup tsusers
sudo addgroup tsadmins
#Add the new user to the xrdp group
sudo adduser <username> tsusers
#Restart the service
sudo service xrdp restart
add a comment |
up vote
0
down vote
up vote
0
down vote
I restarted the machine and I noticed that I'm no longer getting the xrdp session: Login failed for display 0
error. I suspect that creating the tsusers group and adding the new user to it, then restarting the xrdp service might've work but I probably did not notice because there was an additional problem with the window manager.
This should work:
#create the user
sudo adduser --home /home/<username>/ <username>
#create the groups
sudo addgroup tsusers
sudo addgroup tsadmins
#Add the new user to the xrdp group
sudo adduser <username> tsusers
#Restart the service
sudo service xrdp restart
I restarted the machine and I noticed that I'm no longer getting the xrdp session: Login failed for display 0
error. I suspect that creating the tsusers group and adding the new user to it, then restarting the xrdp service might've work but I probably did not notice because there was an additional problem with the window manager.
This should work:
#create the user
sudo adduser --home /home/<username>/ <username>
#create the groups
sudo addgroup tsusers
sudo addgroup tsadmins
#Add the new user to the xrdp group
sudo adduser <username> tsusers
#Restart the service
sudo service xrdp restart
answered Oct 6 '17 at 15:09
ventsyv
207411
207411
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1256618%2fxrdp-login-failed-for-display-0%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown