[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XL Console: Accessing DomU Guis?


  • To: xen-users@xxxxxxxxxxxxxxxxxxxx
  • From: Paul Leiber <paul@xxxxxxxxxxxxxxxx>
  • Date: Sun, 7 Jan 2024 23:37:57 +0100
  • Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1704667084; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:From:References:To:Subject:Date:Message-ID:Cc:Date:From: Subject:Sender; bh=iXbAJSlCewfOrhVokXM0xSvUIOUqJGFBEqq1PjlIG3s=; b=dffHuEuNsmJ1cxe9swL+MMEXdslIKMu0dLT6IbouiUsRsxIjEhgXboiigAgqYrV0IZ gUyUeGsptsZVtZyL0JGGJXI1dtWk8AAlEl+NMCXQDxfZQcqKaEb9gaxfJhtuBQ5/KAcq 1ldScQw2Tt9p2J6gwHmUHkBfPTTpJySAtQAAgwzHPS3VZ3iHjiOiyo1YCckECyqw6T6Q qW1B5KpgAW80ggEq7UpIUj+o1TxAySWXvirfKCvOm/MZ5jdKBL7/ewdWySkbfJ6GSkWK 650DWIkBPt9XzW84nj2eChyoKe5m9YMYpFTshf8ey7gkH5C75pRoIic3tYWqRSo/foR/ rNMQ==
  • Arc-seal: i=1; a=rsa-sha256; t=1704667084; cv=none; d=strato.com; s=strato-dkim-0002; b=qvocTfIFFxwvya+V9QPl3T4EqQDKg3/h98newK3I5di405qN9E2IXc9TJIInd1Q+Di 0wPu49kGn6L3Pmj8kPr162seS3r/Sb3/0cwJXctLwchLKXo2sgcPJvR1BEKpLimXjE6u e4x0g+tsxIXCye3ys291nTcvxSrw5TcR2eLaoa2LVnftk47kaLZBsBONHChtYDHsFlxM gMYcbA8NjoNSPVDO+siL87u5bYxqSru92eV9FjE9Fd/O5IyKvYi8X+zuyHscbkcIOOI2 i4po961eZSbcN/S+CGfr4xXYWNqwUUU4suUWX4W2nVcCaRWQBGAs0Imj0qK2X+AP9Ku9 j97Q==
  • Delivery-date: Sun, 07 Jan 2024 22:38:51 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>



Am 07.01.2024 um 20:25 schrieb zithro:
Hi,

On 06 Jan 2024 20:18, John L. Poole wrote:

 > My understanding is that the Dom0 _console_ simply can't display
 > the GUI from the DomU. "xl console" does what it says, it shows
 > the console of the DomU. The output of the DomU console after starting
 > xinit shows that this is working as intended. "xl create" with
 > the "-c" option is equivalent to using "xl console". Also, a Dom0
 > console is not "activated" by the DomU in any way, I think a DomU
 > influencing the Dom0 in such a way would violate the security aspect
 > of virtualization.
Correct.  I have not be careful with my terminology.  What I envision
is running Xfce in Dom0 as user jlpoole, and then within the Xfce
session, launching a console within and executing the command:
"sudo xl console [X]".  This procedure should be distinguished
from being in the console window at boot time and trying therein
"sudo xl console [X]" where I am not operating over an
already-launched gui.

I think you misunderstand the way it works.
"xl console", or more generally a "console", is just a *text* interface, it cannot display a GUI, only a TUI (Text User Interface). In a way, the console can only display what would be displayed on tty1-tty6, but not tty7 (where the GUI usually resides).
(In effect, [xl] console displays tty1, and tty1 only).

For graphics *and* without installing anything in the domU, you have 2 choices: VNC or SDL.

Just for completeness' sake: At least for HVM DomUs, there is also SPICE, which I have been using more often than VNC, lately.

https://wiki.xenproject.org/wiki/SPICE_support_in_Xen

Paul



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.