VNC Configuration....

Latest response

OS: Red Hat Enterprise Linux Server release 6.4 (Santiago)

I am getting following error. Can any one help to resolve this issue.

Mon Oct 28 16:38:46 2013
vncext: VNC extension running!
vncext: Listening for VNC connections on all interface(s), port 5902
vncext: created VNC server for screen 0
GNOME_KEYRING_SOCKET=/tmp/keyring-ueOw5U/socket
SSH_AUTH_SOCK=/tmp/keyring-ueOw5U/socket.ssh
GNOME_KEYRING_PID=58376
vmware-user: could not open /proc/fs/vmblock/dev
Failed to play sound: Not available
An instance of nm-applet is already running.

(polkit-gnome-authentication-agent-1:58444): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'

(polkit-gnome-authentication-agent-1:58444): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
W: main.c: This program is not intended to be run as root (unless --system is specified).

** (gnome-user-share:58473): WARNING **: gnome-user-share cannot be started as root for security reasons.
Initializing nautilus-gdu extension
Initializing nautilus-open-terminal extension
Xlib: extension "VMWARE_CTRL" missing on display ":2".

Responses

Asher,

Sorry you haven't seen a response on this one yet. I've reached out to an expert at Red Hat who may be able to assist you here. Stay tuned.

post your .xsession-errors please.

where I get this .xsession-errors? Sorry I am not good in this.

VNC Viewer: Error: connection refused (10061)

vncviewer x.x.x.x:2

TigerVNC Viewer for X version 1.1.0 - built Apr 25 2013 11:07:36
Copyright (C) 1999-2011 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.

Tue Oct 29 17:38:04 2013
main: unable connect to socket: Connection refused (111)

where I get this .xsession-errors? Sorry I am not good in this.

VNC Viewer: Error: connection refused (10061)

Can you give us the output of lsof -i tcp:5902 and iptables -nL?

lsof -i tcp:5902

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
Xvnc 2276 root 4u IPv4 15693 0t0 TCP localhost:5902 (LISTEN)

iptables -nL

Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:5902
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:5901
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:5900
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state NEW udp dpt:5900
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited

Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Well, that looks like a problem to me:

As your Xvnc is only listening on 'localhost', remote connections won`t work. You should imho check your Xvnc-configuration for parameters regarding which interfaces / adresses to listen on.