# Error launching via VDI-in-a-box on a Linux thin client

**URL:** <https://forum.inductiveautomation.com/t/error-launching-via-vdi-in-a-box-on-a-linux-thin-client/8773>\
**Category:** Archived Topics\
**Created:** [July 22, 2014, 8:11pm UTC](https://forum.inductiveautomation.com/t/error-launching-via-vdi-in-a-box-on-a-linux-thin-client/8773 "2014-07-22T20:11:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![igniteme](https://avatars.discourse-cdn.com/v4/letter/i/9f8e36/32.png) [@igniteme](https://forum.inductiveautomation.com/u/igniteme)\
**Post date:** [July 22, 2014, 8:11pm UTC](https://forum.inductiveautomation.com/t/error-launching-via-vdi-in-a-box-on-a-linux-thin-client/8773/1 "2014-07-22T20:11:44Z")

</div>

Our projects launch fine on Windows workstations but if I try to launch the JNLP using VDI on a thin client (detos) I get the following error.

Any help appreciated.  
Thank you

java.io.IOException: Cannot run program “/opt/java”: java.io.IOException: error=13, Permission denied  
at java.lang.ProcessBuilder.start(Unknown Source)  
at java.lang.Runtime.exec(Unknown Source)  
at java.lang.Runtime.exec(Unknown Source)  
at com.sun.javaws.JnlpxArgs.execProgram(Unknown Source)  
at com.sun.javaws.Launcher.prepareResources(Unknown Source)  
at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)  
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)  
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)  
at com.sun.javaws.Launcher.launch(Unknown Source)  
at com.sun.javaws.Main.launchApp(Unknown Source)  
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)  
at com.sun.javaws.Main$1.run(Unknown Source)  
at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: java.io.IOException: error=13, Permission denied  
at java.lang.UNIXProcess.(Unknown Source)  
at java.lang.ProcessImpl.start(Unknown Source)  
… 13 more

---

<div class="post-metadata">

**Author:** ![mgross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mgross/32/3311_2.png) [@mgross](https://forum.inductiveautomation.com/u/mgross)\
**Post date:** [July 23, 2014, 2:22pm UTC](https://forum.inductiveautomation.com/t/error-launching-via-vdi-in-a-box-on-a-linux-thin-client/8773/2 "2014-07-23T14:22:27Z")

</div>

Can you run Java in general on that box? What do you get if you run:

```auto
java -version
```

---

<div class="post-metadata">

**Author:** ![igniteme](https://avatars.discourse-cdn.com/v4/letter/i/9f8e36/32.png) [@igniteme](https://forum.inductiveautomation.com/u/igniteme)\
**Post date:** [July 23, 2014, 4:20pm UTC](https://forum.inductiveautomation.com/t/error-launching-via-vdi-in-a-box-on-a-linux-thin-client/8773/3 "2014-07-23T16:20:47Z")

</div>

java version “1.6.0\_26”  
Java™ SE Runtime Environment (build 1.6.0\_26-b03)  
Java HotSpot™ Client VM (build 20.1-b02, mixed mode)

Java attempts to launch but throws the permission denied exception.

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![mgross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mgross/32/3311_2.png) [@mgross](https://forum.inductiveautomation.com/u/mgross)\
**Post date:** [July 24, 2014, 1:47pm UTC](https://forum.inductiveautomation.com/t/error-launching-via-vdi-in-a-box-on-a-linux-thin-client/8773/4 "2014-07-24T13:47:07Z")

</div>

It sounds like some strange problem with JNLP. I would try using the Linux native launcher instead (available under the Native Client Launchers section of the Gateway home page). This will bypass the entire JNLP system when launching a client or designer. JNLP is a fickle beast, especially on non-Windows systems.
