Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work for Linux #39

Open
iBuseWinner opened this issue Apr 10, 2020 · 5 comments
Open

Doesn't work for Linux #39

iBuseWinner opened this issue Apr 10, 2020 · 5 comments
Labels
bug Something isn't working

Comments

@iBuseWinner
Copy link

Hi, I have an error in console when trying to launch bots from my VDS.

Apr 11, 2020 12:06:17 AM com.github.games647.lambdaattack.LambdaAttack lambda$main$0 SEVERE: null java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable. at java.desktop/sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at java.desktop/sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:102) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.desktop/sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:61) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:315) at java.desktop/java.awt.GraphicsEnvironment$LocalGE.createGE(GraphicsEnvironment.java:101) at java.desktop/java.awt.GraphicsEnvironment$LocalGE.<clinit>(GraphicsEnvironment.java:83) at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:129) at java.desktop/java.awt.Window.initGC(Window.java:487) at java.desktop/java.awt.Window.init(Window.java:507) at java.desktop/java.awt.Window.<init>(Window.java:549) at java.desktop/java.awt.Frame.<init>(Frame.java:423) at java.desktop/javax.swing.JFrame.<init>(JFrame.java:224) at com.github.games647.lambdaattack.gui.MainGui.<init>(MainGui.java:31) at com.github.games647.lambdaattack.LambdaAttack.main(LambdaAttack.java:37)

@games647
Copy link
Owner

Which display server do you use? Is it possible that you use Wayland?

@iBuseWinner
Copy link
Author

Do I need to use Wayland to run this program?

@games647
Copy link
Owner

No, but I thought you were using it. Please check if the display variable is correctly pointing to the correct display server connection.

@ghost
Copy link

ghost commented Apr 19, 2020

I kinda thought you were supposed to be able to run it without any graphical interface?
I followed your instructions in the "Command Line Usage" section to run LambdaAttack without a GUI, but I've received a very similar error.
No X11 DISPLAY variable was set, but this program performed an operation which requires it.

I have no display server installed and I'm not planning on doing so anytime soon.
I'm not sure what caused this error, but running without a GUI shouldn't require a display server I guess.

@games647 games647 added the bug Something isn't working label Apr 20, 2020
@games647
Copy link
Owner

I kinda thought you were supposed to be able to run it without any graphical interface?

No it's not required, but I didn't know that the first post is about running it from the command line. I thought it's about running it using the GUI with X11-Forwarding, since it mentions the display variable.

I have no display server installed and I'm not planning on doing so anytime soon.
I'm not sure what caused this error, but running without a GUI shouldn't require a display server I guess.

I guess you are running the version from the releases page? Then it's very outdated. It doesn't contain the newest changes. I'll make a new release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants