i am make the efforts to install a program on RedHAt7 utilizing ssh / connecting come server. I received the calculation the following

Exception in subject "main" java.lang.ExceptionInInitializerError at org.greenstone.gatherer.Gatherer.init(Gatherer.java:284) in ~ org.greenstone.gatherer.Gatherer.(Gatherer.java:234) at org.greenstone.gatherer.GathererProg.main(GathererProg.java:78)Caused by: java.awt.HeadlessException: No X11 display screen variable to be set, however this regime performed an procedure which requires it. In ~ sun.awt.HeadlessToolkit.getScreenSize(Unknown Source) at org.greenstone.gatherer.Configuration.(Configuration.java:111) ... 3 moreHow to fix X11 Display?


*

*

If X server is to run on the target host and also you desire the program to display there, friend usually do "export DISPLAY=:0" wherein :0 would median the an initial X server running. If you space running number of X servers (for instance Xvnc) on the target host, :0 may come to be :1 or an additional number, relying on X server configuration.

You are watching: No x11 display variable was set, but this program performed an operation which requires it.

If you have X server running locally (the an equipment you room connecting from) you could use "ssh -X ..." or "ssh -Y" to log in in to the host and also forward your display to the program run remotely. See other answers top top redirecting X server end SSH.

Edit: Please inspect the price in the linked article.TL;DR:

Ensure xauth is installed on targetIn /etc/sshd_config collection X11Forwarding yesRun ssh v -vv to examine what is the problem, if any type of
*

Thanks because that contributing response to supervisor User!

Please be certain to answer the question. Administer details and share your research!

But avoid

Asking because that help, clarification, or responding to other answers.Making statements based on opinion; back them up with referrals or personal experience.

See more: Korean Numbers: 1 To 10 In Korean Taekwondo Numbers, Counting In Korean

To find out more, watch our advice on writing good answers.


article Your prize Discard

By click “Post your Answer”, girlfriend agree come our terms of service, privacy policy and cookie policy


Not the prize you're looking for? Browse other questions tagged ssh display java xorg or questioning your very own question.


exactly how do I solve a "cannot open display" error as soon as opening one X regimen after ssh'ing v X11 forwarding enabled?
*

site architecture / logo design © 2021 stack Exchange Inc; user contributions license is granted under cc by-sa. Rev2021.11.5.40661


Super User works ideal with JavaScript enabled
*

her privacy

By clicking “Accept every cookies”, friend agree stack Exchange have the right to store cookie on your machine and disclose info in accordance through our Cookie Policy.