VNC Server in Neutrino

Hi, Guys,

I have tried a lot of time on getting VNC server work with no luck. The following are information from the ~/.vnc/log file:

19/10/05 14:17:36 Xvnc version 3.3.7 - built May 21 2003 15:23:36
19/10/05 14:17:36 Copyright (C) 2002-2003 RealVNC Ltd.
19/10/05 14:17:36 Copyright (C) 1994-2000 AT&T Laboratories Cambridge.
19/10/05 14:17:36 All Rights Reserved.
19/10/05 14:17:36 See for information on VNC
19/10/05 14:17:36 Desktop name ‘X’ (lwslaptop:1)
19/10/05 14:17:36 Protocol version supported 3.3
19/10/05 14:17:36 Listening for VNC connections on TCP port 5901
_X11TransSocketINETConnect: Can’t get address for lwslaptop
xsetroot: unable to open display ‘lwslaptop:1’
_X11TransSocketINETConnect: Can’t get address for lwslaptop
twm: unable to open display “lwslaptop:1”
_X11TransSocketINETConnect: Can’t get address for lwslaptop
Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm Xt error: Can’t open display: %s

Anybody know what is wrong and what to do?

Thanks a lot,

I guess your hostname is lwslaptop. Make you have it in your /etc/hosts file. You can add it next to the “localhost” if you don’t have a permanent IP.

Thanks a lot. Vncserver can start now.

But still a problem: I cannot connect to it from my XP machine. The VNC Viewer error message is : Unable to connect host; Connection refused (10061).

Both of my XP and QNX machine are dhcp.

Any idea of what’re wrong?

Thanks a lot for assistances,

A few things could be wrong:

  1. There is a firewall on your XP that blocks this outbound traffic.
  2. There is a firewall in between your XP and QNX, that blocks the VNC traffic.
  3. The IP address you used to connect is wrong.
  4. The port number you used to connect is wrong.

Thank you very much for your inputs. Appreicate it a lot.