Solved Problems with installing tightvnc

Hi,

i'm using FreeBSD 11.1-Stable and tried to install tightvnc.

After ... cd /usr/ports/net/tightvnc
then ... make install

i got an amount of messages and selection boxes... but then the error




some other messages before

===> p5-Locale-gettext-1.07 depends on executable: msgfmt - found
===> p5-Locale-gettext-1.07 depends on package: perl5>=5.24<5.25 - found
===> p5-Locale-gettext-1.07 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===> Configuring for p5-Locale-gettext-1.07
env: /usr/local/bin/perl5.24.1: No such file or directory
*** Error code 127
Stop.
make[11]: stopped in /usr/ports/devel/p5-Locale-gettext
*** Error code 1
Stop.
make[10]: stopped in /usr/ports/misc/help2man
*** Error code 1
Stop.
make[9]: stopped in /usr/ports/misc/help2man
*** Error code 1
Stop.
make[8]: stopped in /usr/ports/print/texinfo
*** Error code 1
Stop.
make[7]: stopped in /usr/ports/print/texinfo
*** Error code 1
Stop.
make[6]: stopped in /usr/ports/devel/m4
*** Error code 1
Stop.
make[5]: stopped in /usr/ports/devel/m4
*** Error code 1
Stop.
make[4]: stopped in /usr/ports/devel/autoconf
*** Error code 1
Stop.
make[3]: stopped in /usr/ports/java/openjdk8
*** Error code 1
Stop.
make[2]: stopped in /usr/ports/java/openjdk8
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/net/tightvnc
*** Error code 1
Stop.
make: stopped in /usr/ports/net/tightvnc
root@freeBSD:/usr/ports/net/tightvnc #

I'm a newbee so i can't find an solution what to do with the error message

'===> Configuring for p5-Locale-gettext-1.07
env: /usr/local/bin/perl5.24.1: No such file or directory'

Thanks for your help
 
Unless you want to enable (or disable) various options I recommend you use packages instead.

pkg install tightvnc
 
Hi SirDice,

this was very good.

The server is running and i can connect.

Code:
28/03/18 07:25:48 Xvnc version TightVNC-1.3.10
28/03/18 07:25:48 Copyright (C) 2000-2009 TightVNC Group
28/03/18 07:25:48 Copyright (C) 1999 AT&T Laboratories Cambridge
28/03/18 07:25:48 All Rights Reserved.
28/03/18 07:25:48 See [URL]http://www.tightvnc.com/[/URL] for information on TightVNC
28/03/18 07:25:48 Desktop name 'X' (freeBSD:1)
28/03/18 07:25:48 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
28/03/18 07:25:48 Listening for VNC connections on TCP port 5901
28/03/18 07:25:48 Listening for HTTP connections on TCP port 5801
28/03/18 07:25:48   URL [URL]http://freeBSD:5801[/URL]
/root/.vnc/xstartup: xrdb: not found
/root/.vnc/xstartup: xsetroot: not found
/root/.vnc/xstartup: vncserrver: not found
/root/.vnc/xstartup: twm: not found
28/03/18 07:27:03 httpd: get '' for 192.168.150.85
28/03/18 07:27:03 httpd: defaulting to 'index.vnc'
28/03/18 07:27:03 httpProcessInput: open: No such file or directory
28/03/18 07:27:03 httpd: get 'favicon.ico' for 192.168.150.85
28/03/18 07:27:03 httpProcessInput: open: No such file or directory

28/03/18 07:28:56 Got connection from client 192.168.150.85
28/03/18 07:28:56 Using protocol version 3.8
28/03/18 07:29:08 Full-control authentication passed by 192.168.150.85
28/03/18 07:29:08 Pixel format for client 192.168.150.85:
28/03/18 07:29:08   8 bpp, depth 8
28/03/18 07:29:08   true colour: max r 7 g 7 b 3, shift r 0 g 3 b 6
28/03/18 07:29:08 Using tight encoding for client 192.168.150.85
28/03/18 07:29:08 rfbProcessClientNormalMessage: ignoring unknown encoding 16
28/03/18 07:29:08 rfbProcessClientNormalMessage: ignoring unknown encoding 9
28/03/18 07:29:08 rfbProcessClientNormalMessage: ignoring unknown encoding -65527
28/03/18 07:29:08 Using compression level 9 for client 192.168.150.85
28/03/18 07:29:08 Using image quality level 0 for client 192.168.150.85
28/03/18 07:29:08 Enabling X-style cursor updates for client 192.168.150.85
28/03/18 07:29:08 Enabling cursor position updates for client 192.168.150.85
28/03/18 07:29:08 rfbProcessClientNormalMessage: ignoring unknown encoding -131072
28/03/18 07:29:08 rfbProcessClientNormalMessage: ignoring unknown encoding -223
28/03/18 07:29:08 Enabling LastRect protocol extension for client 192.168.150.85
28/03/18 07:29:08 rfbProcessClientNormalMessage: ignoring unknown encoding -131071
28/03/18 07:29:08 rfbProcessClientNormalMessage: ignoring unknown encoding -131070
28/03/18 07:29:08 rfbProcessClientNormalMessage: ignoring unknown encoding -131069


The four messages of the log make me unhappy

Code:
/root/.vnc/xstartup: xrdb: not found
/root/.vnc/xstartup: xsetroot: not found
/root/.vnc/xstartup: vncserrver: not found
/root/.vnc/xstartup: twm: not found

I have to get a graphical interface. Can it work that way?

thanks

OLLI
 
Don't run this as root, use a normal user account. And the errors are because you don't have a complete Xorg installation and the VNC startup scripts expects to use parts of it (like TWM).
 
Back
Top