-
-
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
Session disconnects, can't reconnect during Ubuntu system upgrade #2245
Comments
So were you trying to upgrade the remote Ubuntu from 20.04 to 22.04 over an
RDP connection ?
*do-release-upgrade -d*
which is what that command would do?
Did I read your email right?
brian
…On Sun, May 1, 2022, 7:04 PM jpmorrison ***@***.***> wrote:
Connected to Ubuntu 20.04 with MS RDP. Xrdp was installed from Ubuntu
repositories
Ran do-release-upgrade -d in a terminal window and the RDP session
dropped.
Reconnecting shows the log/login prompt - after logging in the session is
dropped again.
Not sure which logs are useful
/var/log/auth,log
May 1 15:54:19 ubuntu-test xrdp-sesman[2269689]: pam_unix(xrdp-sesman:session): session opened for user jmorrison(uid=1000) by (uid=0)
May 1 15:54:19 ubuntu-test systemd-logind[4244]: New session c19 of user jmorrison.
May 1 15:54:20 ubuntu-test systemd-logind[4244]: Failed to restore VT, ignoring: Bad file descriptor
May 1 15:54:21 ubuntu-test xrdp-sesman[2269689]: pam_unix(xrdp-sesman:session): session closed for user jmorrison
May 1 15:54:21 ubuntu-test systemd-logind[4244]: Session c19 logged out. Waiting for processes to exit.
May 1 15:54:30 ubuntu-test systemd-logind[4244]: Removed session c19.
—
Reply to this email directly, view it on GitHub
<#2245>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAM23J6MEM4KCXII3GHQ2YLVH4EXHANCNFSM5U2RJJQQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I think this is a consequence of two things:-
When xrdp is upgraded, it will need to be stopped and restarted. This leaves an orphaned session (point 1). Because this session is active according to systemd however, you will be unable to start a new one (point 2). I can understand you really want to connect to the old session however, to see how things have gone. Have you got another machine running with a graphical login available? |
No response from OP - closing |
Connected to Ubuntu 20.04 with MS RDP. Xrdp was installed from Ubuntu repositories
Ran
do-release-upgrade -d
in a terminal window and the RDP session dropped.Reconnecting shows the log/login prompt - after logging in the session is dropped again.
Not sure which logs are useful
/var/log/auth,log
The text was updated successfully, but these errors were encountered: