Goal:
I am trying to run 2 graphical environments ("guis"), KDE Plasma &
Windows 7, on a machine where the Xen hypervisor runs and where I can
access the guis on the monitor attached to the machine. I want to have
the machine act as a workstation giving me the ability to switch between
Gentoo & Win7 (Win for legacy Adobe products with I *own*) using the "xl
console" command. I believe I want SDL. I do not want the VNC delay.
============================================
My guest VM, ryzdesk [desktop] herein "DomU" has KDE Plasma installed
and I can successfully launch tiger VNC within DomU and access the KDE
desktop through through VNC from a remote machine.
I have tried the following:
1) In Dom0, launch as root Xfce4
2) In a console within Xfce4,
start the DomU: "xl create ryzdesk.conf -c"
3) In the DomU console, log in as root. Run:
xinit
to launch the KDE desktop.
4) switch out of the DomU console with Ctrl+"]"
5) In the same Xfce4 console now activated in DomU,
use: "xl console [#]" to jump into DomU.
When I am in the DomU session, nothing happens, there are only the
messages from the start of xinit. No KDE desktop pops up and replaced my
Xfce desktop. I then enter Ctrl + "c" to terminate the attempted launch
of the KDE desktop. Log is below.
Xorg log file from an attempt to launch xinitc. In a prior attempt, I
waited 3 minutes after output on the display before I executed
Control-C; in this log, I only waited for about 20 seconds:
https://salemdata.us/xen/guis/Xorg.0._20240103_1741PST.log
I believe the ability to access the guis from Dom0 would be achieved by
selecting SDL in the configuration and executing the "xl console"
command from within a console on a gui. From my configurations file,
ryzdesk.conf:
...
vfb = [ 'type=sdl' ]
...
# ref: https://www.youtube.com/watch?v=s1Ro0KxHooQ
#
videoram=16
stdvga=1
sdl = 1
vnc = 0
The new hardware consists of:
AMD Ryzen 7950+ processor
ASRock X670E motherboard
64 GB ram (non-ECC)
Video:
monitor: ViewSonic VA1655 15.6 Inch 1080p Portable IPS Monitor
port: HDMI of motherboard
Operating system for Dom0 and DomU (same kernel)
Gentoo Linux: 6.1.67-gentoo-x86_64
The VNC session demonstrates that the KDE Plasma desktop does work
-- I have been using the KDE desktop through VNC.
Here are links to the version of Xen (4.16.6_pre1) and Qemu I have
installed:
https://salemdata.us/xen/guis/qemu.script.202401031643PST.html
https://salemdata.us/xen/guis/xen.script.202401031643PST.html
Here is a dmesg listing with the Xorg.0.log of my attempt to
to start the KDE desktop.
https://salemdata.us/xen/guis/dmesg_ryzdesk_20240103_1936PST.script.html
1) Is my expectation that Xen will allow me to access guest desktops in
a gui fashion from a Dom0 console unrealistic?
2) What can I reference and/or provide to help troubleshoot the failure
to access a full gui of a guest VM on the hypervisor's monitor?
I've spent several days trying to get this to work, all the while a
colleague
murmurs "just use kvm". I've been using Xen for over a decade and would
like to continue using Xen.
Thank you for your time,
John Poole
I am trying to run 2 graphical environments ("guis"), KDE Plasma &
Windows 7, on a machine where the Xen hypervisor runs and where I can
access the guis on the monitor attached to the machine. I want to have
the machine act as a workstation giving me the ability to switch between
Gentoo & Win7 (Win for legacy Adobe products with I *own*) using the "xl
console" command. I believe I want SDL. I do not want the VNC delay.
============================================
My guest VM, ryzdesk [desktop] herein "DomU" has KDE Plasma installed
and I can successfully launch tiger VNC within DomU and access the KDE
desktop through through VNC from a remote machine.
I have tried the following:
1) In Dom0, launch as root Xfce4
2) In a console within Xfce4,
start the DomU: "xl create ryzdesk.conf -c"
3) In the DomU console, log in as root. Run:
xinit
to launch the KDE desktop.
4) switch out of the DomU console with Ctrl+"]"
5) In the same Xfce4 console now activated in DomU,
use: "xl console [#]" to jump into DomU.
When I am in the DomU session, nothing happens, there are only the
messages from the start of xinit. No KDE desktop pops up and replaced my
Xfce desktop. I then enter Ctrl + "c" to terminate the attempted launch
of the KDE desktop. Log is below.
Xorg log file from an attempt to launch xinitc. In a prior attempt, I
waited 3 minutes after output on the display before I executed
Control-C; in this log, I only waited for about 20 seconds:
https://salemdata.us/xen/guis/Xorg.0._20240103_1741PST.log
I believe the ability to access the guis from Dom0 would be achieved by
selecting SDL in the configuration and executing the "xl console"
command from within a console on a gui. From my configurations file,
ryzdesk.conf:
...
vfb = [ 'type=sdl' ]
...
# ref: https://www.youtube.com/watch?v=s1Ro0KxHooQ
#
videoram=16
stdvga=1
sdl = 1
vnc = 0
The new hardware consists of:
AMD Ryzen 7950+ processor
ASRock X670E motherboard
64 GB ram (non-ECC)
Video:
monitor: ViewSonic VA1655 15.6 Inch 1080p Portable IPS Monitor
port: HDMI of motherboard
Operating system for Dom0 and DomU (same kernel)
Gentoo Linux: 6.1.67-gentoo-x86_64
The VNC session demonstrates that the KDE Plasma desktop does work
-- I have been using the KDE desktop through VNC.
Here are links to the version of Xen (4.16.6_pre1) and Qemu I have
installed:
https://salemdata.us/xen/guis/qemu.script.202401031643PST.html
https://salemdata.us/xen/guis/xen.script.202401031643PST.html
Here is a dmesg listing with the Xorg.0.log of my attempt to
to start the KDE desktop.
https://salemdata.us/xen/guis/dmesg_ryzdesk_20240103_1936PST.script.html
1) Is my expectation that Xen will allow me to access guest desktops in
a gui fashion from a Dom0 console unrealistic?
2) What can I reference and/or provide to help troubleshoot the failure
to access a full gui of a guest VM on the hypervisor's monitor?
I've spent several days trying to get this to work, all the while a
colleague
murmurs "just use kvm". I've been using Xen for over a decade and would
like to continue using Xen.
Thank you for your time,
John Poole