Problems with vnc on AIX

Garrett D. Glassen gglassen "at" mhpcc.edu
Sat, 30 Jun 2001 00:01:11 +0000


I am having problems with building and running xVNC 3.3.3r2 on AIX.  I
installed the patch from Chuck Hines and tried compiling the source
code.  The only problem that I had during the compile was that when the
Makefile in the Xvnc/programs/Xserver/hw/ directory was run, it would
stop with the errors:

cleaning in programs/Xserver/hw/vnc...
"Makefile", line 548: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 551: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 554: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 556: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 559: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 561: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 563: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 569: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 570: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 571: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 572: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 573: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 574: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 575: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 606: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 615: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 617: make: 1254-055 Dependency line needs colon or
double colon operator.
make: 1254-058 Fatal errors encountered -- cannot continue.
make: 1254-004 The error code from the last command is 2.

I found that some tabs were missing in the Makefile and that some extra
stuff was added to the end of the file .  I added the tabs and deleted
the extra stuff that Imakefile had added.  I'm not sure if this was
correct but make was able to run correctly and Xvnc got built.

My next problem was running vncserver.  At first it could not find the
Speedo font directory (it was not loaded in the default directory with
the rest of the fonts) so put the Speedo directory with the fonts in my
xvnc directory and I edited  the line in vncserver from:
# $cmd .= " -fp /usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/";

to:
$cmd .= " -fp
/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/,/projects/maitai/utils/xvcn/Speedo";

Now when I run vncserver, the .vnc/akamai:1.log states:

29/06/01 12:11:01 Xvnc version 3.3.3.3
29/06/01 12:11:01 Copyright (C) AT&T Laboratories Cambridge.
29/06/01 12:11:01 All Rights Reserved.
29/06/01 12:11:01 See http://www.uk.research.att.com/vnc for information
on VNC
29/06/01 12:11:01 Desktop name 'X' (akamai:1)
29/06/01 12:11:01 Protocol version supported 3.3
29/06/01 12:11:01 Listening for VNC connections on TCP port 5901
29/06/01 12:11:01 Listening for HTTP connections on TCP port 5801
29/06/01 12:11:01   URL http://akamai:5801
xrdb: A remote host refused an attempted connect operation.
1356-605 xrdb: Can't open display 'akamai:1'
1356-265 xsetroot:  Unable to open display:  akamai:1.
twm:  unable to open display "akamai:1"
xterm Xt error: Can't open display: akamai:1

and a ps auwx  doesn't show that xvnc is running.

Thanks for any help in advance.

Garrett Glassen
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------