Cannot run dispxxx based on Win7 dvm template

I’m trying to use disposable VM based on win7-template-dvm. Dvm template is created as an AppVm based on a win7-template according to the documentation, including

qvm-features win7-template-dvm appmenus-dispvm 1

which gave me Disposable: win7-template-dvm entry both in Qmenu and in a new menu.

So, I choose to start Windows Explorer, dispxxx is started, for a flesh second I can see Windows Explorer window, but it unexpectedly closes and dispxxx shuts down

I have succeeded to catch the logs, but although searched for anything that might help to identify the issue. I am too incompetent to conclude anything worthy, so if someone can take a look and suggest anything, I’d appreciate it a lot. Here are the logs.

Logs Summary

[2022-02-17 18:10:31] Logfile Opened
[2022-02-17 18:10:32] Linux version 5.10.76-xen-stubdom (mockbuild@build-fedora4) (gcc (GCC) 10.3.1 20210422 (Red Hat 10.3.1-1), GNU ld version 2.34-6.fc32) #1 Sat Jan 8 07:22:40 CET 2022
[2022-02-17 18:10:32] Command line:
[2022-02-17 18:10:32] x86/fpu: Supporting XSAVE feature 0x001: ‘x87 floating point registers’
[2022-02-17 18:10:32] x86/fpu: Supporting XSAVE feature 0x002: ‘SSE registers’
[2022-02-17 18:10:32] x86/fpu: Supporting XSAVE feature 0x004: ‘AVX registers’
[2022-02-17 18:10:32] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[2022-02-17 18:10:32] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using ‘standard’ format.
[2022-02-17 18:10:32] Released 0 page(s)
[2022-02-17 18:10:32] BIOS-provided physical RAM map:
[2022-02-17 18:10:32] Xen: [mem 0x0000000000000000-0x000000000009ffff] usable
[2022-02-17 18:10:32] Xen: [mem 0x00000000000a0000-0x00000000000fffff] reserved
[2022-02-17 18:10:32] Xen: [mem 0x0000000000100000-0x0000000008ffffff] usable
[2022-02-17 18:10:32] NX (Execute Disable) protection: active
[2022-02-17 18:10:32] Hypervisor detected: Xen PV
[2022-02-17 18:10:32] tsc: Fast TSC calibration failed
[2022-02-17 18:10:32] tsc: Detected 2594.128 MHz processor
[2022-02-17 18:10:32] last_pfn = 0x9000 max_arch_pfn = 0x400000000
[2022-02-17 18:10:32] x86/PAT: Configuration [0-7]: WB WT UC- UC WC WP UC UC
[2022-02-17 18:10:32] RAMDISK: [mem 0x02000000-0x03f7bfff]
[2022-02-17 18:10:32] Zone ranges:
[2022-02-17 18:10:32] DMA32 [mem 0x0000000000001000-0x0000000008ffffff]
[2022-02-17 18:10:32] Normal empty
[2022-02-17 18:10:32] Movable zone start for each node
[2022-02-17 18:10:32] Early memory node ranges
[2022-02-17 18:10:32] node 0: [mem 0x0000000000001000-0x000000000009ffff]
[2022-02-17 18:10:32] node 0: [mem 0x0000000000100000-0x0000000008ffffff]
[2022-02-17 18:10:32] Initmem setup node 0 [mem 0x0000000000001000-0x0000000008ffffff]
[2022-02-17 18:10:32] On node 0, zone DMA32: 1 pages in unavailable ranges
[2022-02-17 18:10:32] On node 0, zone DMA32: 96 pages in unavailable ranges
[2022-02-17 18:10:32] On node 0, zone DMA32: 28672 pages in unavailable ranges
[2022-02-17 18:10:32] p2m virtual area at (ptrval), size is 200000
[2022-02-17 18:10:32] Remapped 0 page(s)
[2022-02-17 18:10:32] [mem 0x09000000-0xffffffff] available for PCI devices
[2022-02-17 18:10:32] Booting paravirtualized kernel on Xen
[2022-02-17 18:10:32] Xen version: 4.14.3 (preserve-AD)
[2022-02-17 18:10:32] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[2022-02-17 18:10:32] Built 1 zonelists, mobility grouping on. Total pages: 36170
[2022-02-17 18:10:32] Kernel command line:
[2022-02-17 18:10:32] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[2022-02-17 18:10:32] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[2022-02-17 18:10:32] mem auto-init: stack:byref_all(zero), heap alloc:off, heap free:off
[2022-02-17 18:10:32] Memory: 96964K/147068K available (6145K kernel code, 826K rwdata, 428K rodata, 696K init, 492K bss, 49852K reserved, 0K cma-reserved)
[2022-02-17 18:10:32] random: get_random_u64 called from 0xffffffff810a0c01 with crng_init=0
[2022-02-17 18:10:32] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[2022-02-17 18:10:32] Using NULL legacy PIC
[2022-02-17 18:10:32] NR_IRQS: 4352, nr_irqs: 24, preallocated irqs: 0
[2022-02-17 18:10:32] xen:events: Using FIFO-based ABI
[2022-02-17 18:10:32] printk: console [hvc0] enabled
[2022-02-17 18:10:32] clocksource: xen: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[2022-02-17 18:10:32] installing Xen timer for CPU 0
[2022-02-17 18:10:32] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x256490cd5f3, max_idle_ns: 440795204886 ns
[2022-02-17 18:10:32] Calibrating delay loop (skipped), value calculated using timer frequency… 5188.25 BogoMIPS (lpj=10376512)
[2022-02-17 18:10:32] pid_max: default: 4096 minimum: 301
[2022-02-17 18:10:32] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[2022-02-17 18:10:32] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[2022-02-17 18:10:32] Last level iTLB entries: 4KB 512, 2MB 8, 4MB 8
[2022-02-17 18:10:32] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32, 1GB 0
[2022-02-17 18:10:32] CPU: Intel(R) Core™ i5-3320M CPU @ 2.60GHz (family: 0x6, model: 0x3a, stepping: 0x9)
[2022-02-17 18:10:32] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[2022-02-17 18:10:32] Spectre V2 : Mitigation: Full generic retpoline
[2022-02-17 18:10:32] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[2022-02-17 18:10:32] Spectre V2 : Enabling Restricted Speculation for firmware calls
[2022-02-17 18:10:32] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[2022-02-17 18:10:32] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[2022-02-17 18:10:32] MDS: Mitigation: Clear CPU buffers
[2022-02-17 18:10:32] Performance Events: unsupported p6 CPU model 58 no PMU driver, software events only.
[2022-02-17 18:10:32] devtmpfs: initialized
[2022-02-17 18:10:32] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[2022-02-17 18:10:32] futex hash table entries: 16 (order: -4, 384 bytes, linear)
[2022-02-17 18:10:32] NET: Registered protocol family 16
[2022-02-17 18:10:32] xen:grant_table: Grant tables using version 1 layout
[2022-02-17 18:10:32] Grant table initialized
[2022-02-17 18:10:32] PCI: setting up Xen PCI frontend stub
[2022-02-17 18:10:32] xen:balloon: Initialising balloon driver
[2022-02-17 18:10:32] usbcore: registered new interface driver usbfs
[2022-02-17 18:10:32] usbcore: registered new interface driver hub
[2022-02-17 18:10:32] usbcore: registered new device driver usb
[2022-02-17 18:10:32] PCI: System does not support PCI
[2022-02-17 18:10:32] clocksource: Switched to clocksource xen
[2022-02-17 18:10:32] NET: Registered protocol family 2
[2022-02-17 18:10:32] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[2022-02-17 18:10:32] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[2022-02-17 18:10:32] TCP established hash table entries: 2048 (order: 2, 16384 bytes, linear)
[2022-02-17 18:10:32] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[2022-02-17 18:10:32] TCP: Hash tables configured (established 2048 bind 2048)
[2022-02-17 18:10:32] UDP hash table entries: 128 (order: 0, 4096 bytes, linear)
[2022-02-17 18:10:32] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes, linear)
[2022-02-17 18:10:32] NET: Registered protocol family 1
[2022-02-17 18:10:32] Unpacking initramfs…
[2022-02-17 18:10:32] Freeing initrd memory: 32240K
[2022-02-17 18:10:32] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x256490cd5f3, max_idle_ns: 440795204886 ns
[2022-02-17 18:10:32] workingset: timestamp_bits=62 max_order=15 bucket_order=0
[2022-02-17 18:10:32] xen:xen_evtchn: Event-channel device installed
[2022-02-17 18:10:32] Invalid max_queues (4), will use default max: 1.
[2022-02-17 18:10:32] tun: Universal TUN/TAP device driver, 1.6
[2022-02-17 18:10:32] xen_netfront: Initialising Xen virtual ethernet driver
[2022-02-17 18:10:32] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller
[2022-02-17 18:10:32] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 1
[2022-02-17 18:10:32] vhci_hcd: created sysfs vhci_hcd.0
[2022-02-17 18:10:32] hub 1-0:1.0: USB hub found
[2022-02-17 18:10:32] hub 1-0:1.0: 8 ports detected
[2022-02-17 18:10:32] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller
[2022-02-17 18:10:32] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 2
[2022-02-17 18:10:32] usb usb2: We don’t know the algorithms for LPM for this host, disabling LPM.
[2022-02-17 18:10:32] hub 2-0:1.0: USB hub found
[2022-02-17 18:10:32] hub 2-0:1.0: 8 ports detected
[2022-02-17 18:10:32] NET: Registered protocol family 17
[2022-02-17 18:10:32] sched_clock: Marking stable (533154841, 614360)->(536300177, -2530976)
[2022-02-17 18:10:32] random: fast init done
[2022-02-17 18:10:32] xen_netfront: backend supports XDP headroom
[2022-02-17 18:10:32] blkfront: xvda: flush diskcache: enabled; persistent grants: enabled; indirect descriptors: enabled;
[2022-02-17 18:10:33] xvda: xvda1 xvda2
[2022-02-17 18:10:33] blkfront: xvdb: flush diskcache: enabled; persistent grants: enabled; indirect descriptors: enabled;
[2022-02-17 18:10:33] xvdb: xvdb1 xvdb2
[2022-02-17 18:10:33] blkfront: xvdc: flush diskcache: enabled; persistent grants: enabled; indirect descriptors: enabled;
[2022-02-17 18:10:33] Freeing unused kernel image (initmem) memory: 696K
[2022-02-17 18:10:33] Write protecting the kernel read-only data: 10240k
[2022-02-17 18:10:33] Freeing unused kernel image (text/rodata gap) memory: 2044K
[2022-02-17 18:10:33] Freeing unused kernel image (rodata/data gap) memory: 1620K
[2022-02-17 18:10:33] Run /init as init process
[2022-02-17 18:10:33] + mount -t devtmpfs none /dev
[2022-02-17 18:10:33] + mount -t sysfs /sys /sys
[2022-02-17 18:10:33] + mount -t proc /proc /proc
[2022-02-17 18:10:33] + mount -t tmpfs -o ‘size=1m,nodev,noexec’ /tmp /tmp
[2022-02-17 18:10:33] + mount -o remount,ro /
[2022-02-17 18:10:33] + echo 1
[2022-02-17 18:10:33] + printf ‘%d\n’ 1073741824
[2022-02-17 18:10:33] + /bin/xenstore-read target
[2022-02-17 18:10:33] + domid=16
[2022-02-17 18:10:33] + xenstore-read /local/domain/16/vm
[2022-02-17 18:10:33] + vm_path=/vm/6bf3f305-2110-4228-98ea-788d3e6267e1
[2022-02-17 18:10:33] + sort
[2022-02-17 18:10:33] + xenstore-list -p /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv
[2022-02-17 18:10:33] + xenstore-read /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/001 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/002 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/003 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/004 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/005 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/006 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/007 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/008 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/009 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/010 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/011 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/012 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/013 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/014 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/015 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/016 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/017 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/018 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/019 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/020 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/021 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/022 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/023 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/024 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/025 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/026 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/027 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/028 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/029 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/030 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/031 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/032 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/033 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/034 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/035 /vm/6bf3f305-2110-4228-98ea-788d3e6267e1/image/dm-argv/036
[2022-02-17 18:10:33] + dm_args=‘-xen-domid
[2022-02-17 18:10:33] 16
[2022-02-17 18:10:33] -no-shutdown
[2022-02-17 18:10:33] -nodefaults
[2022-02-17 18:10:33] -no-user-config
[2022-02-17 18:10:33] -name
[2022-02-17 18:10:33] disp6355
[2022-02-17 18:10:33] -display
[2022-02-17 18:10:33] none
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] VGA,vgamem_mb=16
[2022-02-17 18:10:33] -boot
[2022-02-17 18:10:33] order=dc
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] usb-ehci,id=ehci
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] usb-tablet,bus=ehci.0
[2022-02-17 18:10:33] -smp
[2022-02-17 18:10:33] 2,maxcpus=2
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] rtl8139,id=nic0,netdev=net0,mac=00:16:3e:5e:6c:00
[2022-02-17 18:10:33] -netdev
[2022-02-17 18:10:33] type=tap,id=net0,ifname=vif16.0-emu,script=no,downscript=no
[2022-02-17 18:10:33] -display
[2022-02-17 18:10:33] qubes-gui,domid=0,log-level=0
[2022-02-17 18:10:33] -machine
[2022-02-17 18:10:33] xenfv
[2022-02-17 18:10:33] -qubes-net:client_ip=10.138.24.211,dns_0=10.139.1.1,dns_1=10.139.1.2,gw=10.138.11.25,netmask=255.255.255.255
[2022-02-17 18:10:33] -m
[2022-02-17 18:10:33] 3056
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvda,if=ide,index=0,media=disk,format=host_device,cache=writeback
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvdb,if=ide,index=1,media=disk,format=host_device,cache=writeback
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvdc,if=ide,index=2,media=disk,format=host_device,cache=writeback’
[2022-02-17 18:10:33] + usb_args=
[2022-02-17 18:10:33] + test -e /bin/qrexec-agent
[2022-02-17 18:10:33] + usb_args=‘-device
[2022-02-17 18:10:33] nec-usb-xhci,id=xhci’
[2022-02-17 18:10:33] + mkdir -p /var/run/qubes
[2022-02-17 18:10:33] + touch /dev/mdev.log
[2022-02-17 18:10:33] + mdev -d
[2022-02-17 18:10:33] + USER=root qrexec-agent
[2022-02-17 18:10:33] + sed -n ‘/^-soundhw/ {n;p}’
[2022-02-17 18:10:33] + echo ‘-xen-domid
[2022-02-17 18:10:33] 16
[2022-02-17 18:10:33] -no-shutdown
[2022-02-17 18:10:33] -nodefaults
[2022-02-17 18:10:33] -no-user-config
[2022-02-17 18:10:33] -name
[2022-02-17 18:10:33] disp6355
[2022-02-17 18:10:33] -display
[2022-02-17 18:10:33] none
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] VGA,vgamem_mb=16
[2022-02-17 18:10:33] -boot
[2022-02-17 18:10:33] order=dc
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] usb-ehci,id=ehci
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] usb-tablet,bus=ehci.0
[2022-02-17 18:10:33] -smp
[2022-02-17 18:10:33] 2,maxcpus=2
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] rtl8139,id=nic0,netdev=net0,mac=00:16:3e:5e:6c:00
[2022-02-17 18:10:33] -netdev
[2022-02-17 18:10:33] type=tap,id=net0,ifname=vif16.0-emu,script=no,downscript=no
[2022-02-17 18:10:33] -display
[2022-02-17 18:10:33] qubes-gui,domid=0,log-level=0
[2022-02-17 18:10:33] -machine
[2022-02-17 18:10:33] xenfv
[2022-02-17 18:10:33] -qubes-net:client_ip=10.138.24.211,dns_0=10.139.1.1,dns_1=10.139.1.2,gw=10.138.11.25,netmask=255.255.255.255
[2022-02-17 18:10:33] -m
[2022-02-17 18:10:33] 3056
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvda,if=ide,index=0,media=disk,format=host_device,cache=writeback
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvdb,if=ide,index=1,media=disk,format=host_device,cache=writeback
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvdc,if=ide,index=2,media=disk,format=host_device,cache=writeback’
[2022-02-17 18:10:33] + audio_model=
[2022-02-17 18:10:33] + ‘[’ -n ]
[2022-02-17 18:10:33] + sed -n /^-qubes-net:/p
[2022-02-17 18:10:33] + echo ‘-xen-domid
[2022-02-17 18:10:33] 16
[2022-02-17 18:10:33] -no-shutdown
[2022-02-17 18:10:33] -nodefaults
[2022-02-17 18:10:33] -no-user-config
[2022-02-17 18:10:33] -name
[2022-02-17 18:10:33] disp6355
[2022-02-17 18:10:33] -display
[2022-02-17 18:10:33] none
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] VGA,vgamem_mb=16
[2022-02-17 18:10:33] -boot
[2022-02-17 18:10:33] order=dc
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] usb-ehci,id=ehci
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] usb-tablet,bus=ehci.0
[2022-02-17 18:10:33] -smp
[2022-02-17 18:10:33] 2,maxcpus=2
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] rtl8139,id=nic0,netdev=net0,mac=00:16:3e:5e:6c:00
[2022-02-17 18:10:33] -netdev
[2022-02-17 18:10:33] type=tap,id=net0,ifname=vif16.0-emu,script=no,downscript=no
[2022-02-17 18:10:33] -display
[2022-02-17 18:10:33] qubes-gui,domid=0,log-level=0
[2022-02-17 18:10:33] -machine
[2022-02-17 18:10:33] xenfv
[2022-02-17 18:10:33] -qubes-net:client_ip=10.138.24.211,dns_0=10.139.1.1,dns_1=10.139.1.2,gw=10.138.11.25,netmask=255.255.255.255
[2022-02-17 18:10:33] -m
[2022-02-17 18:10:33] 3056
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvda,if=ide,index=0,media=disk,format=host_device,cache=writeback
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvdb,if=ide,index=1,media=disk,format=host_device,cache=writeback
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvdc,if=ide,index=2,media=disk,format=host_device,cache=writeback’
[2022-02-17 18:10:33] + net_args=‘-qubes-net:client_ip=10.138.24.211,dns_0=10.139.1.1,dns_1=10.139.1.2,gw=10.138.11.25,netmask=255.255.255.255’
[2022-02-17 18:10:33] + sed /^-qubes-net:/d
[2022-02-17 18:10:33] + echo ‘-xen-domid
[2022-02-17 18:10:33] 16
[2022-02-17 18:10:33] -no-shutdown
[2022-02-17 18:10:33] -nodefaults
[2022-02-17 18:10:33] -no-user-config
[2022-02-17 18:10:33] -name
[2022-02-17 18:10:33] disp6355
[2022-02-17 18:10:33] -display
[2022-02-17 18:10:33] none
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] VGA,vgamem_mb=16
[2022-02-17 18:10:33] -boot
[2022-02-17 18:10:33] order=dc
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] usb-ehci,id=ehci
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] usb-tablet,bus=ehci.0
[2022-02-17 18:10:33] -smp
[2022-02-17 18:10:33] 2,maxcpus=2
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] rtl8139,id=nic0,netdev=net0,mac=00:16:3e:5e:6c:00
[2022-02-17 18:10:33] -netdev
[2022-02-17 18:10:33] type=tap,id=net0,ifname=vif16.0-emu,script=no,downscript=no
[2022-02-17 18:10:33] -display
[2022-02-17 18:10:33] qubes-gui,domid=0,log-level=0
[2022-02-17 18:10:33] -machine
[2022-02-17 18:10:33] xenfv
[2022-02-17 18:10:33] -qubes-net:client_ip=10.138.24.211,dns_0=10.139.1.1,dns_1=10.139.1.2,gw=10.138.11.25,netmask=255.255.255.255
[2022-02-17 18:10:33] -m
[2022-02-17 18:10:33] 3056
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvda,if=ide,index=0,media=disk,format=host_device,cache=writeback
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvdb,if=ide,index=1,media=disk,format=host_device,cache=writeback
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvdc,if=ide,index=2,media=disk,format=host_device,cache=writeback’
[2022-02-17 18:10:33] + dm_args=‘-xen-domid
[2022-02-17 18:10:33] 16
[2022-02-17 18:10:33] -no-shutdown
[2022-02-17 18:10:33] -nodefaults
[2022-02-17 18:10:33] -no-user-config
[2022-02-17 18:10:33] -name
[2022-02-17 18:10:33] disp6355
[2022-02-17 18:10:33] -display
[2022-02-17 18:10:33] none
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] VGA,vgamem_mb=16
[2022-02-17 18:10:33] -boot
[2022-02-17 18:10:33] order=dc
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] usb-ehci,id=ehci
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] usb-tablet,bus=ehci.0
[2022-02-17 18:10:33] -smp
[2022-02-17 18:10:33] 2,maxcpus=2
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] rtl8139,id=nic0,netdev=net0,mac=00:16:3e:5e:6c:00
[2022-02-17 18:10:33] -netdev
[2022-02-17 18:10:33] type=tap,id=net0,ifname=vif16.0-emu,script=no,downscript=no
[2022-02-17 18:10:33] -display
[2022-02-17 18:10:33] qubes-gui,domid=0,log-level=0
[2022-02-17 18:10:33] -machine
[2022-02-17 18:10:33] xenfv
[2022-02-17 18:10:33] -m
[2022-02-17 18:10:33] 3056
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvda,if=ide,index=0,media=disk,format=host_device,cache=writeback
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvdb,if=ide,index=1,media=disk,format=host_device,cache=writeback
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvdc,if=ide,index=2,media=disk,format=host_device,cache=writeback’
[2022-02-17 18:10:33] + test -e /sys/class/net/eth0
[2022-02-17 18:10:33] + ip link set eth0 address fe:ff:ff:ff:ff:fe
[2022-02-17 18:10:33] + ip addr flush eth0
[2022-02-17 18:10:33] + ip link set eth0 up
[2022-02-17 18:10:33] + brctl addbr br0
[2022-02-17 18:10:33] + brctl addif br0 eth0
[2022-02-17 18:10:33] br0: port 1(eth0) entered blocking state
[2022-02-17 18:10:33] br0: port 1(eth0) entered disabled state
[2022-02-17 18:10:33] device eth0 entered promiscuous mode
[2022-02-17 18:10:33] + ip link set br0 up
[2022-02-17 18:10:33] br0: port 1(eth0) entered blocking state
[2022-02-17 18:10:33] br0: port 1(eth0) entered forwarding state
[2022-02-17 18:10:33] + get_net_arg dns_0
[2022-02-17 18:10:33] + sed -n ‘s/^.[:,]dns_0=([^,]+).$/\1/p’
[2022-02-17 18:10:33] + echo ‘-qubes-net:client_ip=10.138.24.211,dns_0=10.139.1.1,dns_1=10.139.1.2,gw=10.138.11.25,netmask=255.255.255.255’
[2022-02-17 18:10:33] + net_dns_0=10.139.1.1
[2022-02-17 18:10:33] + get_net_arg dns_1
[2022-02-17 18:10:33] + sed -n ‘s/^.[:,]dns_1=([^,]+).$/\1/p’
[2022-02-17 18:10:33] + echo ‘-qubes-net:client_ip=10.138.24.211,dns_0=10.139.1.1,dns_1=10.139.1.2,gw=10.138.11.25,netmask=255.255.255.255’
[2022-02-17 18:10:33] + net_dns_1=10.139.1.2
[2022-02-17 18:10:33] + get_net_arg client_ip
[2022-02-17 18:10:33] + sed -n ‘s/^.[:,]client_ip=([^,]+).$/\1/p’
[2022-02-17 18:10:33] + echo ‘-qubes-net:client_ip=10.138.24.211,dns_0=10.139.1.1,dns_1=10.139.1.2,gw=10.138.11.25,netmask=255.255.255.255’
[2022-02-17 18:10:33] + net_client_ip=10.138.24.211
[2022-02-17 18:10:33] + get_net_arg netmask
[2022-02-17 18:10:33] + sed -n ‘s/^.[:,]netmask=([^,]+).$/\1/p’
[2022-02-17 18:10:33] + echo ‘-qubes-net:client_ip=10.138.24.211,dns_0=10.139.1.1,dns_1=10.139.1.2,gw=10.138.11.25,netmask=255.255.255.255’
[2022-02-17 18:10:33] + net_netmask=255.255.255.255
[2022-02-17 18:10:33] + get_net_arg gw
[2022-02-17 18:10:33] + echo ‘-qubes-net:client_ip=10.138.24.211,dns_0=10.139.1.1,dns_1=10.139.1.2,gw=10.138.11.25,netmask=255.255.255.255’
[2022-02-17 18:10:33] + sed -n ‘s/^.[:,]gw=([^,]+).$/\1/p’
[2022-02-17 18:10:33] + net_gw=10.138.11.25
[2022-02-17 18:10:33] + xenstore-read target
[2022-02-17 18:10:33] + udhcpd -f -I 10.138.11.25 -
[2022-02-17 18:10:33] udhcpd: started, v1.31.1
[2022-02-17 18:10:33] + target=16
[2022-02-17 18:10:33] + device_model=device-model/16
[2022-02-17 18:10:33] + mkdir /tmp/qmp
[2022-02-17 18:10:33] + kernel=
[2022-02-17 18:10:33] + grep -q ^-append
[2022-02-17 18:10:33] + echo ‘-xen-domid
[2022-02-17 18:10:33] 16
[2022-02-17 18:10:33] -no-shutdown
[2022-02-17 18:10:33] -nodefaults
[2022-02-17 18:10:33] -no-user-config
[2022-02-17 18:10:33] -name
[2022-02-17 18:10:33] disp6355
[2022-02-17 18:10:33] -display
[2022-02-17 18:10:33] none
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] VGA,vgamem_mb=16
[2022-02-17 18:10:33] -boot
[2022-02-17 18:10:33] order=dc
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] usb-ehci,id=ehci
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] usb-tablet,bus=ehci.0
[2022-02-17 18:10:33] -smp
[2022-02-17 18:10:33] 2,maxcpus=2
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] rtl8139,id=nic0,netdev=net0,mac=00:16:3e:5e:6c:00
[2022-02-17 18:10:33] -netdev
[2022-02-17 18:10:33] type=tap,id=net0,ifname=vif16.0-emu,script=no,downscript=no
[2022-02-17 18:10:33] -display
[2022-02-17 18:10:33] qubes-gui,domid=0,log-level=0
[2022-02-17 18:10:33] -machine
[2022-02-17 18:10:33] xenfv
[2022-02-17 18:10:33] -m
[2022-02-17 18:10:33] 3056
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvda,if=ide,index=0,media=disk,format=host_device,cache=writeback
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvdb,if=ide,index=1,media=disk,format=host_device,cache=writeback
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvdc,if=ide,index=2,media=disk,format=host_device,cache=writeback’
[2022-02-17 18:10:33] + mkfifo /tmp/qmp/qemu.in /tmp/qmp/qemu.out
[2022-02-17 18:10:33] + set +x
[2022-02-17 18:10:33] Clearing kmsg buffer…
[2022-02-17 18:10:33] + set +x
[2022-02-17 18:10:33] + set +x
[2022-02-17 18:10:33] + sed ‘s/$STUBDOM_RESTORE_INCOMING_ARG/fd:3/’
[2022-02-17 18:10:33] + echo ‘-xen-domid
[2022-02-17 18:10:33] 16
[2022-02-17 18:10:33] -no-shutdown
[2022-02-17 18:10:33] -nodefaults
[2022-02-17 18:10:33] -no-user-config
[2022-02-17 18:10:33] -name
[2022-02-17 18:10:33] disp6355
[2022-02-17 18:10:33] -display
[2022-02-17 18:10:33] none
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] VGA,vgamem_mb=16
[2022-02-17 18:10:33] -boot
[2022-02-17 18:10:33] order=dc
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] usb-ehci,id=ehci
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] usb-tablet,bus=ehci.0
[2022-02-17 18:10:33] -smp
[2022-02-17 18:10:33] 2,maxcpus=2
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] rtl8139,id=nic0,netdev=net0,mac=00:16:3e:5e:6c:00
[2022-02-17 18:10:33] -netdev
[2022-02-17 18:10:33] type=tap,id=net0,ifname=vif16.0-emu,script=no,downscript=no
[2022-02-17 18:10:33] -display
[2022-02-17 18:10:33] qubes-gui,domid=0,log-level=0
[2022-02-17 18:10:33] -machine
[2022-02-17 18:10:33] xenfv
[2022-02-17 18:10:33] -m
[2022-02-17 18:10:33] 3056
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvda,if=ide,index=0,media=disk,format=host_device,cache=writeback
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvdb,if=ide,index=1,media=disk,format=host_device,cache=writeback
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvdc,if=ide,index=2,media=disk,format=host_device,cache=writeback’
[2022-02-17 18:10:33] + dm_args=‘-xen-domid
[2022-02-17 18:10:33] 16
[2022-02-17 18:10:33] -no-shutdown
[2022-02-17 18:10:33] -nodefaults
[2022-02-17 18:10:33] -no-user-config
[2022-02-17 18:10:33] -name
[2022-02-17 18:10:33] disp6355
[2022-02-17 18:10:33] -display
[2022-02-17 18:10:33] none
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] VGA,vgamem_mb=16
[2022-02-17 18:10:33] -boot
[2022-02-17 18:10:33] order=dc
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] usb-ehci,id=ehci
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] usb-tablet,bus=ehci.0
[2022-02-17 18:10:33] -smp
[2022-02-17 18:10:33] 2,maxcpus=2
[2022-02-17 18:10:33] -device
[2022-02-17 18:10:33] rtl8139,id=nic0,netdev=net0,mac=00:16:3e:5e:6c:00
[2022-02-17 18:10:33] -netdev
[2022-02-17 18:10:33] type=tap,id=net0,ifname=vif16.0-emu,script=no,downscript=no
[2022-02-17 18:10:33] -display
[2022-02-17 18:10:33] qubes-gui,domid=0,log-level=0
[2022-02-17 18:10:33] -machine
[2022-02-17 18:10:33] xenfv
[2022-02-17 18:10:33] -m
[2022-02-17 18:10:33] 3056
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvda,if=ide,index=0,media=disk,format=host_device,cache=writeback
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvdb,if=ide,index=1,media=disk,format=host_device,cache=writeback
[2022-02-17 18:10:33] -drive
[2022-02-17 18:10:33] file=/dev/xvdc,if=ide,index=2,media=disk,format=host_device,cache=writeback’
[2022-02-17 18:10:33] + xenstore-read device/console/2
[2022-02-17 18:10:33] + xenstore-read device/console/1
[2022-02-17 18:10:34] + IFS=’
[2022-02-17 18:10:34] ’
[2022-02-17 18:10:34] + set -f
[2022-02-17 18:10:34] + set +f
[2022-02-17 18:10:34] + unset IFS
[2022-02-17 18:10:34] + qemu_pid=150
[2022-02-17 18:10:34] + ‘[’ ‘!’ -e /tmp/qemu.qmp ]
[2022-02-17 18:10:34] + sleep 0.1
[2022-02-17 18:10:34] + qemu -sandbox ‘on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny’ -chardev ‘pipe,path=/tmp/qmp/qemu,id=m’ -mon ‘chardev=m,mode=control’ -chardev ‘socket,server,nowait,path=/tmp/qemu.qmp,id=m2’ -mon ‘chardev=m2,mode=control’ -xen-domid 16 -no-shutdown -nodefaults -no-user-config -name disp6355 -display none -device ‘VGA,vgamem_mb=16’ -boot ‘order=dc’ -device ‘usb-ehci,id=ehci’ -device ‘usb-tablet,bus=ehci.0’ -smp ‘2,maxcpus=2’ -device ‘rtl8139,id=nic0,netdev=net0,mac=00:16:3e:5e:6c:00’ -netdev ‘type=tap,id=net0,ifname=vif16.0-emu,script=no,downscript=no’ -display ‘qubes-gui,domid=0,log-level=0’ -machine xenfv -m 3056 -drive ‘file=/dev/xvda,if=ide,index=0,media=disk,format=host_device,cache=writeback’ -drive ‘file=/dev/xvdb,if=ide,index=1,media=disk,format=host_device,cache=writeback’ -drive ‘file=/dev/xvdc,if=ide,index=2,media=disk,format=host_device,cache=writeback’ -device ‘nec-usb-xhci,id=xhci’
[2022-02-17 18:10:34] qemu: -chardev socket,server,nowait,path=/tmp/qemu.qmp,id=m2: warning: short-form boolean option ‘server’ deprecated
[2022-02-17 18:10:34] Please use server=on instead
[2022-02-17 18:10:34] qemu: -chardev socket,server,nowait,path=/tmp/qemu.qmp,id=m2: warning: short-form boolean option ‘nowait’ deprecated
[2022-02-17 18:10:34] Please use wait=off instead
[2022-02-17 18:10:34] + tee /proc/self/fd/2
[2022-02-17 18:10:34] + echo ‘{“execute”: “qmp_capabilities”}’
[2022-02-17 18:10:34] {“execute”: “qmp_capabilities”}
[2022-02-17 18:10:34] random: qemu: uninitialized urandom read (16 bytes read)
[2022-02-17 18:10:34] {“QMP”: {“version”: {“qemu”: {“micro”: 0, “minor”: 1, “major”: 6}, “package”: “”}, “capabilities”: [“oob”]}}

