DisposableVM Closing/Stopping Unexpectedly

24 views
Skip to first unread message

Qubes

unread,
Jun 29, 2020, 9:42:33 AM6/29/20
to qubes...@googlegroups.com
If I try to open a terminal in a dvm, I have tried in both the dvm's
that are installed by default (Disposable: fedora-31-dvm and Disposable:
whonix-ws-15-dvm) and one that I created on my own by just creating a
qube and setting the "Disposable VM Template" flag.

When I open a terminal in any of these the new disposable VM gets
created, is started, and the terminal opens briefly, but then closes
immediately after and the disposable VM gets deleted.

Which log should I look at to troubleshoot?

If I open anything else in any of the 3 dvm's, for example Firefox or
Krusader, it opens.

Qubes

unread,
Jun 29, 2020, 3:25:30 PM6/29/20
to qubes...@googlegroups.com
This is rather annoying.

If I change for example the fedora-31-dvm qube settings and I remove the
option that makes it a disposable VM (on the 'Advanced' tab of the Qube
settings page from Qube Manager) I can open a terminal in the VM without
any problems. If I shutdown the VM and set the Disposable option again
and I try open a terminal in the disposable VM it is the same as before.
The new disposable VM gets created (dispxxxx), boots, and the terminal
is opened but it just appears briefly after which it closes and the
disposable VM is stopped and deleted.

haaber

unread,
Jun 29, 2020, 4:03:38 PM6/29/20
to qubes...@googlegroups.com
On 6/29/20 9:25 PM, Qubes wrote:
> On 6/29/20 3:42 PM, Qubes wrote:
>> If I try to open a terminal in a dvm, I have tried in both the dvm's
>> that are installed by default (Disposable: fedora-31-dvm and
>> Disposable: whonix-ws-15-dvm) and one that I created on my own by just
>> creating a qube and setting the "Disposable VM Template" flag.
>>
>> When I open a terminal in any of these the new disposable VM gets
>> created, is started, and the terminal opens briefly, but then closes
>> immediately after and the disposable VM gets deleted.
>>
>> Which log should I look at to troubleshoot?
>>
>> If I open anything else in any of the 3 dvm's, for example Firefox or
>> Krusader, it opens.

I do experience the same with debian-10 disp-vm's. So I start a firefox
first, to open a terminal. After that, I can close firefox again. Very odd.

Qubes

unread,
Jun 29, 2020, 4:24:18 PM6/29/20
to qubes...@googlegroups.com
Do you open the terminal from Firefox somehow? Because starting a
terminal from your dispvm will create a new dispxxxx vm so it should
suffer the same consequences.

I do notice that right before the terminal briefly appears something
makes my notification area seem like it also briefly tried to shuffle
because a new icon was about to be shown. As if you put a tick in a box
in settings somewhere that shows a new icon in your system tray but you
un-tick it again as fast as you can, just it happens faster that what
you would be able to click by hand.

And I am sure I have done this before. As apposed to doing it before and
having the same experience, but not remembering that and now
experiencing it as something new. It has always been like that.

awokd

unread,
Jun 29, 2020, 4:35:27 PM6/29/20
to qubes...@googlegroups.com
Qubes:
> On 6/29/20 10:03 PM, haaber wrote:
>> On 6/29/20 9:25 PM, Qubes wrote:
>>> On 6/29/20 3:42 PM, Qubes wrote:
>>>> If I try to open a terminal in a dvm, I have tried in both the dvm's
>>>> that are installed by default (Disposable: fedora-31-dvm and
>>>> Disposable: whonix-ws-15-dvm) and one that I created on my own by just
>>>> creating a qube and setting the "Disposable VM Template" flag.
>>>>
>>>> When I open a terminal in any of these the new disposable VM gets
>>>> created, is started, and the terminal opens briefly, but then closes
>>>> immediately after and the disposable VM gets deleted.
>>>>
>>>> Which log should I look at to troubleshoot?

Use xterm instead. Gnome terminal does that with dvms because of how it
starts.

--
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

Qubes

unread,
Jun 29, 2020, 6:10:26 PM6/29/20
to qubes...@googlegroups.com
On 6/29/20 10:34 PM, 'awokd' via qubes-users wrote:
> Qubes:
>> On 6/29/20 10:03 PM, haaber wrote:
>>> On 6/29/20 9:25 PM, Qubes wrote:
>>>> On 6/29/20 3:42 PM, Qubes wrote:
>>>>> If I try to open a terminal in a dvm, I have tried in both the dvm's
>>>>> that are installed by default (Disposable: fedora-31-dvm and
>>>>> Disposable: whonix-ws-15-dvm) and one that I created on my own by just
>>>>> creating a qube and setting the "Disposable VM Template" flag.
>>>>>
>>>>> When I open a terminal in any of these the new disposable VM gets
>>>>> created, is started, and the terminal opens briefly, but then closes
>>>>> immediately after and the disposable VM gets deleted.
>>>>>
>>>>> Which log should I look at to troubleshoot?
>
> Use xterm instead. Gnome terminal does that with dvms because of how it
> starts.
>
I am not sure I agree. Gnome is the default in Qubes. A vanilla Qubes
install works and the default is the Gnome terminal.

unman

unread,
Jun 29, 2020, 8:54:39 PM6/29/20
to qubes...@googlegroups.com
awokd is right - This is a long standing problem and there is an issue
relating to it - gnome terminal actually spawns gnome-terminal-server to
spawn a new window and then exits. Because the command you called has
exited the disposableVM closes, as expected.
Strange but true.
Reply all
Reply to author
Forward
0 new messages