Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#4534 - Missing java classes in tightvnc 1.2.9-3

Attached to Project: Arch Linux
Opened by Kevin Ellwood (iKevin) - Saturday, 29 April 2006, 13:06 GMT
Last edited by arjan timmerman (blaasvis) - Thursday, 25 May 2006, 14:26 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To dorphell (dorphell)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I just tried to use tightvnc to connect to a machine at work wherein I am forced to use the java client through port 5801. After many failed attempts to connect, I checked the vnc log file at work (an ARCH box) and found that the connection was made, however, the file 'index.vnc' could not be found.

Using Google I found the tightvnc comes with a bunch of java classes for use in displaying desktops in a web browser and they are missing in the Archlinux package. Listing the arch package for tightvnc shows:

[root@delos ~]# pacman -Ql tightvnc
tightvnc /usr/
tightvnc /usr/bin/
tightvnc /usr/bin/Xvnc
tightvnc /usr/bin/vncconnect
tightvnc /usr/bin/vncpasswd
tightvnc /usr/bin/vncserver
tightvnc /usr/bin/vncviewer
tightvnc /usr/man/
tightvnc /usr/man/man1/
tightvnc /usr/man/man1/Xvnc.1.gz
tightvnc /usr/man/man1/vncconnect.1.gz
tightvnc /usr/man/man1/vncpasswd.1.gz
tightvnc /usr/man/man1/vncserver.1.gz
tightvnc /usr/man/man1/vncviewer.1.gz

There are a bunch of java classes that should be installed like these from a SUSE rpm

/usr/share/vnc/classes
/usr/share/vnc/classes/AuthPanel.class
/usr/share/vnc/classes/ButtonPanel.class
/usr/share/vnc/classes/ClipboardFrame.class
/usr/share/vnc/classes/DesCipher.class
/usr/share/vnc/classes/HTTPConnectSocket.class
/usr/share/vnc/classes/HTTPConnectSocketFactory.class
/usr/share/vnc/classes/OptionsFrame.class
/usr/share/vnc/classes/RecordingFrame.class
/usr/share/vnc/classes/ReloginPanel.class
/usr/share/vnc/classes/RfbProto.class
/usr/share/vnc/classes/SessionRecorder.class
/usr/share/vnc/classes/SocketFactory.class
/usr/share/vnc/classes/VncCanvas.class
/usr/share/vnc/classes/VncViewer.class
/usr/share/vnc/classes/VncViewer.jar
/usr/share/vnc/classes/index.vnc
This task depends upon

Closed by  arjan timmerman (blaasvis)
Thursday, 22 June 2006, 13:11 GMT
Reason for closing:  Fixed
Additional comments about closing:  added in -4 which is in testing
Comment by Kevin Ellwood (iKevin) - Saturday, 29 April 2006, 14:19 GMT
I read the README from tightvnc and this is what needs to be done.

FROM THE README

If you want to use the Java VNC viewer, you should copy the class files from
the classes directory to some suitable installation directory such as
/usr/local/vnc/classes:

% mkdir -p /usr/local/vnc/classes
% cp classes/* /usr/local/vnc/classes

We recommend that you use the vncserver script to run Xvnc for you. You can
edit the script as appropriate for your site. Things you may need to change
include:

* The location of Perl - if Perl is not installed in /usr/bin you'll need
to edit the "#!/usr/bin/perl" first line of vncserver.

* $vncClasses - this specifies the location of the Java classes for
the VNC viewer applet. The default is /usr/local/vnc/classes.
Comment by Kevin Ellwood (iKevin) - Saturday, 29 April 2006, 18:40 GMT
Hi Again

The only changes needed to the PKGBUILD are shown below.

mkdir -p $startdir/pkg/usr/share/vnc/classes
install -D -m644 $startdir/src/vnc_unixsrc/classes/* $startdir/pkg/usr/share/vnc/classes

Loading...