[2022-02-17 18:10:34] + ‘[’ ‘!’ -e /tmp/qemu.qmp ]
[2022-02-17 18:10:34] + ‘[’ -e /proc/self/fd/4 ]
[2022-02-17 18:10:34] + ‘[’ -e /proc/self/fd/3 ]
[2022-02-17 18:10:34] + true
[2022-02-17 18:10:34] + printf ‘==== Press enter for shell ====\n’
[2022-02-17 18:10:34] ==== Press enter for shell ====
[2022-02-17 18:10:34] + read
[2022-02-17 18:10:34] + vchan-socket-proxy 0 device-model/16/qmp-vchan /tmp/qemu.qmp
[2022-02-17 18:10:34] br0: port 2(vif16.0-emu) entered blocking state
[2022-02-17 18:10:34] br0: port 2(vif16.0-emu) entered disabled state
[2022-02-17 18:10:34] device vif16.0-emu entered promiscuous mode
[2022-02-17 18:10:34] br0: port 2(vif16.0-emu) entered blocking state
[2022-02-17 18:10:34] br0: port 2(vif16.0-emu) entered forwarding state
[2022-02-17 18:10:34] qubes_gui/init: 573
[2022-02-17 18:10:34] qubes_gui/init: 582
[2022-02-17 18:10:34] qubes_gui/init: 584
[2022-02-17 18:10:34] qubes_gui/init[611]: version sent, waiting for xorg conf
[2022-02-17 18:10:34] {“return”: {}}

