XRDP login failed for display 0
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 |
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
1
Maybe it is time you accept your own answer...` :-)`
– Hastur
Dec 17 '18 at 22:12
add a comment |
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
ventsyvventsyv
2171411
2171411
1
Maybe it is time you accept your own answer...` :-)`
– Hastur
Dec 17 '18 at 22:12
add a comment |
1
Maybe it is time you accept your own answer...` :-)`
– Hastur
Dec 17 '18 at 22:12
1
1
Maybe it is time you accept your own answer...` :-)`
– Hastur
Dec 17 '18 at 22:12
Maybe it is time you accept your own answer...` :-)`
– Hastur
Dec 17 '18 at 22:12
add a comment |
1 Answer
1
active
oldest
votes
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 |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
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 |
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 |
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
ventsyvventsyv
2171411
2171411
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
1
Maybe it is time you accept your own answer...` :-)`
– Hastur
Dec 17 '18 at 22:12