Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259490 - net-misc/tightvnc: java server fails to install with java USE-flag enabled
Summary: net-misc/tightvnc: java server fails to install with java USE-flag enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Raúl Porcel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-18 15:37 UTC by Richard F. Ostrow Jr.
Modified: 2009-04-20 18:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to fix java USE-flag (tightvnc-1.3.9-r2.ebuild-java.patch,559 bytes, patch)
2009-02-18 15:38 UTC, Richard F. Ostrow Jr.
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Richard F. Ostrow Jr. 2009-02-18 15:37:14 UTC
The java server class files are not installed with the java USE flag enabled. These class files are needed by the vncserver script to listen on port 58xx (xx being the session number). Attached is an ebuild patch that corrects this problem (tested on my own machine)

Reproducible: Always

Steps to Reproduce:
1. Install tightvnc-1.3.9-r2 with java USE flag enabled
2. start vncserver
3. connect to server with a web browser on port 5800

Actual Results:  
You will get a "not found" error on your web browser

Expected Results:  
Should see a logon page in the web browser

The class files are installed in /usr/share/tightvnc/classes. vncserver script was already configured to look there, but the class files were missing.
Comment 1 Richard F. Ostrow Jr. 2009-02-18 15:38:09 UTC
Created attachment 182434 [details, diff]
patch to fix java USE-flag
Comment 2 Wormo (RETIRED) gentoo-dev 2009-02-19 01:35:39 UTC
Thanks for submitting your fix! Assigning to maintainer.
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2009-04-18 17:40:17 UTC
Serkan: fix
Comment 4 Serkan Kaba (RETIRED) gentoo-dev 2009-04-19 19:38:24 UTC
I couldnt get it working with your patch either. Are any configuration changes needed to get this running?
Comment 5 Richard F. Ostrow Jr. 2009-04-20 06:04:21 UTC
interesting... it works here. All I did was read the documentation on what was needed to get the java web server running... There shouldn't be any configuration steps, it's just plug-and-play (run vncserver on the host, and connect a web browser to port 5800 + screen number).

Did the patch change the behavior at all? Maybe you're running into more than one problem. In my case, all that was missing was the class files the original ebuild never installed.
Comment 6 Serkan Kaba (RETIRED) gentoo-dev 2009-04-20 07:39:48 UTC
Plus screen number (That's what I've missed) I'll retry (and retry my more optimum solution)

Thanks.
Comment 7 Serkan Kaba (RETIRED) gentoo-dev 2009-04-20 18:53:09 UTC
Fixed in CVS with revbumps for 1.3.9 and 1.3.10.

Thanks,
Serkan