Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a centos 6.4 box running openstack grizzly. I have various instances running, yet I can not view their console. Horizon has a built in console viewer called novnc-proxy, which is not working either. For debugging purposes I try to connect to the vnc port directy. I have a network connection, but can not see any output.

The compute host has instances:

$ virsh list
 Id    Name                           State
----------------------------------------------------
  81    instance-0000010d              running
 82    instance-0000010e              running
 84    instance-00000110              running
 85    instance-00000111              running

They have a vnc port open:

 $ virsh vncdisplay 85
:9

The port is listet as open:

$ ss -l |grep -v 127.0.0.1 |grep 590
LISTEN     0      1                       *:5907                     *:*       
LISTEN     0      1                       *:5908                     *:*       
LISTEN     0      1                       *:5909                     *:*   

I can connect to that port from outside using telnet:

$ telnet 192.168.10.140 5909
Trying 192.168.10.140...
Connected to 192.168.10.140.
Escape character is '^]'.
RFB 003.008

I can connect to that port with remmina, which then is listet as an established connection:

$ ss |grep 5909
ESTAB      0      0          192.168.10.140:5909        192.168.10.117:52172   

Still I don't see anything. What is going on here?

share|improve this question
    
Can you please show the contents of /etc/sysconfig/vncserver ? –  Itai Ganot Aug 12 '13 at 9:25
    
It turns out is is a client issue ... I can view console with gtkvncviewer. Not sure whats bugging remmina. –  Isaac Aug 12 '13 at 9:29

2 Answers 2

You can run this short script I wrote, I use it when deploying many servers:

#!/bin/bash
yum install pixman pixman-devel libXfont tigervnc-server.x86_64 -y
cat <<EOF > /etc/sysconfig/vncservers
VNCSERVERS="6:root"
VNCSERVERARGS[6]="-geometry 1152x864"
EOF
chkconfig vncserver on
/usr/bin/vncpasswd
/etc/init.d/vncserver start

During the script run you will be asked to set the VNC password and when it finishes you'll be able to connect to the server like so: #vncviewer hostname:5906

share|improve this answer

It turns out is is a client issue ... I can view console with gtkvncviewer. Not sure whats bugging remmina.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.