Trying to setup SPICE on Manjaro VM, but failed when loginning in.

prolab

New Member
Aug 11, 2020
21
2
3
I'm trying to setup SPICE on a fresh installed Manjaro KDE VM following this guide: https://pve.proxmox.com/wiki/SPICE
I have increased the memory to 32 MiB. Then installed the Windows SPICE guest tools to connect to it from a Windows PC.
Then I installed and enabled spice-vdagent service and rebooted the VM. But I noticed I still can't set resolutions of the VM. If I set a higher resolution, it will revert back.
Then I googled and found this wiki: https://wiki.archlinux.org/index.php/QEMU#Enabling_SPICE_support_on_the_guest It suggest to install xf86-video-qxl I installed it, then after reboot I found I can't login. After I type the password and hit enter, the screen will black for a second and then the login screen comes back.

This is the journalctl log I retrieved after switch back to default display. https://pastebin.pl/view/7e83e488
What should I do to make the SPICE work on Manjaro KDE version?
 
Hello,

Is just on KDE or Gnome shell as well?

Can you post VM of Manjaro config please and output of pveversion -v
 
Last edited:
I have not tested Gnome yet, because I currently only installed the Manjaro's KDE verison it with the KDE iso image manjaro-kde-20.1.1-201001-linux58.iso

Do you mean this config file for the Manjaro VM?
Code:
root@pve5:~# ls /etc/pve/qemu-server/
100.conf  102.conf  106.conf  111.conf  113.conf  116.conf
101.conf  105.conf  107.conf  112.conf  115.conf  117.conf
root@pve5:~# cat /etc/pve/qemu-server/101.conf
agent: 1
bootdisk: scsi0
cores: 6
memory: 8192
name: manjaro1
net0: virtio=FA:B5:36:F4:E7:60,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: zfstest5-enc-vol:vm-101-disk-0,size=2000G
scsihw: virtio-scsi-pci
smbios1: uuid=14ad65c2-1d5e-4c3c-b77c-5ef3ead92d00
sockets: 1
vga: qxl,memory=32
vmgenid: c64ef007-8ad3-45f1-a4cc-90f6d0ad6d98
root@pve5:~#

Here is the pveversion -v
Code:
root@pve5:~# pveversion -v
proxmox-ve: 6.2-2 (running kernel: 5.4.65-1-pve)
pve-manager: 6.2-12 (running version: 6.2-12/b287dd27)
pve-kernel-5.4: 6.2-7
pve-kernel-helper: 6.2-7
pve-kernel-5.4.65-1-pve: 5.4.65-1
pve-kernel-5.4.34-1-pve: 5.4.34-2
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.4-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.16-pve1
libproxmox-acme-perl: 1.0.5
libpve-access-control: 6.1-3
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.2-2
libpve-guest-common-perl: 3.1-3
libpve-http-server-perl: 3.0-6
libpve-storage-perl: 6.2-8
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.3-1
lxcfs: 4.0.3-pve3
novnc-pve: 1.1.0-1
proxmox-backup-client: 0.9.0-2
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.3-1
pve-cluster: 6.2-1
pve-container: 3.2-2
pve-docs: 6.2-6
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-3
pve-firmware: 3.1-3
pve-ha-manager: 3.1-1
pve-i18n: 2.2-1
pve-qemu-kvm: 5.1.0-3
pve-xtermjs: 4.7.0-2
qemu-server: 6.2-15
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 0.8.4-pve2
root@pve5:~# ^C
 
I tried again with a newer Manjaro iso manjaro-kde-20.1.2-201019-linux58.iso and this time I also set SPICE at the very beginning when I'm creating the VM (not after the installation). This time it works. But still not sure what's the extract problem of that... the manjaro's version? or the should I switch to SPICE at the very beginning?
 
Hi,
the manjaro's version?
could be, i'm not sure, you need to ask in manjaro forum

or the should I switch to SPICE at the very beginning?
i guessing your error because of xf86-video-qxl try to install SPICE without xf86-video-qxl.
Because SPICE works fine :)
 
I tried again with a newer Manjaro iso manjaro-kde-20.1.2-201019-linux58.iso and this time I also set SPICE at the very beginning when I'm creating the VM (not after the installation). This time it works. But still not sure what's the extract problem of that... the manjaro's version? or the should I switch to SPICE at the very beginning?
Hi there!
Please post your final conf. I want to compare :)
Thanks
 
Hi there!
Please post your final conf. I want to compare :)
Thanks
Here it is
Code:
root@pve5:~# cat /etc/pve/qemu-server/110.conf
agent: 1
bootdisk: scsi0
cores: 4
ide2: zfstest5-enc-dir:iso/manjaro-kde-20.1.2-201019-linux58.iso,media=cdrom
memory: 4096
name: manjaro3
net0: virtio=DE:AC:E4:7B:14:5E,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: zfstest5-enc-vol:vm-110-disk-0,size=64G
scsihw: virtio-scsi-pci
smbios1: uuid=0186cbe1-90a6-4a71-be1f-bf17f1282d16
sockets: 1
vga: qxl,memory=32
vmgenid: 5564f64c-6e85-4c69-9faa-b3e21c4731fd
root@pve5:~#

BTW, the USB device in virt-viewer is still greyed out. Not sure how to set up USB redirection yet, but not a big deal for me.
 
  • Like
Reactions: admoin
Here it is
Code:
root@pve5:~# cat /etc/pve/qemu-server/110.conf
... some code ...
root@pve5:~#

BTW, the USB device in virt-viewer is still greyed out. Not sure how to set up USB redirection yet, but not a big deal for me.
Thank you, but this conf do not solv the problem.
with STD i can change the res to 1920.
with QXL it change for 0,5 secs and then get back old res.
HARD STUFF :/

The same here with SPICE: https://www.reddit.com/r/ManjaroLin...t_change_screen_resolution_manjaro_in_vmware/
 
Thank you, but this conf do not solv the problem.
with STD i can change the res to 1920.
with QXL it change for 0,5 secs and then get back old res.
HARD STUFF :/

The same here with SPICE: https://www.reddit.com/r/ManjaroLin...t_change_screen_resolution_manjaro_in_vmware/
I can change it by dragging the virt-viewer's windows corners.
It seems change the resolution inside the VM does not work...
But I recently found another issue is that using SPICE to access manjaro is super slow. Much slower than novnc......
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!