please i'm connected to the server as simple user using my personal computer ,i try to execute a software (qualimap ) but it didn't work, it shows this error message
No protocol specified Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using ':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 java.awt.Window.initGC(Window.java:475)
at java.awt.Window.init(Window.java:495)
at java.awt.Window.<init>(Window.java:537)
at java.awt.Frame.<init>(Frame.java:420)
at javax.swing.JFrame.<init>(JFrame.java:233)
at org.bioinfo.ngs.qc.qualimap.gui.frames.HomeFrame.<init>(HomeFrame.java:153)
at org.bioinfo.ngs.qc.qualimap.main.NgsSmartMain.launchGUI(NgsSmartMain.java:170)
at
org.bioinfo.ngs.qc.qualimap.main.NgsSmartMain.main(NgsSmartMain.java:53)
how can solve that without using any sudo command because i can't run it Thank you
ssh
to connect. Usessh -Y hostname
to enable X11 forwarding from your local linux machine to the remote linux server. Then you should be able to run your application. You can also addForwardX11 yes
to your$HOME/.ssh/config
file (locally).-Y
? That should have enabledForwardAgent
. You're on Linux on both sides? Try adding a-v
tossh
. It will be verbose. You could also try this.