Comment 14 for bug 1970924

Revision history for this message
Joe Smith (joesmith32158976) wrote :

Later that night...

I went back to the computer and it still had not booted. I had to force shut it down.

Once it had booted, I tried connecting and ...

https://i.imgur.com/4norRln.png

Got the same error "An internal error has occurred" on the ms client side

server side

gnome-remote-de[822]: [RDP] Username is not set, denying client

This computer is a fresh install of 22.04.2 ubuntu

basic automatic filesystem setup on UEFI system
dark mode enabled
automatic login
disable auto lock
system updated and upgraded
these packages installed qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libqt5serialport5-dev qtcreator build-essential git

Next I will try to do, just a reboot. See if it reboots without issue normally.

Ah it always hangs during restarts now.

Might be due to the earlier install, or maybe gnome-remote-desktop settings, can't tell.

So I"m going to re-install a fresh copy of ubuntu 22.04.2 and test without updating first

----------

ok Ubuntu re-installed

Ok done

Fressh 22.04.2, no updates, just installed openssh-server, enabled sharing-> remote desktop set the username and password (to cnc in my case)

https://i.imgur.com/4iV9zyv.png

ANd still right away the error

gnome-remote-de[854]: [RDP] Username is not set, denying client

I tried manually setting the credentials with

sudo grdctl set-credentials cnc cnc

but it replies with usage information (though not exactly an error ?!)

Usage: grdctl [OPTIONS...] COMMAND [SUBCOMMAND]...

went back to the rdp server computer, went into sharing -> remote desktop -> typed in the password again and enter

And now finally, the MS RDP client asks "Enter your credentials"

https://i.imgur.com/sscS2cd.png

It says "identify of the remote computer cannot be verified" connect anyway ? - YES

ANd it works and it's connected https://i.imgur.com/1BsAncH.png

Now I just reboot

https://i.imgur.com/tLA3MMS.png

system reboots quickly, it's back to the desktop, I try to connect

https://i.imgur.com/AbVqrVW.png

And the error's back

 I didn't click "remember me" I didn't click "don't ask again" about the certificate

It says in /var/log/syslog gnome-remote-de[856]: [RDP] Username is not set, denying client

It will not connect no matter what ....

I try grdctl again this time I think I have the right command line

sudo grdctl rdp set-credentials cnc cnc

but uh oh Cannot autolaunch D-Bus without X11 $DISPLAY

 I guess I need to set the DISPLAY variable

cnc@cnc:~$ sudo grdctl rdp set-credentials cnc cnc
Cannot autolaunch D-Bus without X11 $DISPLAY
cnc@cnc:~$ export DISPLAY=:0
cnc@cnc:~$ sudo grdctl rdp set-credentials cnc cnc
Failed to execute child process ?dbus-launch? (No such file or directory)

Ok, I'll go type this in the console of the desktop of the server

Well same error

https://i.imgur.com/UAWYArw.jpg

I think there well and truly is a bug there !?

The rdp server is losing it's login and password on every reboot and you can set them automatically with a command line automation

set the password in sharing -> remote desktop again

and it just works immediately https://i.imgur.com/TbdKnS4.png

didn't even need to press enter

I disconnect

remote desktop client again https://i.imgur.com/OhTiCCN.png

enter your credentials https://i.imgur.com/5AXdQL2.png

identity cannot be verified https://i.imgur.com/rps8eMs.png

and connected again https://i.imgur.com/S9xrcIV.png

reboot

This time I only set the username in sharing -> remote desktop, not the password

And it asks to enter credentials on the client and I get a new error this time !

https://i.imgur.com/MDmBtyE.png

went back, set the password, now it works https://i.imgur.com/6BjeS3y.png

Ok, well I think I fully documented every aspects of this bug that definitely exists in 22.04.2