# Installation on a cluster

**URL:** <https://vapor.discourse.group/t/installation-on-a-cluster/52>\
**Category:** Uncategorized\
**Created:** [February 17, 2021, 2:07pm UTC](https://vapor.discourse.group/t/installation-on-a-cluster/52 "2021-02-17T14:07:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bclaremar](https://avatars.discourse-cdn.com/v4/letter/b/da6949/32.png) [@bclaremar](https://vapor.discourse.group/u/bclaremar)\
**Post date:** [February 17, 2021, 2:07pm UTC](https://vapor.discourse.group/t/installation-on-a-cluster/52/1 "2021-02-17T14:07:19Z")

</div>

Hi!

I have installed Vapor/3.2 and 3.3 on a linux cluster and have problems with the graphics. It works fine with the same nc files using the windows installation.  
I suspected it had to do with -X or -Y forwarding but that is not the solution, what I have seen so far. Also

Some errors seen:  
From Windows using mobaxterm:

`QEGLPlatformContext: Failed to create context: 3009`

From MAC using xterm/Xquartz:  
`qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.`

Earlier, errors with openGL has shown up.

Do you know if this is quickly fixed or if earlier versions, like Vapor/2 may work?

Best regards  
Björn

---

<div class="post-metadata">

**Author:** ![sam](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@sam](https://vapor.discourse.group/u/sam)\
**Post date:** [February 18, 2021, 6:27pm UTC](https://vapor.discourse.group/t/installation-on-a-cluster/52/2 "2021-02-18T18:27:55Z")

</div>

Hello Björn,

VAPOR requires OpenGL thus X-forwarding won’t work. For Linux installations, you have 2 options:

1. sit in front of a monitor that’s directly connected to the Linux server;
2. utilize a remote desktop environment that’s capable of making use of OpenGL on the server. In our experience, the [TurboVNC](https://www.turbovnc.org/) coupled with [VirtualGL](https://virtualgl.org/) works well.

Please let us know if this solution works for you!

Best,  
Sam

---

<div class="post-metadata">

**Author:** ![bclaremar](https://avatars.discourse-cdn.com/v4/letter/b/da6949/32.png) [@bclaremar](https://vapor.discourse.group/u/bclaremar)\
**Post date:** [February 19, 2021, 12:48pm UTC](https://vapor.discourse.group/t/installation-on-a-cluster/52/3 "2021-02-19T12:48:06Z")

</div>

Thank you for your reply!

Actually we were very close to this.

We had a wrapper and now, after removing some if statements regarding architecture it runs with the bash script vapor, where vapor.real is the original binary.

`runname="$0.real"`  
` vglrun -c proxy "$runname" "$@"`  
#"$@" should not be necessary for just starting vapor

This works from thinlinc, mobaxterm and in mac terminal with ssh -Y (vapor opens in XQuartz).

Best regards  
Björn

---

<div class="post-metadata">

**Author:** ![sam](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@sam](https://vapor.discourse.group/u/sam)\
**Post date:** [February 19, 2021, 6:52pm UTC](https://vapor.discourse.group/t/installation-on-a-cluster/52/4 "2021-02-19T18:52:32Z")

</div>

Hi Björn,

That’s a way to use vAPOR that I’m not aware of. Glad it finally works in your environment!

Best,  
Sam
