topic title: VNC install help
Posts: 3
albgk
Joined: 13 Jul 2010
#1
Hi guys...

DISCLAIMER: I am a N33wB when it comes to Linux/antiX, I know very few commands, so bear with me

So im trying to install a VNC client on antiX so I can view my Linux machine on my Windows Machine...

So I tried both TightVNC and x11vnc and this is what happend...

First TightVNC:

1. I first used $ su to change to root, then I extracted file to the /usr/src/ directory

2. after it extracted i used #cd into the dir and used # xmkmf and it gave me 2 missing dir errors and some Implicit Declaration warnings and then said aborted

3. Then I did # make World and it said"*** No Rule to Make Target"World". Stop.

Now With x11vnc:

1. I first used $ su to change to root, then I extracted file to the /usr/src/ directory

2. after it extracted i used #cd into the dir and used #./configure and it said unable to write executables and told me to read the configure.log

3. so i did and this is what it said:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by x11vnc configure 0.9.10, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = Austin
uname -m = i686
uname -r = 2.6.32-1-mepis-smp
uname -s = Linux
uname -v = #1 SMP PREEMPT Wed Apr 7 22:08:34 EDT 2010

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1399: checking for a BSD-compatible install
configure:1454: result: /usr/bin/install -c
configure:1465: checking whether build environment is sane
configure:1508: result: yes
configure:1573: checking for gawk
configure:1589: found /usr/bin/gawk
configure:1599: result: gawk
configure:1609: checking whether make sets $(MAKE)
configure:1629: result: yes
configure:1852: checking for gcc
configure:1868: found /usr/bin/gcc
configure:1878: result: gcc
configure:2122: checking for C compiler version
configure:2125: gcc --version </dev/null >&5
gcc (Debian 4.4.2-9) 4.4.3 20100108 (prerelease)
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2128: $? = 0
configure:2130: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.2-9' --with-b
ugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran
,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-b
uild-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --en
able-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=
-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--enable-targets=all --with-arch-32=i486 --with-tune=generic --enable-checking=
release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.3 20100108 (prerelease) (Debian 4.4.2-9)
configure:2133: $? = 0
configure:2135: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2138: $? = 1
configure:2161: checking for C compiler default output file name
configure:2164: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2167: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME"x11vnc"
| #define PACKAGE_TARNAME"x11vnc"
| #define PACKAGE_VERSION"0.9.10"
| #define PACKAGE_STRING"x11vnc 0.9.10"
| #define PACKAGE_BUGREPORT"
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://sourceforge.net/projects/libvncserver"
linktext was:"http://sourceforge.net/projects/libvncserver"
====================================
"
| #define PACKAGE"x11vnc"
| #define VERSION"0.9.10"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2206: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /usr/src/x11vnc-0.9.10/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/src/x11vnc-0.9.10/missing --run tar'
AR=''
AUTOCONF='${SHELL} /usr/src/x11vnc-0.9.10/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/src/x11vnc-0.9.10/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/src/x11vnc-0.9.10/missing --run automake-1.9'
AVAHI_CFLAGS=''
AVAHI_LIBS=''
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CRYPT_LIBS=''
CYGIPC_FALSE=''
CYGIPC_TRUE=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
HAVE_LIBJPEG_FALSE=''
HAVE_LIBJPEG_TRUE=''
HAVE_LIBPTHREAD_FALSE=''
HAVE_LIBPTHREAD_TRUE=''
HAVE_LIBSDL_FALSE=''
HAVE_LIBSDL_TRUE=''
HAVE_LIBZ_FALSE=''
HAVE_LIBZ_TRUE=''
HAVE_MP3LAME_FALSE=''
HAVE_MP3LAME_TRUE=''
HAVE_RPM_FALSE=''
HAVE_RPM_TRUE=''
HAVE_SYSTEM_LIBVNCSERVER_FALSE=''
HAVE_SYSTEM_LIBVNCSERVER_TRUE=''
HAVE_X11_FALSE=''
HAVE_X11_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LINUX_FALSE=''
LINUX_TRUE=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /usr/src/x11vnc-0.9.10/missing --run makeinfo'
MINGW_FALSE=''
MINGW_TRUE=''
OBJEXT=''
OSX_FALSE=''
OSX_TRUE=''
PACKAGE='x11vnc'
PACKAGE_BUGREPORT='
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://sourceforge.net/projects/libvncserver"
linktext was:"http://sourceforge.net/projects/libvncserver"
====================================
'
PACKAGE_NAME='x11vnc'
PACKAGE_STRING='x11vnc 0.9.10'
PACKAGE_TARNAME='x11vnc'
PACKAGE_VERSION='0.9.10'
PATH_SEPARATOR=':'
RANLIB=''
RPMSOURCEDIR=''
SDL_CFLAGS=''
SDL_LIBS=''
SET_MAKE=''
SHELL='/bin/bash'
SSL_LIBS=''
STRIP=''
SYSTEM_LIBVNCSERVER_CFLAGS=''
SYSTEM_LIBVNCSERVER_LIBS=''
VERSION='0.9.10'
WITH_FFMPEG_FALSE=''
WITH_FFMPEG_TRUE=''
WITH_TIGHTVNC_FILETRANSFER_FALSE=''
WITH_TIGHTVNC_FILETRANSFER_TRUE=''
WITH_X11VNC_FALSE=''
WITH_X11VNC_TRUE=''
WSOCKLIB=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC='gcc'
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof -"$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/usr/src/x11vnc-0.9.10/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
with_ffmpeg=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE"x11vnc"
#define PACKAGE_BUGREPORT"
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://sourceforge.net/projects/libvncserver"
linktext was:"http://sourceforge.net/projects/libvncserver"
====================================
"
#define PACKAGE_NAME"x11vnc"
#define PACKAGE_STRING"x11vnc 0.9.10"
#define PACKAGE_TARNAME"x11vnc"
#define PACKAGE_VERSION"0.9.10"
#define VERSION"0.9.10"

