VM hangs and does not complete boot

May be you could try to add hyperv config like with other vm.

Yes I can, but GDM should work before, no?

Should be ok without GDM as long as Xserver working properly.

systemctl mask kdm
systemctl mask lightdm
systemctl enable gdm

@grumpey , but when I disabled KDM and enabled gdm, gdm was always in ‘inactive’ status Ok
If I follow your instructions and get the same issue, how do I unmask kdm again?

systemctl unmask <unit>

You might want to go ahead with startx from the command line and see if it’s the same.

OKk i will follow the 3 instructions and let you know

when I issued the 3rd ccommand I got

[root@salamlinux ~]# systemctl enable gdm
Failed to enable unit: File /etc/systemd/system/display-manager.service already exists and is a symlink to /usr/lib/systemd/system/kdm.service.

issuing
systemctl status gdm
i get

● gdm.service - GNOME Display Manager
Loaded: loaded (/usr/lib/systemd/system/gdm.service; disabled; vendor preset: enabled)
Active: inactive (dead)

what do you get when you do:
systemctl disable kdm.service

root@salamlinux ~]# systemctl disable kdm.service
Unit /etc/systemd/system/kdm.service is masked, ignoring.

systemctl -f enable gdm

Yes I think it worked, I will reboot

[root@salamlinux ~]# systemctl -f enable gdm
Removed /etc/systemd/system/display-manager.service.
Created symlink /etc/systemd/system/display-manager.service → /usr/lib/systemd/system/gdm.service.

Yes, @grumpey , now login screen is displayed in boot process and I can RDP as well correcly, so I will proceed to upgrade to F35

One thing before upgrading to f35, @oprizal indicated in the procedure to upgrade that I should check

dnf repoquery --unsatisfied
and it should be empty which is not the case as you can see

root@salamlinux ~]# dnf repoquery --unsatisfied
Fedora 33 - x86_64 10 MB/s | 64 MB 00:06
Fedora 33 openh264 (From Cisco) - x86_64 1.2 kB/s | 2.5 kB 00:02
Fedora 33 - x86_64 - Updates 7.6 MB/s | 34 MB 00:04
MongoDB Repository 31 kB/s | 20 kB 00:00
MySQL Connectors Community 112 kB/s | 42 kB 00:00
MySQL Tools Community 340 kB/s | 236 kB 00:00
RPM Fusion for Fedora 33 - Free 539 kB/s | 897 kB 00:01
RPM Fusion for Fedora 33 - Free - Updates 586 kB/s | 436 kB 00:00
RPM Fusion for Fedora 33 - Nonfree 234 kB/s | 278 kB 00:01
RPM Fusion for Fedora 33 - Nonfree - Updates 107 kB/s | 79 kB 00:00
Webmin Distribution Neutral 640 kB/s | 18 MB 00:28

I did
dnf autoremove
the result was

Last metadata expiration check: 0:01:10 ago on Wed 15 Dec 2021 02:20:04 PM CET.
Dependencies resolved.
Nothing to do.
Complete!

when I execute again
dnf repoquery --unsatisfied
I get nothing

[root@salamlinux ~]# dnf repoquery --unsatisfied
Last metadata expiration check: 0:05:07 ago on Wed 15 Dec 2021 02:20:04 PM CET.
[root@salamlinux ~]#

To make sure, run sudo dnf distro-sync. Please don’t forget to make snapshot on your hyperv as backup.

@all, just finished upgrading the 2nd VM to F35, it went very sommthly, boot process went through and I can RDP with my user.
However, RDPing with root is not working anymore. Any possible reason for this?
Also, another side effect, when I trigger terminal, I get

GVM-JAVA_HOME not set and cannot find javac to deduce location, please set…

Thanks again for all of you

By default, root password are locked. I’m not sure when it start like that as default. But you can activate it again with sudo passwd root type your user admin password, and then new password for root.

By the way, your recent upgrade using custom config for hyperv or not? I need the confirmation about thus workaround to fix xserver on bios gen 1 in hyperv.

On the boot screen, I can login with root and its password, with no issue.
No I did not use custom config for hyperv for this 2nd machine

Discussion about rdp as root failure continued at
https://discussion.fedoraproject.org/t/unable-to-rdp-as-root/58185

1 Like

In fact, i used desktop-switch to switch to xfce4 desktop and I was able to RDP with ROOT. Not sure why before F35 the other desktop was working with RDP and now not after upgrading to F35