Ask Your Question
0

Configure VNC console with external IP address

asked 2017-12-18 05:26:32 -0500

anonymous user

Anonymous

Hi there,

I've installed OpenStack Ocata according to the install guide with three nodes:

  1. controller/compute node
  2. compute node
  3. block storage node

I have a private management network and a public IP address space for the users to access their VMs via SSH.

Now I want to give the users the opportunity to access their VMs remotely using the VNC console. What VNC settings do I have to change to get access from the external network? I did the configuration according to the guide with the management network.

Thanks for your help

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-12-19 08:03:13 -0500

jckreddy gravatar image

Follow these steps to enable VNC on VM i did for CentOS VM

  1. CentOS-7 "Minimal Install" VM (no Desktop System)
  2. yum groupinstall "X Window System"
  3. yum groupinstall "Fonts"
  4. yum install kde-workspace
  5. yum install gdm
  6. unlink /etc/systemd/system/default.target
  7. ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
  8. reboot OR (systemctl isolate graphical.target)

now you can create VNC server instance on the VM using "vncserver" command

It will create VNC instance for example VM1-hostname:1 where VM1-hostname is your VM public ip By using this "VM public ip:1" on VNC client you will be able to access VM from remote system

edit flag offensive delete link more

Comments

I will try it. Nova already supports VNC. Why don't use it?

tk8 gravatar imagetk8 ( 2017-12-22 14:06:42 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-12-18 05:26:32 -0500

Seen: 67 times

Last updated: Dec 19 '17