[2022-02-17 18:10:34] written 110 bytes to vchan
[2022-02-17 18:10:34] written 34 bytes to vchan
[2022-02-17 18:10:34] written 34 bytes to vchan
[2022-02-17 18:10:35] random: crng init done
[2022-02-17 18:11:04] {“timestamp”: {“seconds”: 1645139463, “microseconds”: 996278}, “event”: “RTC_CHANGE”, “data”: {“offset”: -5}}

[2022-02-17 18:11:04] udhcpd: sending OFFER to 10.138.24.211
[2022-02-17 18:11:04] udhcpd: sending ACK to 10.138.24.211

Icon size: 128x128
This VM has attempted to create a very large window in a manner that would have prevented you from closing it and regaining the control of Qubes OS’s graphical user interface.

As a protection measure, the “override_redirect” flag of the window in question has been unset. If this creates unexpected issues in the handling of this VM’s windows, please set “override_redirect_protection” to “false” for this VM in /etc/qubes/guid.conf to disable this protection measure and restart the VM.

This message will only appear once per VM per session. Please click on this notification to close it.
libvchan_is_eof
Warning: cannot read config file (/var/run/qubes/guid-conf.16): file I/O error
Icon size: 128x128
domain dead
Failed to connect to gui-agent

2022-02-17 18:11:15.115 qrexec-daemon[16324]: qrexec-daemon.c:1214:main: qrexec-agent has disconnected
domain dead
2022-02-17 18:11:15.118 qrexec-daemon[16324]: qrexec-daemon.c:1106:handle_agent_restart: cannot connect to qrexec agent: No such process
2022-02-17 18:11:15.118 qrexec-daemon[16324]: qrexec-daemon.c:1216:main: Failed to reconnect to qrexec-agent, terminating

The disposable VM startup mechanism waits for the process to complete for the application being called. Unfortunately this doesn’t work on some Windows applications due to the way they process creating, notably Explorer and Firefox as far as I remember. As a workaround you can run a “Command Line” application or make a disposable VM with a permanent name and use it (like sys-usb and sys-firewall)

qvm-create --disp --template win-dvm-template win-dvm

2 Likes

Of course I already had it. I just wanted to go further, since sometimes I need more than one disposables running.

This definitely did the trick! Thank you so much! From command line in dispxxx, I started explorer and it worked. Now I need additional advice for which I will open separate topic.

Great work, jevank! We now definitely need only no-choppy-luggy audio and a beer to celebrate!

1 Like