# URsim Boot issues with sudo - cannot load and save files, no controller found

**URL:** <https://forum.universal-robots.com/t/ursim-boot-issues-with-sudo-cannot-load-and-save-files-no-controller-found/6281>\
**Category:** URCap Development\
**Tags:** ursim, root\
**Created:** [February 6, 2020, 6:06pm UTC](https://forum.universal-robots.com/t/ursim-boot-issues-with-sudo-cannot-load-and-save-files-no-controller-found/6281 "2020-02-06T18:06:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon95301393](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@anon95301393](https://forum.universal-robots.com/u/anon95301393)\
**Post date:** [February 6, 2020, 6:06pm UTC](https://forum.universal-robots.com/t/ursim-boot-issues-with-sudo-cannot-load-and-save-files-no-controller-found/6281/1 "2020-02-06T18:06:49Z")

</div>

Hi,  
I installed URsim on Ubuntu 18.04.  
I changed my Java version from 11 into 8 so that I can install the simulation.  
After I installed it, I launched it using sudo ./start-ursim.sh  
GUI was open but the terminal showed that ‘WARN - Not connected to controller, trying to send string: stop program’  
Also, the message ’ could not save file ‘default, ensure the selected save directory exists’ appeared  
But, I can run the simulation and it looks it can work.  
However, when I tried to save the files(urp), it didn’t work at all.  
When I tried to make a new folder, ‘Exception Caught in Thread AWT-EventQueue-0’ message popped up.

How can I solve this problem?

---

<div class="post-metadata">

**Author:** ![jbm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/jbm/32/614_2.png) [@jbm](https://forum.universal-robots.com/u/jbm)\
**Post date:** [February 7, 2020, 8:23am UTC](https://forum.universal-robots.com/t/ursim-boot-issues-with-sudo-cannot-load-and-save-files-no-controller-found/6281/2 "2020-02-07T08:23:09Z")

</div>

You should not start the URSim as sudo.  
Run URSim as normal non-sudo user.

---

<div class="post-metadata">

**Author:** ![anon95301393](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@anon95301393](https://forum.universal-robots.com/u/anon95301393)\
**Post date:** [February 7, 2020, 6:05pm UTC](https://forum.universal-robots.com/t/ursim-boot-issues-with-sudo-cannot-load-and-save-files-no-controller-found/6281/3 "2020-02-07T18:05:12Z")

</div>

Thanks for your help. But, if I start without sudo, I got this message as below.

 ![nosudo_problem](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/3/31a63225cdf7bcb8ea68902e5274a7bf4ad6e22e.png)

How can I solve that?  
Should I change the other permission?

---

<div class="post-metadata">

**Author:** ![jbm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/jbm/32/614_2.png) [@jbm](https://forum.universal-robots.com/u/jbm)\
**Post date:** [February 10, 2020, 2:28pm UTC](https://forum.universal-robots.com/t/ursim-boot-issues-with-sudo-cannot-load-and-save-files-no-controller-found/6281/5 "2020-02-10T14:28:14Z")

</div>

Did you check out the “How to setup Linux for URCaps Development”-article listed here?  
[How to install URSim for URCaps Development](https://plus.universal-robots.com/getting-started/installing-ursim-in-linux-for-urcaps-development/)

---

<div class="post-metadata">

**Author:** ![anon95301393](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@anon95301393](https://forum.universal-robots.com/u/anon95301393)\
**Post date:** [February 10, 2020, 5:58pm UTC](https://forum.universal-robots.com/t/ursim-boot-issues-with-sudo-cannot-load-and-save-files-no-controller-found/6281/6 "2020-02-10T17:58:32Z")

</div>

Should I install URCaps SDK?  
It looks like a huge file. So, I just tried to install ursim only (offiline simulator).  
If I use a linux machine, should I install URCaps?  
Also, my linux user is ‘hotae’. So, my directory is /home/hotae/ursim-5.4.2.76197.  
Do I have to create a new user named ‘ur’ ?

---

<div class="post-metadata">

**Author:** ![fujikit](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/fujikit/32/6042_2.png) [@fujikit](https://forum.universal-robots.com/u/fujikit)\
**Post date:** [February 15, 2020, 6:47am UTC](https://forum.universal-robots.com/t/ursim-boot-issues-with-sudo-cannot-load-and-save-files-no-controller-found/6281/7 "2020-02-15T06:47:59Z")

</div>

If SDK is installed or not, ursim can be running.  
But user "ur " should be created if ursim or SDK is installed.

Ursim may be able to run with the other name, but I create user “ur” and set hostname “ursim.”

T.Fujiki

---

<div class="post-metadata">

**Author:** ![Ebbe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/ebbe/32/1413_2.png) [@Ebbe](https://forum.universal-robots.com/u/Ebbe)\
**Post date:** [January 27, 2021, 8:41am UTC](https://forum.universal-robots.com/t/ursim-boot-issues-with-sudo-cannot-load-and-save-files-no-controller-found/6281/11 "2021-01-27T08:41:27Z")

</div>

Hi @anon95301393,

I am assumeing you can fix it by running:  
$chmod -R 777 ~/ursim-5.4.2.76197

Ebbe

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/system/32/1_2.png) [@system](https://forum.universal-robots.com/u/system)\
**Post date:** [April 24, 2021, 8:14am UTC](https://forum.universal-robots.com/t/ursim-boot-issues-with-sudo-cannot-load-and-save-files-no-controller-found/6281/13 "2021-04-24T08:14:45Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
