Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upDispVM doesn't start or load any applications. (Qubes 4.0 rc2) #3213
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Oct 26, 2017
Member
Does this happen with all applications, or only certain ones (e.g. xterm)?
|
Does this happen with all applications, or only certain ones (e.g. |
andrewdavidwong
added
bug
C: core
labels
Oct 26, 2017
andrewdavidwong
added this to the Release 4.0 milestone
Oct 26, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Lolibyte
commented
Oct 26, 2017
|
It happened to every application I tried. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
na--
Oct 26, 2017
What happens when you run this in dom0 as a normal user?
qvm-run --verbose --autostart --service --dispvm=fedora-25-dvm -- qubes.StartApp+xterm
I could reproduce your issue only with gnome terminal - just a brief flicker of a window and the dispvm is gone. Other apps started normally and the dispvm stayed until I closed the application, so I assume that the issue is with gnome terminal in my case.
na--
commented
Oct 26, 2017
|
What happens when you run this in dom0 as a normal user? I could reproduce your issue only with gnome terminal - just a brief flicker of a window and the dispvm is gone. Other apps started normally and the dispvm stayed until I closed the application, so I assume that the issue is with gnome terminal in my case. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
na--
Oct 26, 2017
Another partial replication with whonix-ws-dvm: tor browser and Konsole work as expected, but Dolphin and WhonixCheck don't
na--
commented
Oct 26, 2017
|
Another partial replication with |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Oct 26, 2017
Member
Please check if this is a duplicate of #3187. @Lolibyte @na--
If this is a duplicate, please provide the requested debug output from comment #3187 (comment).
|
Please check if this is a duplicate of #3187. @Lolibyte @na-- If this is a duplicate, please provide the requested debug output from comment #3187 (comment). |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
na--
Oct 26, 2017
@adrelanos does not seem like it, at least in my case.
In my case I think the DispVMs start normally but in some cases the code that tracks whether the started application has exited (so the DispVM can be stopped and removed) malfunctions. Not sure exactly what the mechanism is for tracking that, I'll take a look later, but maybe a process fork or something else can confuse it.
na--
commented
Oct 26, 2017
|
@adrelanos does not seem like it, at least in my case. In my case I think the DispVMs start normally but in some cases the code that tracks whether the started application has exited (so the DispVM can be stopped and removed) malfunctions. Not sure exactly what the mechanism is for tracking that, I'll take a look later, but maybe a process fork or something else can confuse it. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Oct 26, 2017
Member
but maybe a process fork or something else can confuse it.
Yes, if process is forking (or other scheme like this - for example dbus service, like gnome-terminal, or nautilus), the mechanism will not work, because "main" process exits almost instantly.
Some idea would be tracking main application window, but it is very fragile. Maybe something based on Startup notification protocol...
But generally it is not something we can do for the final Qubes 4.0. For that, such applications are incompatible with DispVM, unfortunately. A workaround: launch xterm, then such application from there.
Yes, if process is forking (or other scheme like this - for example dbus service, like gnome-terminal, or nautilus), the mechanism will not work, because "main" process exits almost instantly. But generally it is not something we can do for the final Qubes 4.0. For that, such applications are incompatible with DispVM, unfortunately. A workaround: launch xterm, then such application from there. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
na--
Oct 26, 2017
Ok, that explains all of my issues and probably the only needed fix is to remove the problematic DispVM applications from the default menus and mention something about potential problems in the documentation. The default fedora-25-dvm apps (Firefox and xterm) are ok, but some whonix-ws-dvm default apps (Chat support, Dolphin, TorBrowser Downloader) are problematic, WhonixCheck partially works (the check passes but it quits before the result is displayed) and the rest (Konsole, TorBrowser) are ok.
@Lolibyte: it looks like you have a different issue, can you attach some logs from /var/log/qubes and /var/log/xen/console/ for a specific crashed dispvm?
na--
commented
Oct 26, 2017
|
Ok, that explains all of my issues and probably the only needed fix is to remove the problematic DispVM applications from the default menus and mention something about potential problems in the documentation. The default @Lolibyte: it looks like you have a different issue, can you attach some logs from |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Lolibyte
Oct 26, 2017
Hello everyone, I have read through everything and I think I do have a different issue.
@na--, I have tried that command that you gave me for dom0 terminal and it does not achieve a different result.
Attached is every log gathered for a DispVM -- there was a pacat.disp52.log but that was empty.
From /var/log/qubes
guid.disp52.log
qrexec.disp52.log
qubesdb.disp52.log
vm-disp52.log
From /var/log/xen/console
guest-disp52.log
guest-disp52-dm.log
Lolibyte
commented
Oct 26, 2017
•
|
Hello everyone, I have read through everything and I think I do have a different issue. @na--, I have tried that command that you gave me for dom0 terminal and it does not achieve a different result. Attached is every log gathered for a DispVM -- there was a pacat.disp52.log but that was empty. From /var/log/qubes From /var/log/xen/console |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Oct 27, 2017
Member
Hello everyone, I have read through everything and I think I do have a different issue.
@Lolibyte, please feel free to create a separate GitHub issue to help keep things organized.
@Lolibyte, please feel free to create a separate GitHub issue to help keep things organized. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Lolibyte
Oct 27, 2017
@andrewdavidwong Sorry, but I am the original poster of this thread, my "different issue" reference was in reference to @na-- explaining about his issue and that mine is different.
Lolibyte
commented
Oct 27, 2017
|
@andrewdavidwong Sorry, but I am the original poster of this thread, my "different issue" reference was in reference to @na-- explaining about his issue and that mine is different. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Oct 27, 2017
Member
Sorry, but I am the original poster of this thread, my "different issue" reference was in reference to @na-- explaining about his issue and that mine is different.
Oh, I see now! Sorry for the misunderstanding. Thanks for clarifying.
Oh, I see now! Sorry for the misunderstanding. Thanks for clarifying. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
JPL1
commented
Nov 25, 2017
|
I am also getting this error with rc2 |
andrewdavidwong
referenced this issue
Dec 7, 2017
Closed
Cannot launch applications in a disposable VM from the Applications menu (silent failure) #3368
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tutaleedoo
Dec 7, 2017
A workaround is to restart Qubes OS. This resolved the issue for me, although temporarily (the issue came back).
tutaleedoo
commented
Dec 7, 2017
•
|
A workaround is to restart Qubes OS. This resolved the issue for me, although temporarily (the issue came back). |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tutaleedoo
Dec 9, 2017
After failing to launch an application in a disposable VM, I looked at journalctl and saw "didnt react to memory request"
I wonder if this issue is related to issue #3079
tutaleedoo
commented
Dec 9, 2017
|
After failing to launch an application in a disposable VM, I looked at I wonder if this issue is related to issue #3079 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Dec 12, 2017
Member
#3079 would result in killing some process - you'd see that in journalctl. Do you see any messages from qubesd service there?
|
#3079 would result in killing some process - you'd see that in |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tutaleedoo
Dec 13, 2017
@marmarek, I don't see any mention of "kill" in journalctl after reproducing the issue
Here are the qubesd messages:
dom0 qubesd[2399]: Creating directory: /var/lib/qubes/appvms/disp5812
dom0 qubesd[2399]: Creating icon symlink: /var/lib/qubes/appvms/disp5812/icon.png -> /usr/share/icons/hicolor/128x128/devices/appvm-blue.png
dom0 qubesd[2399]: Starting disp5812
dom0 qubesd[2399]: Setting Qubes DB info for the VM
dom0 qubesd[2399]: Starting Qubes DB
dom0 qubesd[2399]: Activating the disp5812 VM
dom0 qubesd[2399]: Removing volume private: appvms/disp5812/private
dom0 qubesd[2399]: Removing volume kernel: 4.9.56-21
dom0 qubesd[2399]: Removing volume root: appvms/disp5812/root
dom0 qubesd[2399]: Removing volume volatile: appvms/disp5812/volatile
tutaleedoo
commented
Dec 13, 2017
|
@marmarek, I don't see any mention of "kill" in Here are the qubesd messages:
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Echnaton70
Dec 13, 2017
I have the same issue.
This happens after on all restored hvm from 3.2.
Behaviour:
qvm-start works fine.
vm is in the list as started, but no apllication works.
in qubesd messages i found (not know if related)
dom0 qubesd [33432] Warning: Sum of all thin volume sizes (1.87 TiB) exceed the size of thin pool qubes_dom0/pool00 and the size of whole volume group
1,87 TiB is by far not true.
update: not hvm, it happens with standalone vms from qubes os 3.2
Echnaton70
commented
Dec 13, 2017
•
|
I have the same issue. This happens after on all restored hvm from 3.2. Behaviour: in qubesd messages i found (not know if related) dom0 qubesd [33432] Warning: Sum of all thin volume sizes (1.87 TiB) exceed the size of thin pool qubes_dom0/pool00 and the size of whole volume group 1,87 TiB is by far not true. update: not hvm, it happens with standalone vms from qubes os 3.2 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
JPL1
Dec 14, 2017
I have the same issue with rc3 (and also had it with rc2). It is installed on a 128GB USB3 stick and my PC has 8GB RAM and I have no other VMs open apart from sys-net and sys-firewall, so memory shouldn't be a problem. It happens with both Fedora and Whonix dispVMs, exactly as the OP describes. The dispVM starts, no applications open, then it crashes.
I also tried (see post above).
qvm-run --verbose --autostart --service --dispvm=fedora-25-dvm -- qubes.StartApp+xterm
Same result. I have never managed to get a dispVM working on 4.0 at all.
JPL1
commented
Dec 14, 2017
|
I have the same issue with rc3 (and also had it with rc2). It is installed on a 128GB USB3 stick and my PC has 8GB RAM and I have no other VMs open apart from sys-net and sys-firewall, so memory shouldn't be a problem. It happens with both Fedora and Whonix dispVMs, exactly as the OP describes. The dispVM starts, no applications open, then it crashes. I also tried (see post above).
Same result. I have never managed to get a dispVM working on 4.0 at all. |
added a commit
to marmarek/qubes-core-agent-linux
that referenced
this issue
Mar 5, 2018
added a commit
to marmarek/qubes-core-agent-linux
that referenced
this issue
Mar 5, 2018
andrewdavidwong
modified the milestones:
Release 4.0,
Release 4.0 updates
Mar 31, 2018
added a commit
to marmarek/qubes-core-agent-linux
that referenced
this issue
Apr 2, 2018
added a commit
to marmarek/qubes-core-agent-linux
that referenced
this issue
Apr 2, 2018
marmarek
referenced this issue
in QubesOS/qubes-core-agent-linux
Apr 3, 2018
Merged
Fix waiting for application exit #106
marmarek
closed this
in
QubesOS/qubes-core-agent-linux#106
Apr 6, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Apr 21, 2018
Automated announcement from builder-github
The component core-agent-linux (including package python2-dnf-plugins-qubes-hooks-4.0.25-1.fc26) has been pushed to the r4.0 testing repository for the Fedora template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r4.0-current-testing
qubesos-bot
commented
Apr 21, 2018
|
Automated announcement from builder-github The component
|
qubesos-bot
added
the
r4.0-fc26-cur-test
label
Apr 21, 2018
qubesos-bot
referenced this issue
in QubesOS/updates-status
Apr 21, 2018
Closed
core-agent-linux v4.0.25 (r4.0) #487
qubesos-bot
added
r4.0-buster-cur-test
r4.0-jessie-cur-test
labels
Apr 21, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Apr 21, 2018
Automated announcement from builder-github
The package qubes-core-agent_4.0.25-1+deb9u1 has been pushed to the r4.0 testing repository for the Debian template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing stretch-testing (or appropriate equivalent for your template version), then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Apr 21, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-stretch-cur-test
label
Apr 21, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
May 2, 2018
Automated announcement from builder-github
The package core-agent-linux has been pushed to the r4.0 testing repository for the CentOS centos7 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r4.0-current-testing
qubesos-bot
commented
May 2, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-centos7-cur-test
label
May 2, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
May 21, 2018
Automated announcement from builder-github
The package core-agent-linux has been pushed to the r4.0 stable repository for the Fedora centos7 template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
May 21, 2018
|
Automated announcement from builder-github The package
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
May 21, 2018
Automated announcement from builder-github
The component core-agent-linux (including package python2-dnf-plugins-qubes-hooks-4.0.28-1.fc26) has been pushed to the r4.0 stable repository for the Fedora template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
May 21, 2018
|
Automated announcement from builder-github The component
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
May 21, 2018
Automated announcement from builder-github
The package qubes-core-agent_4.0.28-1+deb9u1 has been pushed to the r4.0 stable repository for the Debian template.
To install this update, please use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
May 21, 2018
|
Automated announcement from builder-github The package
|
Lolibyte commentedOct 26, 2017
Qubes OS version: 4.0 rc2
Affected TemplateVMs: fedora-25-dvm and whonix-ws-dvm
Steps to reproduce the behavior:
Expected behavior:
Applications open.
Actual behavior:
Applications do not open - the VM is crashed.
General notes:
Apologies if this is already a logged issue. I spent a few minutes checking around to make sure it wasn't duplicated and I couldn't find any.
If you check the Qubes VM manager, it'll show the DispVM in the list, but after it's done starting up it disappears and the applications don't open.
I also tried in debug mode, the terminal opens and it starts. It works until it reaches "Login" and then the terminal closes and the vm crashes.
Related issues: