xRDP forces quit on login after reboot
up vote
0
down vote
favorite
I have a CentOS 7 VM which I access via RDP from Windows 7. I have been able to access it just fine until I recently rebooted the VM. Now when I try to login via RDP I get to the xRDP login screen and after putting in my user name and password the screen goes black and force closes after a couple of seconds. I can login via SSH from another CentOS VM. I have also tested xRDP from that CentOS VM and the result is the same. I am able to login using other user accounts. What types of logs should I be looking at to diagnose the problem?
edit: Adding the log contents from a log a found that seems relevant "xrdp-sesmn.log"
[20181206-16:32:55] [INFO ] A connection received from X port X
[20181206-16:32:55] [INFO ] ++ created session (access granted): username X, ip X - socket: 12
[20181206-16:32:55] [INFO ] starting Xorg session...
[20181206-16:32:55] [DEBUG] Closed socket 9 (AF_INET X)
[20181206-16:32:55] [DEBUG] Closed socket 9 (AF_INET X)
[20181206-16:32:55] [DEBUG] Closed socket 9 (AF_INET X)
[20181206-16:32:55] [DEBUG] Closed socket 8 (AF_INET X)
[20181206-16:32:55] [INFO ] calling auth_start_session from pid 24048
[20181206-16:32:55] [DEBUG] Closed socket 7 (AF_INET X)
[20181206-16:32:55] [DEBUG] Closed socket 8 (AF_INET X)
[20181206-16:32:55] [INFO ] setpriv --no-new-privs Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log$
[20181206-16:32:56] [CORE ] waiting for window manager (pid 24051) to exit
[20181206-16:32:58] [CORE ] window manager (pid 24051) did exit, cleaning up session
[20181206-16:32:58] [INFO ] calling auth_stop_session and auth_end from pid 24048
[20181206-16:32:58] [DEBUG] cleanup_sockets:
[20181206-16:32:58] [DEBUG] cleanup_sockets: deleting /tmp/.xrdp/xrdpapi_10
[20181206-16:32:58] [INFO ] ++ terminated session: username X, display :10.0, session_pid 24048, ip X - socket: 12
centos xrdp
add a comment |
up vote
0
down vote
favorite
I have a CentOS 7 VM which I access via RDP from Windows 7. I have been able to access it just fine until I recently rebooted the VM. Now when I try to login via RDP I get to the xRDP login screen and after putting in my user name and password the screen goes black and force closes after a couple of seconds. I can login via SSH from another CentOS VM. I have also tested xRDP from that CentOS VM and the result is the same. I am able to login using other user accounts. What types of logs should I be looking at to diagnose the problem?
edit: Adding the log contents from a log a found that seems relevant "xrdp-sesmn.log"
[20181206-16:32:55] [INFO ] A connection received from X port X
[20181206-16:32:55] [INFO ] ++ created session (access granted): username X, ip X - socket: 12
[20181206-16:32:55] [INFO ] starting Xorg session...
[20181206-16:32:55] [DEBUG] Closed socket 9 (AF_INET X)
[20181206-16:32:55] [DEBUG] Closed socket 9 (AF_INET X)
[20181206-16:32:55] [DEBUG] Closed socket 9 (AF_INET X)
[20181206-16:32:55] [DEBUG] Closed socket 8 (AF_INET X)
[20181206-16:32:55] [INFO ] calling auth_start_session from pid 24048
[20181206-16:32:55] [DEBUG] Closed socket 7 (AF_INET X)
[20181206-16:32:55] [DEBUG] Closed socket 8 (AF_INET X)
[20181206-16:32:55] [INFO ] setpriv --no-new-privs Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log$
[20181206-16:32:56] [CORE ] waiting for window manager (pid 24051) to exit
[20181206-16:32:58] [CORE ] window manager (pid 24051) did exit, cleaning up session
[20181206-16:32:58] [INFO ] calling auth_stop_session and auth_end from pid 24048
[20181206-16:32:58] [DEBUG] cleanup_sockets:
[20181206-16:32:58] [DEBUG] cleanup_sockets: deleting /tmp/.xrdp/xrdpapi_10
[20181206-16:32:58] [INFO ] ++ terminated session: username X, display :10.0, session_pid 24048, ip X - socket: 12
centos xrdp
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a CentOS 7 VM which I access via RDP from Windows 7. I have been able to access it just fine until I recently rebooted the VM. Now when I try to login via RDP I get to the xRDP login screen and after putting in my user name and password the screen goes black and force closes after a couple of seconds. I can login via SSH from another CentOS VM. I have also tested xRDP from that CentOS VM and the result is the same. I am able to login using other user accounts. What types of logs should I be looking at to diagnose the problem?
edit: Adding the log contents from a log a found that seems relevant "xrdp-sesmn.log"
[20181206-16:32:55] [INFO ] A connection received from X port X
[20181206-16:32:55] [INFO ] ++ created session (access granted): username X, ip X - socket: 12
[20181206-16:32:55] [INFO ] starting Xorg session...
[20181206-16:32:55] [DEBUG] Closed socket 9 (AF_INET X)
[20181206-16:32:55] [DEBUG] Closed socket 9 (AF_INET X)
[20181206-16:32:55] [DEBUG] Closed socket 9 (AF_INET X)
[20181206-16:32:55] [DEBUG] Closed socket 8 (AF_INET X)
[20181206-16:32:55] [INFO ] calling auth_start_session from pid 24048
[20181206-16:32:55] [DEBUG] Closed socket 7 (AF_INET X)
[20181206-16:32:55] [DEBUG] Closed socket 8 (AF_INET X)
[20181206-16:32:55] [INFO ] setpriv --no-new-privs Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log$
[20181206-16:32:56] [CORE ] waiting for window manager (pid 24051) to exit
[20181206-16:32:58] [CORE ] window manager (pid 24051) did exit, cleaning up session
[20181206-16:32:58] [INFO ] calling auth_stop_session and auth_end from pid 24048
[20181206-16:32:58] [DEBUG] cleanup_sockets:
[20181206-16:32:58] [DEBUG] cleanup_sockets: deleting /tmp/.xrdp/xrdpapi_10
[20181206-16:32:58] [INFO ] ++ terminated session: username X, display :10.0, session_pid 24048, ip X - socket: 12
centos xrdp
I have a CentOS 7 VM which I access via RDP from Windows 7. I have been able to access it just fine until I recently rebooted the VM. Now when I try to login via RDP I get to the xRDP login screen and after putting in my user name and password the screen goes black and force closes after a couple of seconds. I can login via SSH from another CentOS VM. I have also tested xRDP from that CentOS VM and the result is the same. I am able to login using other user accounts. What types of logs should I be looking at to diagnose the problem?
edit: Adding the log contents from a log a found that seems relevant "xrdp-sesmn.log"
[20181206-16:32:55] [INFO ] A connection received from X port X
[20181206-16:32:55] [INFO ] ++ created session (access granted): username X, ip X - socket: 12
[20181206-16:32:55] [INFO ] starting Xorg session...
[20181206-16:32:55] [DEBUG] Closed socket 9 (AF_INET X)
[20181206-16:32:55] [DEBUG] Closed socket 9 (AF_INET X)
[20181206-16:32:55] [DEBUG] Closed socket 9 (AF_INET X)
[20181206-16:32:55] [DEBUG] Closed socket 8 (AF_INET X)
[20181206-16:32:55] [INFO ] calling auth_start_session from pid 24048
[20181206-16:32:55] [DEBUG] Closed socket 7 (AF_INET X)
[20181206-16:32:55] [DEBUG] Closed socket 8 (AF_INET X)
[20181206-16:32:55] [INFO ] setpriv --no-new-privs Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log$
[20181206-16:32:56] [CORE ] waiting for window manager (pid 24051) to exit
[20181206-16:32:58] [CORE ] window manager (pid 24051) did exit, cleaning up session
[20181206-16:32:58] [INFO ] calling auth_stop_session and auth_end from pid 24048
[20181206-16:32:58] [DEBUG] cleanup_sockets:
[20181206-16:32:58] [DEBUG] cleanup_sockets: deleting /tmp/.xrdp/xrdpapi_10
[20181206-16:32:58] [INFO ] ++ terminated session: username X, display :10.0, session_pid 24048, ip X - socket: 12
centos xrdp
centos xrdp
edited Dec 6 at 21:47
asked Dec 6 at 21:38
Bogdan Janiszewski
1063
1063
add a comment |
add a comment |
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f486470%2fxrdp-forces-quit-on-login-after-reboot%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2funix.stackexchange.com%2fquestions%2f486470%2fxrdp-forces-quit-on-login-after-reboot%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