Hi All,
Fedora 29 Xfce 4.13
I have a qemu-kvm virtual machine (VM) of Ubuntu. I have two programs that won't run in Fedora installed in it.
I know about "ssh -X11" and occasionally use it in other situations. But X11 is slow and clunky.
Is there a better way to run a local windows of a program in a VM?
Many thanks, -T
On 4/12/19 7:00 PM, ToddAndMargo via users wrote:
I have a qemu-kvm virtual machine (VM) of Ubuntu. I have two programs that won't run in Fedora installed in it.
I know about "ssh -X11" and occasionally use it in other situations. But X11 is slow and clunky.
X11 is slow or X11 over ssh? I don't find it to be that bad and it's a local connection.
Is there a better way to run a local windows of a program in a VM?
You could try using vnc. Or "xhost +{VM IP addr}" and have a direct X connection (no ssh).
On 4/12/19 7:14 PM, ToddAndMargo via users wrote:
On 4/12/19 7:09 PM, Samuel Sieb wrote:
X11 is slow or X11 over ssh?
Over ssh.
How do you run it without the ssh?
On the host, "xhost +{VM IP addr}" On the VM, "export DISPLAY={host IP addr}:0" (maybe 1) I think that should work, but I haven't actually tested it.
On 4/13/19 12:51 AM, Samuel Sieb wrote:
On 4/12/19 7:14 PM, ToddAndMargo via users wrote:
On 4/12/19 7:09 PM, Samuel Sieb wrote:
X11 is slow or X11 over ssh?
Over ssh.
How do you run it without the ssh?
On the host, "xhost +{VM IP addr}" On the VM, "export DISPLAY={host IP addr}:0" (maybe 1) I think that should work, but I haven't actually tested it.
What would the command line be to start the program?
On 4/13/19 3:38 PM, ToddAndMargo via users wrote:
On 4/13/19 12:51 AM, Samuel Sieb wrote:
On 4/12/19 7:14 PM, ToddAndMargo via users wrote:
On 4/12/19 7:09 PM, Samuel Sieb wrote:
X11 is slow or X11 over ssh?
Over ssh.
How do you run it without the ssh?
On the host, "xhost +{VM IP addr}" On the VM, "export DISPLAY={host IP addr}:0" (maybe 1) I think that should work, but I haven't actually tested it.
What would the command line be to start the program?
Do the export DISPLAY, then run the program. You can do that over ssh.
On 13Apr2019 17:45, Samuel Sieb samuel@sieb.net wrote:
On 4/13/19 3:38 PM, ToddAndMargo via users wrote:
On 4/13/19 12:51 AM, Samuel Sieb wrote:
On 4/12/19 7:14 PM, ToddAndMargo via users wrote:
On 4/12/19 7:09 PM, Samuel Sieb wrote:
X11 is slow or X11 over ssh?
Over ssh. How do you run it without the ssh?
On the host, "xhost +{VM IP addr}" On the VM, "export DISPLAY={host IP addr}:0" (maybe 1) I think that should work, but I haven't actually tested it.
What would the command line be to start the program?
Do the export DISPLAY, then run the program. You can do that over ssh.
In case things are unclear, Samuel's suggested 3 different ways of getting your programme's windows displayed from within your Ubuntu VM:
- ssh with X11 tunneled: ssh -Y your-vm This sets $DISPLAY at the VM end to connect through a socket, and X11 requests get rewritten and delivered to the local display.
- ssh without X11 tunneled: ssh your-vm Then you set $DISPLAY to the public ip:port of your local display and connection is done directly over the net. This requires an xhost incantation to permit the connection. This is usually "xhost +", which is grotesquely insecure but generally ok on a local personal LAN.
Note: there's a middle ground with a reverse port forward which avoids using the LAN unencrypted, but since this is a local VM that's probably irrelevant.
- VNC: run a VNC viewable X11 server in the VM, and view it with vnc viewer from your local machine
Regarding the slowness/clunkiness of X11, this is quite dependent on the X11 application. A graphically active application will often be significantly clunkier over a remote X11 connection both because of the constant traffic used to do all the activity. Stupid twirly "I'm working!" things like rotating download/loading icons are particularly offensive in this regard, as is any gradtuitous video.
The advantage of VNC in this scenario is that all the X11 stuff happens locally to the VM, not across the network. Your VNC viewer will be busy of course, but it is just doing regular udates - it isn't bottlenecked rendering every X11 update, just rendering the display state as it can - many local X11 updates might happen between VNC updates.
This trades the "lagginess" of a VNC display for clunkiness of direct X11 rendering, which needs to be somewhat synchronous.
If you want to go the VNC route you've go 2 basic methods: add the VNC module to the regular X11 server and view its state that way - this isn't really any better than the regular VM display view. The alternative is to run an Xvnc server instance - a headless X11 display with a logical/virtual desktop which you can view with a VNC client. For that you want the "vncserver" command, eg:
vncserver :5 -alwaysshared -name "vnc:5" -depth 24 -geometry 1400x1050
Then on the VM you start X11 apps using the $DISPLAY ":5" and want it with a VNC client.
Cheers, Cameron Simpson cs@cskk.id.au
On Fri, 12 Apr 2019 at 23:01, ToddAndMargo via users < users@lists.fedoraproject.org> wrote:
Hi All,
Fedora 29 Xfce 4.13
I have a qemu-kvm virtual machine (VM) of Ubuntu. I have two programs that won't run in Fedora installed in it.
I know about "ssh -X11" and occasionally use it in other situations. But X11 is slow and clunky.
Is there a better way to run a local windows of a program in a VM?
spice https://www.spice-space.org/. Configure the display to use spice and install a spice client on the host.
Many thanks, -T _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
On 4/14/19 3:54 AM, George N. White III wrote:
spice https://www.spice-space.org/. Configure the display to use spice and install a spice client on the host.
Hi George,
Or just virt-viewer like on my other VM's
Question, does Spice allow you to see what the user sees or is it a separate window? I am asking as I am also looking for a way to do remote assistance on Linux (Fedora).
I pay for Go To Assist, but they have ignored my and other's requests for Linux support for years. I have to fire up a stinkin' Windwos 7 VM to user it.
-T
On 4/14/19 3:44 PM, ToddAndMargo via users wrote:
On 4/14/19 3:54 AM, George N. White III wrote:
spice https://www.spice-space.org/. Configure the display to use spice and install a spice client on the host.
Hi George,
Or just virt-viewer like on my other VM's
virt-viewer by default uses the spice protocol.
x20go is able to run floating windows from Windows and Linux VMs. That said, I've only ever been a user of x2go, and have never set it up myself.
On Mon, Apr 15, 2019 at 12:18 PM Samuel Sieb samuel@sieb.net wrote:
On 4/14/19 3:44 PM, ToddAndMargo via users wrote:
On 4/14/19 3:54 AM, George N. White III wrote:
spice https://www.spice-space.org/. Configure the display to use spice and install a spice client on the host.
Hi George,
Or just virt-viewer like on my other VM's
virt-viewer by default uses the spice protocol. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
On Sun, 14 Apr 2019 at 19:47, ToddAndMargo via users < users@lists.fedoraproject.org> wrote:
On 4/14/19 3:54 AM, George N. White III wrote:
spice https://www.spice-space.org/. Configure the display to use spice and install a spice client on the host.
Hi George,
Or just virt-viewer like on my other VM's
virt-viewer supports both VNC and SPICE protocols, presumably depending on how you configure the VM. There are lots of VNC viewers and apps like MobaXterm that provide a more friendly front-end. VNC servers I've used have options to allow multiple clients, and you can use ssh tunnels for security. In practice, I've seen configurations where one, both or neither protocol was usable. Spice supports a "console" view for server VM's, but this gives an image display so you can't copy text to the clipboard or paste incantations into the console. Generally you want to use the same VMC server and client as there are often differences in the initial handshake. Recent TigerVNC clients do work with some MacOS built-in VNC servers.
Question, does Spice allow you to see what the user sees or is it a separate window? I am asking as I am also looking for a way to do remote assistance on Linux (Fedora).
Simultaneous clients is listed under "Future Features https://www.spice-space.org/features.html". I use VM's to have access to whatever linux version is causing difficulties. They run on a small server. If I have a spice viewer going on the server and then connect with the Windows "Remote Viewer" client, the window on the server goes to a message:
"Error: viewer connection to hypervisor host got refused or disconnected"
so the future is not here yet.
https://www.datamation.com/open-source/remote-linux-support-software-top-pic... has a number of commercial linux support tools, and menitons Chrome Remote Desktop. https://www.addictivetips.com/ubuntu-linux-tips/best-remote-access-apps-for-... puts Chrome Remote Desktop for linux at the top of their list.
I pay for Go To Assist, but they have ignored my and other's requests for Linux support for years. I have to fire up a stinkin' Windwos 7 VM to user it.
On Sun, 2019-04-14 at 15:44 -0700, ToddAndMargo via users wrote:
On 4/14/19 3:54 AM, George N. White III wrote:
spice https://www.spice-space.org/;. Configure the display to use spice and install a spice client on the host.
Hi George,
Or just virt-viewer like on my other VM's
Question, does Spice allow you to see what the user sees or is it a separate window? I am asking as I am also looking for a way to do remote assistance on Linux (Fedora).
I pay for Go To Assist, but they have ignored my and other's requests for Linux support for years. I have to fire up a stinkin' Windwos 7 VM to user it.
TeamViewer (non-FOSS but free for personal use) works fairly well and is easy to set up. It doesn't require Windows. See https://www.teamviewer.com
poc
On 4/15/19 4:23 AM, Patrick O'Callaghan wrote:
TeamViewer (non-FOSS but free for personal use) works fairly well and is easy to set up. It doesn't require Windows. See https://www.teamviewer.com
Thank you!
They want over 900 U$D / yr. I only spend $460 / yr on Go To Assist. I have heard Team Viewer does work well for collaboration and can be fussed into remote support.
A vendor uses "Zoom", which has Linux support, but it is really, sadly buggy under linux and we typically wind up using the Windows version and RDP'ing (xrdp) into the server
Plus it is set up as a collaboration (team) tool and really is a square peg in a round hole to remote support. It has tons of buttons and hidden menus to hunt down that a common users will ot even be able to find.