configure: exit 77




please helpme

Thanks
Posts: 903
plvera
Joined: 11 Oct 2008
#2
Since those packages are found in the repositories, it might be easier to use Synaptic or apt-get (from terminal as root) to install them.

For synaptic, click on control center > system > Manage packages (at least on 8.2; may have changed for 8.5)

Hope this helps, good luck!
Posts: 3
albgk
Joined: 13 Jul 2010
#3
Thanks,

I tried what you said first by apt-get for the x11vnc and got the following errors

Errors were encountered while processing
wicd- daemon
wicd- gtk
wicd- curses
wicd

E: Sub-process /usr/bin/dpkg returned an error code (1)

So I tried istalling tightVNC using synaptic and it gave me an error code very similar to that one, and I clicked the details option and found out that it was infact the same error...

Please help,

Thanks in advance
Posts: 903
plvera
Joined: 11 Oct 2008
#4
There's something wrong with the wicd packages. I get the errors too but it does not seem to make a difference. Is VNC working for you?
Posts: 3
albgk
Joined: 13 Jul 2010
#5
I got VNC installed but i do not know how to run it... Any help for me on that one?

Also I fixed the wicd problem

I made a user account named demo by using # adduser demo (while i was in root ofcourse)...

after I created the demo user account, I was able to install without a problem but I dont know how to run VNC
Posts: 903
plvera
Joined: 11 Oct 2008
#6
Sorry. I don't have any experience with vnc. I found this link though, and there were lots of others that might help


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.yolinux.com/TUTORIALS/VNC.html"
linktext was:"http://www.yolinux.com/TUTORIALS/VNC.html"
====================================


good luck!
Posts: 1,062
Dave
Joined: 20 Jan 2010
#7
I used synaptic to install vnc4server on the server machine and xvnc4viewer on the other computer also using antix. This had worked for me in a local system, but i am not sure how to make it work over the internet yet. Any way after installing these on the computer that I had installed xvnc4viewer on I would type exactly that and then add a space and type the local IP address of the server. This then prompted me for a password that has been set up when installing vnc4server on the server. I entered that password and it had worked. I do not have much of a use for local vnc but it may help you. If you later figure out how to make it work over the internet I would like to know, until then I will keep seeing how to set it up, posting it here if I find out.
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#8
The vnc server must be already running on the box you want to connect to. The man page for vncserver is pretty good to help you set it up.

I use Gvncviewer to view. To start it I run:

gvncviewer server:1

This will connect to"server' and use X server"1" which is the second xserver running on the server. You will be asked for a password.