Screen sharing with RDP was indeed advertised with the Ubuntu 22.04 release, 
because it is part of GNOME 42 (see the release notes).
This uses the RDP backend in GNOME Remote Desktop (g-r-d) and has nothing to do 
with xrdp, which you apparently installed additionally.

With the extra installation of xrdp, you basically fucked up your system, since 
both g-r-d and xrdp are RDP servers and they are fighting over the RDP port 
(3389).
Screen sharing with g-r-d is literally a one-click-experience, meaning it just 
needs to be turned on g-c-c. g-r-d is also not limited to x11 and works in 
Wayland too.

What you did here was mixing g-r-d with xrdp (same with the links you
posted) and blaming this on Ubuntu. This is a classic example of a
PICNIC issue (Problem In Chair, Not In Computer).

I suggest you to look up what the RDP protocol is (you apparently don't
know (protocol vs implementation(s))), and look into the respective
Ubuntu help, as it tells how to connect to an RDP server (and especially
g-r-d) with an RDP client.

** Changed in: remmina (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to remmina in Ubuntu.
https://bugs.launchpad.net/bugs/1995201

Title:
  remote desktop screen sharing does not work

Status in remmina package in Ubuntu:
  Invalid

Bug description:
  https://www.omgubuntu.co.uk/2022/06/use-ipad-as-second-monitor-
  ubuntu-22-04 and

  
https://www.reddit.com/r/gnome/comments/uz5as7/gnome_has_made_it_super_simple_to_extend_your/

  https://ubuntuhandbook.org/index.php/2022/04/ubuntu-22-04-remote-
  desktop-control/

  advertise screen sharing via rdp on Ubuntu 22.04 and I hoped to be
  able to use it.

  Unfortunately on multiple machines i was not able to get it working
  and it seems for various reasons. On the other hand i couldn't find
  proper bug reports yet.

  There are quite a few stackexhange questons out there related to 22.04 remote 
desktop sharing such as
  * https://askubuntu.com/questions/1407444/ubuntu-22-04-remote-deskop-headless
  * 
https://askubuntu.com/questions/1403943/22-04-remote-desktop-sharing-authentication-password-changes-every-reboot
  * 
https://askubuntu.com/questions/1406292/remote-desktop-via-vnc-is-black-mouse-keyboard-works
  * 
https://askubuntu.com/questions/1404245/remote-desktop-from-windows-onto-ubuntu-22-04-takes-me-to-a-xrdp-login-then-a-bl
  * 
https://askubuntu.com/questions/1404245/remote-desktop-from-windows-onto-ubuntu-22-04-takes-me-to-a-xrdp-login-then-a-bl

  I'd expect that the remote desktop sharing works out of the box and needs no 
further configuration and fiddling. Especially it should work if already logged 
in. There seem to be so many parts involved in this that 
  there is IMHO a need to have a look at this from an overarching enduser 
viewpoint instead of assuming that users have to take a sysadmin course to use 
Ubuntu 22.04 LTS remote desktop sharing. After all this is version 22 of the 
system and not trying to implement bug #1 of Ubuntu.

  
  Let's start with the machine where i think things are getting close to 
working and the message in /var/log/syslog is:
  ```
  Oct 30 11:02:57 capri xrdp-sesman[101542]: [WARN ] Timed out waiting for X 
server on display 11 to startup
  Oct 30 11:02:57 capri xrdp-sesman[101542]: [INFO ] Session started 
successfully for user wf on display 11
  Oct 30 11:02:57 capri xrdp-sesman[102029]: [INFO ] Starting the xrdp channel 
server for display 11
  Oct 30 11:02:57 capri xrdp-sesman[101542]: [INFO ] Session in progress on 
display 11, waiting until the window manager (pid 101543) exits to end the 
session
  Oct 30 11:02:57 capri xrdp-sesman[101543]: [WARN ] Timed out waiting for X 
server on display 11 to startup
  Oct 30 11:02:57 capri xrdp-sesman[101543]: [ERROR] There is no X server 
active on display 11
  Oct 30 11:02:57 capri xrdp-sesman[101543]: [ERROR] A fatal error has occured 
attempting to start the window manager on display 11, aborting connection
  Oct 30 11:02:57 capri xrdp-sesman[101542]: [WARN ] Window manager (pid 
101543, display 11) exited quickly (0 secs). This could indicate a window 
manager config problem
  Oct 30 11:02:57 capri xrdp-sesman[101542]: [INFO ] Calling auth_stop_session 
and auth_end from pid 101542
  Oct 30 11:02:57 capri xrdp-sesman[101542]: [INFO ] Terminating X server (pid 
101544) on display 11
  Oct 30 11:02:57 capri xrdp-sesman[101542]: [INFO ] Terminating the xrdp 
channel server (pid 102029) on display 11
  Oct 30 11:02:57 capri xrdp-sesman[101542]: [INFO ] X server on display 11 
(pid 101544) returned exit code 1 and signal number 0
  Oct 30 11:02:57 capri xrdp-sesman[101542]: [INFO ] xrdp channel server for 
display 11 (pid 102029) exit code 0 and signal number 0
  Oct 30 11:02:57 capri xrdp-sesman[101542]: [INFO ] cleanup_sockets:
  Oct 30 11:02:57 capri xrdp-sesman[1287]: [INFO ] ++ terminated session:  
username wf, display :11.0, session_pid 101542, ip ::ffff:2.0.0.10:59651 - 
socket: 12
  ```

  And i get a black screen in the rdp client on my mac os machine from
  which i try to connect with Microsoft Remote Desktop

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to