Ask Your Question

How do I get a GUI from an OpenStack instance?

asked 2015-03-01 13:55:46 -0500

anonymous user


I am new to OpenStack and I have trouble understanding how cloud instances and connections to instances work.

Right now, I have devstack installed on a computer. I have created a Fedora instance using the OpenStack dashboard. I am able to ssh into the instance using the terminal and the instance's key pair.

I am pretty sure it is possible to access terminal through the ssh connection and run commands. However, I want to know if I can connect to the instance from a completely separate computer and actually see the Fedora GUI, apps, etc and have the ability to actually use the OS normally.

I apologize if this question is trivial, but it's something I haven't understood since I began using OpenStack.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2015-03-01 17:28:45 -0500

YanivZadka gravatar image

I'm not sure how your setup looks like but in general you can view the instances throughout the dashboard using VNC or SPICE protocols. Click on the instance (VM) on the dashboard GUI to have the console option.

Completely separate machine access would require floating IPs assigned to your instances so you'll be able to SSH them from remote. In order to use VNC, make sure you modify the novncproxy_base_url attribute in the nova.conf file on your compute node to (guide quote) "The base URL indicates the location where you can use a web browser to access remote consoles of instances on this compute node." for example novncproxy_base_url = :6080/vnc_auto.html where is accessible controller IP address from which you can run your dashboard.

Hope this helps.

edit flag offensive delete link more

answered 2015-03-01 22:43:41 -0500

Bipin gravatar image

First of All make sure that, GUI related components are installed in your instance. Try install using yum groupinstall gnome. And connect to the instance using ssh -X option. OR connect to the instance using the SPICE, VNC console which is built in openstack.
edit flag offensive delete link more

answered 2015-03-01 22:45:17 -0500

SamYaple gravatar image

You will need to conect to the console.

The easiest way to do this is via the Openstack dashboard project, Horizon.

From the command like you can do nova get-vnc-console <instance_uuid> novnc. That will return a url to go to. If you are not using novnc, put what you are using in there, (html5spice, xvpvnc, etc)

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-03-01 13:55:46 -0500

Seen: 6,519 times

Last updated: Mar 01 '15