Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VNCserver connection problem (10061)

Status
Not open for further replies.

rneve

MIS
Oct 11, 2002
51
EU
I have problems connection from a windows-client to the VNC server (AIX).
On AIX I have done the following:
- Install VNC, rpm vnc-3.3.3r2-3
- edit the vncserver script, uncommented the line:
$cmd .= " -fp /usr/lib/X11/fonts/,/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/";
- When I start the vncserver I get the following messages:
root@zlmota(/home/root)# vncserver

New 'X' desktop is zlmota:1

Starting applications specified in /home/root/.vnc/xstartup
Log file is /home/root/.vnc/zlmota:1.log

- The logging looks like:
root@zlmota(/home/root)# cat /home/root/.vnc/zlmota:1.log
03/08/06 09:34:27 Xvnc version 3.3.3r2
03/08/06 09:34:27 Copyright (C) AT&T Laboratories Cambridge.
03/08/06 09:34:27 All Rights Reserved.
03/08/06 09:34:27 See for information on VNC
03/08/06 09:34:27 Desktop name 'X' (zlmota:1)
03/08/06 09:34:27 Protocol version supported 3.3
03/08/06 09:34:27 Listening for VNC connections on TCP port 5901
03/08/06 09:34:27 Listening for HTTP connections on TCP port 5801
03/08/06 09:34:27 URL xrdb: A file or directory in the path name does not exist.
1356-613 xrdb: can't open file '/home/root/.Xresources'

When I try to connect from the windows client I get the errormessage:
unable to connect to host: Connection refused (10061)

What did I do wrong.

Thanks in advance
 
I think it is either a library missing issue or path setting!

Could you verify that this file '/home/root/.Xresources' is there and accessible by the application?

Could you post the output of

echo $PATH

regards,
Khalid
 
Here is the requisted output:

root@zlmota(/home/root)# ls -l /home/root/.Xresources
ls: 0653-341 The file /home/root/.Xresources does not exist.
root@zlmota(/home/root)# echo $PATH
/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin:/usr/local/bin


De file .Xresources is missing... how can I create it???
 
Yes openssh is installed... That is working fine..
 
Because one way , you can use VNC from your PC is to tunnel it via ssh on port 22 and use vncviewer on your PC
If you connect via a firewall and use ssh successfully vnc connection will work by tunnelling onto ssh port 22
if you want to try that way we can tell you otherwise it may be worth pursuing the other suggestions
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top