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.
Created attachment 182434 [details, diff] patch to fix java USE-flag
Thanks for submitting your fix! Assigning to maintainer.
Serkan: fix
I couldnt get it working with your patch either. Are any configuration changes needed to get this running?
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.
Plus screen number (That's what I've missed) I'll retry (and retry my more optimum solution) Thanks.
Fixed in CVS with revbumps for 1.3.9 and 1.3.10. Thanks, Serkan