I have Java Installed.
java -version
java version "1.4.2_05"
Java(tm) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(tm) Client VM (build 1.4.2_05-b04, mixed mode)
I get the following error. I am loged in as su.
java -jar BroadbandUI.jar
Exception in thread "main" java.lang.InternalError: Can't connect to X11 windowserver using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:134)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at java.awt.Window.init(Window.java:231)
at java.awt.Window.(Window.java:275)
at java.awt.Frame.(Frame.java:401)
at java.awt.Frame.(Frame.java:366)
at javax.swing.JFrame.(JFrame.java:154)
at BroadbandUI.LoginWindow.(LoginWindow.java:20)
at BroadbandUI.LaunchDialer.main(LaunchDialer.java:86)
Can you please help me. I am trying to use it in SuSE 9.2 Linux version.
Originally posted by inetbum@Apr 10 2005, 11:43 PM
Nope it's not a simple shell script. The sifyd program which actually makes the connection is a compiled binary file that is a complete program. It is the sifyconnect file which reads the userid and password from the user and writes it to sifyd, which is a shel script.
Also sifyd is already made to be a service since sifyd stands for sify daemon (daemons are supposed to be services). Sifyd automatically gets started on starting up the linux system and it remains in the background. Thus it runs as a service.
Hey sifyfan, I agree a GUI could be made for the Sify client for linux. But in its absence you might like to check out the Sify client available for Macintoshes. It is graphical (rudimentary graphics but atleast they are there
😛 ) and since it is written in Java all it needs to run on a Linux system is JRE (Java Runtime Environment) installed.
You can see whether you have it installed already on your Linux system by running the command
or
.
If it's not installed, you can install it by going here.
[snapback]7835[/snapback]