** Description changed:

- each time i connect to Ubuntu 24.04 via remote desktop , i got a new
- fresh session , and rdp not picking and continuing from the previous run
+ [ Impact ]
  
- ProblemType: Bug
- DistroRelease: Ubuntu 24.04
- Package: gnome-remote-desktop 46.2-1~ubuntu24.04.2
- ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
- Uname: Linux 6.8.0-31-generic x86_64
- NonfreeKernelModules: lkp_Ubuntu_6_8_0_31_31_generic_104
- ApportVersion: 2.28.1-0ubuntu3
- Architecture: amd64
- CasperMD5CheckResult: unknown
- CurrentDesktop: ubuntu:GNOME
- Date: Thu Jul  4 23:10:55 2024
- InstallationDate: Installed on 2024-07-02 (2 days ago)
- InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
- ProcEnviron:
-  LANG=en_US.UTF-8
-  PATH=(custom, no user)
-  SHELL=/bin/bash
-  TERM=xterm-256color
-  XDG_RUNTIME_DIR=<set>
- SourcePackage: gnome-remote-desktop
- UpgradeStatus: No upgrade log present (probably fresh install)
+ Disconnecting from a GNOME Remote Desktop session terminates the
+ session, and re-connecting would start a fresh new session.
+ 
+ This is especially problematic for intermittent connections, where
+ you're always at risk of losing data when the network disconnects.
+ 
+ Instead, we would like sessions to remain active in the background when
+ disconnecting, available for resumption on reconnect.
+ 
+ To address this, patches in both gdm3 and gnome-remote-desktop are necessary.
+ The updates can be applied independently without introducing regressions, but 
you will need both updates applied to gain the new functionality.
+ There are no new versioned dependencies between gdm and gnome-remote-desktop, 
to minimize the risk of accidental package removal on upgrade.
+ 
+ [ Test Plan ]
+ 
+ 1. Configure and enable headless gnome remote desktop, also known as "Remote 
Login" in Settings
+ 2. Log out
+ 3. Connect via RDP
+ 4. Verify that the log-in screen appears in the RDP client
+ 5. Log-in
+ 6. Open some applications
+ 6. Disconnect, for example by closing the RDP client
+ 7. Connect via RDP again
+ 8. Verify that the log-in screen appears again
+ 9. Log-in to the same user
+ 10. Verify that you got back into the same session, with all the same apps 
open
+ 
+ [ Regression Test Plan ]
+ 
+ 1. Log-in from a physical machine
+ 2. Open some applications
+ 3. Return to the log-in screen by either:
+    - Select "Switch User" if available, or
+    - Press Ctrl+Alt+F1
+ 4. Log-in to the same user
+ 5. Verify that you got back into the same session, with all the same apps open
+ 
+ [ Where problems could occur ]
+ 
+ Failures could manifest at different levels:
+ * If GDM crashes, the log-in screen may never appear after log-out or reboot.
+ * If there's an issue in the GDM session restore logic, it could impact 
non-remote sessions as well (see section "Regression Test Plan")
+ * If there's a new bug in gnome-remote-desktop then "Remote Login" may stop 
working entirely; "Desktop Sharing" remote desktop instead is unaffected by 
these changes.
+ 
+ [ Other Info ]
+ 
+ Please promote both gdm3 and gnome-remote-desktop updates to stable at
+ the same time.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2072130

Title:
  RDP doesn't keep sessions alive in Ubuntu 24.04 after disconnecting

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/2072130/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to