Public bug reported:

Steps to reproduce

1. Create LXD VM desktop-jammy on Ubuntu 24.04 (Noble) host
lxc init --vm ubuntu:22.04 desktop-jammt
2. lxc start desktop-noble
3. lxc exec desktop-noble bash
4. Install ubuntu-desktop metapackage
apt update
apt install -y ubuntu-desktop
5. Set passwd for ubuntu user 
$ passwd ubuntu

6. Reboot

7. Connect to the vga console 
lxc console --type=vga desktop-jammy
Wait for login screen to load

Expected result

The GDM login menu should appear

The actual result

The screen is stuck.
I saw that the daemon is not running
root@desktop-jammy:~# systemctl status spice-vdagentd
○ spice-vdagentd.service - Agent daemon for Spice guests
     Loaded: loaded (/lib/systemd/system/spice-vdagentd.service; indirect; 
vendor preset: enabled)
     Active: inactive (dead)
TriggeredBy: ● spice-vdagentd.socket
I started it
root@desktop-jammy:~# systemctl start spice-vdagentd
root@desktop-jammy:~# journalctl -u spice-vdagentd -f
Feb 11 17:26:14 desktop-jammy systemd[1]: Starting Agent daemon for Spice 
guests...
Feb 11 17:26:14 desktop-jammy systemd[1]: Started Agent daemon for Spice guests.
root@desktop-jammy:~# systemctl status spice-vdagentd
● spice-vdagentd.service - Agent daemon for Spice guests
     Loaded: loaded (/lib/systemd/system/spice-vdagentd.service; indirect; 
vendor preset: enabled)
     Active: active (running) since Tue 2025-02-11 17:26:14 UTC; 9s ago
TriggeredBy: ● spice-vdagentd.socket
    Process: 866 ExecStart=/usr/sbin/spice-vdagentd $SPICE_VDAGENTD_EXTRA_ARGS 
(code=exited, status=0/SUCCESS)
   Main PID: 867 (spice-vdagentd)
      Tasks: 2 (limit: 8872)
     Memory: 856.0K
        CPU: 6ms
     CGroup: /system.slice/spice-vdagentd.service
             └─867 /usr/sbin/spice-vdagentd

Feb 11 17:26:14 desktop-jammy systemd[1]: Starting Agent daemon for Spice 
guests...
Feb 11 17:26:14 desktop-jammy systemd[1]: Started Agent daemon for Spice guests.

but still when I retry connecting to vga console the screen is stuck on
loading and shows nothinh

When you try the same for ubuntu:24.04 all works as expected and you
also see the system logs on loading before seeing the Login screen.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: spice-vdagent 0.22.1-1
ProcVersionSignature: Ubuntu 5.15.0-1073.78-kvm 5.15.168
Uname: Linux 5.15.0-1073-kvm x86_64
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
CasperMD5CheckResult: unknown
CloudArchitecture: x86_64
CloudID: lxd
CloudName: lxd
CloudPlatform: lxd
CloudSubPlatform: LXD socket API v. 1.0 (/dev/lxd/sock)
Date: Tue Feb 11 17:28:08 2025
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=C.UTF-8
SourcePackage: spice-vdagent
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: spice-vdagent (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy uec-images

** Attachment added: "Screenshot from 2025-02-11 18-27-14.png"
   
https://bugs.launchpad.net/bugs/2098014/+attachment/5856559/+files/Screenshot%20from%202025-02-11%2018-27-14.png

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

Title:
  spice-vdagent seems not to be working in jammy when connecting from
  noble

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spice-vdagent/+bug/2098014/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to