Open asimesar opened 1 year ago
Get the template logs from dom0: /var/log/xen/console/guest-debian-11-minimal.log
This will help to find the issue.
I was able to reproduce this by only upgrading qubes-gui-agent
and its dependencies libvchan-xen1 xserver-xorg-input-qubes xserver-xorg-qubes-common xserver-xorg-video-dummyqbs
. It affects cli apps as well (e.g. qvm-run -u root debian-11-minimal -- ps aux
with or without -p
just hangs).
A disposable based off of this template shuts itself down without logging any shutdown messages to /var/log/xen/console/
after about a minute.
Note that the attached log includes the initial successful startup (and shutdown).
If the Template stay up, run the following command in dom0:
qvm-console-dispvm debian-11-minimal
A new terminal window should appear. Login with "user", then check the status of qubes-gui-agent:
sudo systemctl status qubes-gui-agent
Get full logs:
sudo journalctl -u qubes-gui-agent --no-pager
Ah, that's very useful. I was prompted for a sudo password, but logging in as root directly worked.
I'm not sure what to make of the output, but I've attached it.
Can you give the full xorg log in /home/user/.local/share/xorg/Xorg.0.log
Also this file: /home/user/.xsession-errors
What's your current CPU and Memory settings on that Template? What happens if you give more initial memory to the template?
It was set to 400MB initial and 4000MB max with two VCPUs. I increased memory to 8000MB but no change in behavior.
Qubes OS release
Qubes 4.2.0-rc1 debian-11-mimimal 0:4.1.0-202212130502 qubes-templates-itl
Brief summary
GUI apps fail after upgrading debian-11-minimal template using
apt upgrade
Steps to reproduce
Downloaded debian-11-minimal template using
qvm-template install debian-11-minimal
. Useqvm-run -u root xterm
to get root access and do the upgrade usingapt upgrade
. After a restart,qvm-run -u root xterm
is not working anymore. I've pasted a list of updated packages here. I wasn't able to retrieve any related logs or errors.Expected behavior
Running applications on a freshly installed and upgraded template.
Actual behavior
I wasn't able to run
qvm-run -u root xterm
after upgrade but no-gui commands such asqvm-run -p --nogui debian-11-miniaml ps
run normally.