Dear all,

I have set up collect (version 4.0.102) on a linux server. NAME="Ubuntu" VERSION="20.04.6 LTS (Focal Fossa)"

I start the executable with ./OpenForisCollect-launcher.run

It works well, but sometime I need to start collect from ssh connexion, for example after that I reboot the server. I am struggling, because Collect require a display to run and with ssh, there are no display.

I got the following message: ./OpenForisCollect-launcher.run Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it.

I tried to set a DISPLAY, with Xvfb for example, but it did not work:

Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using 'localhost:10' as the value of the DISPLAY variable.

So my question, is there a way to start collect without any display? If I understand well, the display is only required for the window that tell us that collect is running.

I thank you in advance for any help. Jonathan Lisein

asked yesterday

JoLeBelge's gravatar image

JoLeBelge
111
accept rate: 0%


My IT specialist found the following solution.

run with virtual X11 with xvfb:

xvfb-run ./OpenForisCollect-launcher.run &
permanent link

answered yesterday

JoLeBelge's gravatar image

JoLeBelge
111
accept rate: 0%

Dear Jonathan,
The solution you proposed should work.
However, if you are running Collect in a server and you need it to be accessible to multiple users at the same time, you should consider a proper server installation of Collect.
Try to follow the instructions in the user manual or in this question in the support forum: Setup Collect Desktop in a server for a multi-user environment
Thanks,
Open Foris Team

permanent link

answered 12 hours ago

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
5.2k119
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×497

question asked: yesterday

question was seen: 50 times

last updated: 12 hours ago