Skip to main content

Does nothing?!

4 replies [Last post]
chilled_bassist
Offline
Joined: 2004-06-29

I've installed the various packages as described, with no problem, however when I run lg3d-dev, i simply get the pid printed out, then it exits. This is on RH9.1, athlonXP1700, NVIDIA geforce2MX, 512Mb Ram. I also get a grey screen, and frozen curson if i try running from the shell (lg3d-session). Any ideas on what i should try? No clues in the log file either.
TIA
Steve

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
paulby
Offline
Joined: 2003-06-13

I've fixed this in the dev-0-5-1 branch, defaults to port 44816 and allows you to change this defaul in the config file.

maximus2000
Offline
Joined: 2004-07-01

I am also getting the same issue as you on RedHat 9.1 Have you solved this issue yet? If so could you post your solution.

bears
Offline
Joined: 2004-07-04

I had this issue as well, running on Debian using NVIDIA's latest drivers (from June 30th). If the cause for you was the same, the following may help...

I tried modifying the lg3d-dev script to put out all the intermediate ENV variables. Once I had got them all present and correct, I removed the "tee" from the final statement that runs the environment, as this seems to gobble the output.

Then I got the PID printed out (for restarting the rmiregistry process) and then the error message below.

+-------------------------------------------------------+

Exception in thread "main" java.lang.RuntimeException: Unable to listen on Socket 5432
at org.jdesktop.lg3d.displayserver.socketconnector.ServerHandler$ConnectionManager.(ServerHandler.java:92)
at
blah blah blah
+-------------------------------------------------------+

A quick bit of digging with google to find who uses 5432 reveals that the Postgres database uses port 5432, as I'm sure some more seasoned individuals already knew.

I guess that the guys developing this had no software loaded that needs to use Postgres (so this didn't affect them), and just chose a memorable number.

After I turned off Postgres ("/etc/init.d/postgresql stop" under Debian) and tried again, the windowed version loads a very pretty screen of the grand canyon. In a moment I will try the window manager version - I expect it to work as well...

For the record guys (i.e. the LG developers), the list of ports registered to other apps is held at

http://www.iana.org/assignments/port-numbers

You will note that ports from 49152 upward are available as dynamic or private ports. To avoid these sorts of problems, you should use these high ports for your listeners (unless you are replacing an existing service with an equivalent), or alternatively request registered ports from IANA.

Roger.

Paul Byrne

Roger,

Thanks for isolating this problem, we will update the docs immediately
and I've also filed a bug (issue #44) with your diagnosis so we don't
loose track.

In the short term I'll update the code to default to one of the higher
number ports (as we did with rmi) but we will also start the process to
register our own port.

Thanks for running this to ground, we really appreciate the support.

Rgds

Paul

On Thu, 2004-07-01 at 04:46, lg3d-interest@javadesktop.org wrote:
> I had this issue as well, running on Debian using NVIDIA's latest drivers (from June 30th). If the cause for you was the same, the following may help...
>
>
> I tried modifying the lg3d-dev script to put out all the intermediate ENV variables. Once I had got them all present and correct, I removed the "tee" from the final statement that runs the environment, as this seems to gobble the output.
>
> Then I got the PID printed out (for restarting the rmiregistry process) and then the error message below.
>
> +-------------------------------------------------------+
>
> Exception in thread "main" java.lang.RuntimeException: Unable to listen on Socket 5432
> at org.jdesktop.lg3d.displayserver.socketconnector.ServerHandler$ConnectionManager.(ServerHandler.java:92)
> at
> blah blah blah
> +-------------------------------------------------------+
>
> A quick bit of digging with google to find who uses 5432 reveals that the Postgres database uses port 5432, as I'm sure some more seasoned individuals already knew.
>
> I guess that the guys developing this had no software loaded that needs to use Postgres (so this didn't affect them), and just chose a memorable number.
>
> After I turned off Postgres ("/etc/init.d/postgresql stop" under Debian) and tried again, the windowed version loads a very pretty screen of the grand canyon. In a moment I will try the window manager version - I expect it to work as well...
>
>
> For the record guys (i.e. the LG developers), the list of ports registered to other apps is held at
>
> http://www.iana.org/assignments/port-numbers
>
> You will note that ports from 49152 upward are available as dynamic or private ports. To avoid these sorts of problems, you should use these high ports for your listeners (unless you are replacing an existing service with an equivalent), or alternatively request registered ports from IANA.
>
> Roger.
> ---
> [Message sent by forum member 'bears' (Roger Barrett)]
>
> http://www.javadesktop.org/forums/thread.jspa?messageID=13711?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
> For additional commands, e-mail: interest-help@lg3d.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
For additional commands, e-mail: interest-help@lg3d.dev.java.net