Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upAppVMs Remote Desktop (VNC) Issues #1153
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
unman
Aug 29, 2015
Member
This might have been better sent to the users mailing list.
Here's one thing you could try:
I'm assuming that you have something like tigervncserver installed and configured on vncVM, and have configured firewall connections to allow access.
Open a terminal in vncVM and start the server:
systemctl start vncserver@:1.service
On the client, start your viewer and open the connection, entering password if set.
This should give you the "blank screen" you refer to.
Open another term in vncVM, and type
export DISPLAY=:1 (to match the display number you started).
starting xterm should then show a terminal window in the vnc viewer.
Of course, you likely want a window manager of some sort - install ratpoison or stumpWM and start it from vncVM. Or you could even run gnome-session.
|
This might have been better sent to the users mailing list. On the client, start your viewer and open the connection, entering password if set. Open another term in vncVM, and type Of course, you likely want a window manager of some sort - install ratpoison or stumpWM and start it from vncVM. Or you could even run gnome-session. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
evwwhmxgzmat
Aug 29, 2015
Thanks for your help.
I didn't even know that a Qubes users mailing list existed... :(
Next time, I'll post to the right place.
I followed your advice and I created two TemplateVMs:
- fedora-21-vnc, with IP 10.137.2.13 (to use as VNC server)
- fedora-21-vnc-clone-1, with IP 10.137.2.15 (to use as VNC viewer)
I installed tigervnc and tigervnc-server from Fedora 21 repos.
After configuring the firewall to allow connections between the two VMs (as explained in Qubes-os docs) I fired vncserver and vncviewer (see screenshots below).
The result is shown in the following picture: a blank screen only showning some configuration info and no terminal at all (the menu in the middle is from F8 key).
However, during my experiments I discovered something weird. After starting the VNC server in fedora-21-vnc, if I run a second terminal it will not appear, and the icon below the cursor arrow will keep bouncing for a while.
Now, if during this time I run vncviewer in fedora-21-vnc-clone-1, I do get a terminal and I can fire gnome-session, which starts succsessfully as shown in the following screenshot.
Why does the terminal in the remote session starts only in that particular situation?
------ UPDATE ------
OK, problem solved!
I forgot to run "export DISPLAY=:1" right after starting the VNC server.
The rest is as you said: when I start a new terminal in server VM it will appear in viewer VM.
evwwhmxgzmat
commented
Aug 29, 2015
|
Thanks for your help. I followed your advice and I created two TemplateVMs:
I installed tigervnc and tigervnc-server from Fedora 21 repos. The result is shown in the following picture: a blank screen only showning some configuration info and no terminal at all (the menu in the middle is from F8 key). However, during my experiments I discovered something weird. After starting the VNC server in fedora-21-vnc, if I run a second terminal it will not appear, and the icon below the cursor arrow will keep bouncing for a while. Why does the terminal in the remote session starts only in that particular situation? ------ UPDATE ------ OK, problem solved! |




evwwhmxgzmat commentedAug 28, 2015
I'm trying to control an AppVM remotely using a VNC client/server software. The problem is that when I connect, only a blank screen is shown in VNC viewer. I believe that this is due to the fact that TemplateVMs and AppVMs do not have a desktop on their own, as their desktop functionality is fully integrated with Dom0 desktop GUI.
Is there any way to restore/activate AppVMs own desktop (better if temporarily) to be used as a base for VNC viewer? Hints and suggestions are very welcome... :)