Re: GUI-Login on bookworm-VM in a cloud
Christoph,
What video device does your VM use? Maybe it uses real hardware, or does it use a virtual device like QLX or Virtio? I have been using virtio. I also tried QLX and it works.
See below for other questions.
On Friday, 05-07-2024 at 01:16 Christoph Pleger wrote:
> Hello,
> > To get to the bottom of the problem, I upgraded a bullseye VM
> > to a bookworm VM step by step: first libc, then the Xorg-
> > packages, then the kernel, then sddm, lightdm and gdm3, and finally
> the
> > rest. Unfortunately, it was only after the rest that the GUI login no
> > longer appeared; therefore I am not really any further with the
> answer
> > to the question what exactly the problem is.
>
>
> I can now tell that the problem is introduced when upgrading the
> following packages from bullseye to their bookworm versions:
Did you upgrade your full distribution or only these files?
I would never consider using packages from a different Debian version. I guess people do this? But liking stability, it is not something I would do.
>
> libglx-mesa0 libx11-xcb1 libgbm1 libgl1-mesa-dri libdrm-common
> libglapi-mesa libdrm-amdgpu1 libdrm2 libegl-mesa0 libx11-6
> libwayland-client0
>
> Regards
> Christoph
>
I did a test, building a Bullseye VM and then totally upgrading to Bookworm and had no issues.
George.
See below for the steps I used:
Using Virt-Manager, create a Bullseye, KDE Virtual Machine using VNC to communcate to the virtio display device.
Upgrade Bullseye to Bookworm: https://wiki.debian.org/DebianUpgrade
nano /etc/apt/sources.list
(remark out Bullseye repositories and replace with the below Bookworm repositories)
deb https://deb.debian.org/debian/ bookworm main non-free non-free-firmware contrib
deb-src http://deb.debian.org/debian/ bookworm main non-free non-free-firmware contrib
deb https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb https://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb-src https://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
# bookworm-backports, previously on backports.debian.org
deb https://deb.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
deb-src https://deb.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
apt update && apt update && apt full-upgrade -y
(allow the restart of services as the installation continues)
Let the installation run, then reboot and log back in...
A number of Errors were reported
rebooted when installation completed
logged in and ran updates again, various packages were "Setting up" and there were a number of "Installing new version of " a config file".
rebooted when installation completed
logged back in and all worked.
Ran apt autoremove, rebooted and logged back in, all working well.
Reply to: