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

X11 Fehler beim Starten #3

Closed
alex1702 opened this issue Oct 27, 2016 · 3 comments
Closed

X11 Fehler beim Starten #3

alex1702 opened this issue Oct 27, 2016 · 3 comments
Assignees
Labels

Comments

@alex1702
Copy link
Member

Folgender Fehler:
X11 connection rejected because of wrong authentication. Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65) at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:115) at java.security.AccessController.doPrivileged(Native Method) at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82) at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:126) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at java.awt.Toolkit$2.run(Toolkit.java:860) at java.awt.Toolkit$2.run(Toolkit.java:855) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854) at java.awt.Toolkit.getEventQueue(Toolkit.java:1734) at java.awt.EventQueue.invokeLater(EventQueue.java:1266) at mServer.Main.main(Main.java:38)
Umstieg auf normale Threads

@Nicklas2751
Copy link
Member

Nicklas2751 commented Oct 27, 2016

Hmm looks like Xaver uses a AWT class to run the code in a new thread.

I think it should be fixed if we just run the code in a normal new thread. Or not? @xaverW

@alex1702
Copy link
Member Author

Später sollte diese X-Server abhängigkeit aus dem MServer rausfliegen.
Als Workaround gilt im moment eine Video virtualisierung zu aktivieren, falls man den Server in einer KVM oder anderen Virtualisierunglösung laufen lässt.

@alex1702
Copy link
Member Author

geschlossen mit commit 46f588d

@criztovyl criztovyl changed the title X11 Fehler beim starten X11 Fehler beim Starten Nov 15, 2016
pidoubleyou pushed a commit that referenced this issue Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants