Originally Posted by
LVDave
I can't check the VB install right now, but it turns out on the KVM vm, the vm setup shows the video IS QXL and "Channel Spice" and "Display Spice"... Will try the xrandr snippet above...
You'll need to modify that line for your system. Both the mode and the output device. On my kvm 20.04 system, this is the line that works:
Code:
xrandr --output Virtual-1 --mode 1680x1050
I'm on a 1920x1200 host (desktop), but sometimes use a laptop.
My connection script is this:
Code:
#!/bin/bash
GO=regulus
if [[ $HOSTNAME == "hadar" ]] ; then
# For local connection on hadar
/usr/bin/virt-viewer -a -d $GO &
else
# For remote connections on the LAN
/usr/bin/virt-viewer --connect qemu+ssh://hadar/system $GO &
fi
hadar is the vm-host system, but I have others and don't want to be bothered to remember virsh connection incantations.
But to be honest, almost always I'll use remote X11 rather than virt-viewer. Virt-viewer **is** faster thanks to spice, but much less convenient. For example:
Code:
ssh -X regulus "libreoffice ~/TODO/GTD-Todo.xls" &
or
Code:
ssh -X regulus "firejail thunderbird " &
or
Code:
ssh -X cirrus "chromium-browser $@ " &
but most common, I just get a terminal onto different systems:
Code:
xterm -geometry 80x25+1010+150 $XTERM_OPTS -e ssh -X istar &
xterm -geometry 80x25+980+610 $XTERM_OPTS -e ssh -X romulus &
xterm -geometry 80x25+0+0 $XTERM_OPTS -e ssh -X hadar &
xterm -geometry 80x25+2+670 $XTERM_OPTS -e ssh -X regulus &
From each of these, most GUI programs can be launched to be run from each system.
Bookmarks