DaveTea
Posts: 8
Joined: Wed Dec 21, 2022 12:09 am

Install on Ubuntu 22.10 results in unusable software.

Lets take a different approach to this as I am tired of posting Linux install issues that get ignored for years.

Someone at S3D: Install Ubuntu 22.10 then install your software as a regular user. Report back when you lack a desktop launcher and you cant launch S3D from a shell without "Failed to activate software. The software will now exit."

I can reproduce this over and over. Please try it yourself, it should only take a few minutes to stand up a VM and try.

I have paid for the 5.0 upgrade since it was avail and it still wont run on Linux. Come on support...provide support to a paying customer.
S3D-Jason
Posts: 1608
Joined: Sun May 31, 2015 6:01 am

Re: Install on Ubuntu 22.10 results in unusable software.

I did some work this morning to try to help. I downloaded and setup a completely fresh Ubuntu 22 install to make sure there were no other changes on the system. Here's the exact steps I followed.

1) Download the installer from your Simplify3D cloud account
2) Unzip the installer into your Downloads folder
3) Open a Terminal window and type the following commands:

cd $HOME/Downloads
chmod +x Simplify3D-5.0.0-linux-x64-installer.run
sudo ./Simplify3D-5.0.0-linux-x64-installer.run (I believe you have to run the installer using sudo)

4) On the last page of the installer, I decided to UNCHECK the "Launch Simplify3D now" option since I believe that will run the software as root, and I want to use it as a normal user instead.
5) Back in your Terminal window, type the commands below to run S3D V5:

cd /opt/Simplify3D-5.0.0
./LaunchScript.sh (be careful NOT to use sudo here if you want to run the software as a normal user)

The software then opens and I was able to login and start using the software. I repeated the last step a few times and everything seemed to be working fine as my normal user account.

I tested this on a Linux laptop and a completely fresh virtual machines and the same steps worked in both cases. If you follow these same steps with a completely fresh Ubuntu 22 install, are you seeing different results?
jandrunas
Posts: 3
Joined: Mon Jan 16, 2023 11:01 am

Re: Install on Ubuntu 22.10 results in unusable software.

The only way I was able to not require it to run as root, was after installing to do chown -R on /opt/Simplify3D-5.0.0/ and change the user and group to mine
jtzemp
Posts: 3
Joined: Sun Feb 27, 2022 10:10 pm

Re: Install on Ubuntu 22.10 results in unusable software.

I've got the same problem on 22.04 even after following all the instructions and tips above. I'm trying to install 5.1.2. FWIW, I have version 4.1.2 and it works fine. Looking at the files in the respective folders shows that permissions are the same. I've even removed v4's config files and still get the error.

I've uninstalled (removed settings) and re-installed multiple times. I've tried installing to a directory under $HOME, chowning/chmoding files in the /opt/Simplify3D-5.1.2 directory. I've run the AddUserPermissions.sh script and verified my user can write to all the files and directories (I know about) including:
  • ~/.config/Simplify3D
  • ~/.local/share/applications
  • ~/.local/share/Simplify3D/
  • /opt/Simplify3D-5.1.2
I've lsof'd the running Simplify3D process when it was running as root and as my user and don't really see anything that the process is trying to access that needs root. My user is a member of `dialout` and `plugdev` in case it was trying to access anything under /dev/.

I can get the software to run under sudo, but that's not really allowed other than for testing. I'm also unwilling to run it as root.

I did see something interesting. When I did an strace, the application will open, and I can see the UI, but I can't interact with it. I've never tried to strace a gui app before, so maybe this is normal? I was trying to see what files it was trying to access on my hard drive to make sure permissions were correct. It's jus strange that strace gets the app farther (the GUI loads), but nothing works.

If anyone has any other tips, I'd love to hear them. As of right now, if I can't get it to work, I'm gonna ask for a refund. I'd love for it to work, as I really like Simplify3D v4. I just want some of the newer features in 5 and gladly paid for the upgrade. ¯\_()_/¯
S3D-Jason
Posts: 1608
Joined: Sun May 31, 2015 6:01 am

Re: Install on Ubuntu 22.10 results in unusable software.

If it works as root, but not a regular user, then it most likely indicates some kind of permissions issue.

FWIW - I just installed V5.1.2 on a completely stock Ubuntu 22 installation, and it worked fine running it right after the installation as regular user. I didn't need to run any special commands at all. So possible there's something different with your setup compared to a stock install that I just tested?
jtzemp
Posts: 3
Joined: Sun Feb 27, 2022 10:10 pm

Re: Install on Ubuntu 22.10 results in unusable software.

Thanks for looking at it S3D-Jason. I appreciate you trying. I agree. I think it's a permissions issue. I've just triple-checked all the directories S3D seems to say it talks to.

I'll try to install in a VM to see what I can see. Were you using a VM, or a "real" machine? Were you using 22.10 or 22.04?

Thanks!
S3D-Jason wrote: Fri Nov 03, 2023 12:55 pm If it works as root, but not a regular user, then it most likely indicates some kind of permissions issue.

FWIW - I just installed V5.1.2 on a completely stock Ubuntu 22 installation, and it worked fine running it right after the installation as regular user. I didn't need to run any special commands at all. So possible there's something different with your setup compared to a stock install that I just tested?
S3D-Jason
Posts: 1608
Joined: Sun May 31, 2015 6:01 am

Re: Install on Ubuntu 22.10 results in unusable software.

I have since installed on both a real linux laptop and a VM. Both of them worked fine and both were setup as completely stock ubuntu installations.
nahar
Posts: 1
Joined: Tue Jan 09, 2024 2:58 am
Contact: Website

Re: Install on Ubuntu 22.10 results in unusable software.

jandrunas wrote: Mon Jan 16, 2023 11:09 am The only way I was able to not require it to run as root, was after installing to do chown -R on /opt/Simplify3D-5.0.0/ and change the user and group to mine
By running chown -R on the /opt/Simplify3D-5.0.0/ directory and setting the user and group to yours, you have granted the necessary permissions for your user to access and modify the files within that directory. This allows you to run Simplify3D without needing to use root privileges.

Return to “Troubleshooting and Bug Reports”