eabdala
Hi. I could not install the editor by downloading from the official page, from git and from pypi. It gives me an error. Firstly I have followed the instructions from forum openplc, error during installation on debian10.
Captura de pantalla de 2020-06-01 18-03-57.png
Captura de pantalla de 2020-06-01 18-15-07.png Captura de pantalla de 2020-06-01 18-15-23.png Captura de pantalla de 2020-06-01 18-15-44.png Captura de pantalla de 2020-06-01 18-15-55.png Captura de pantalla de 2020-06-01 18-16-04.png Captura de pantalla de 2020-06-01 18-16-19.png Captura de pantalla de 2020-06-01 18-16-24.png Captura de pantalla de 2020-06-01 18-16-29.png Captura de pantalla de 2020-06-01 18-16-51.png  From now, thank you for you help.
Atte. Alexander

Quote 0 0
thiagoralves

First, instead of uploading 100 screenshots of your terminal, it would have made your life a lot easier to just copy and paste the terminal text into your post as 

CODE

Second, as far as I can tell from the screenshots, the editor is installed. Just run ./ openplc_editor.sh to run it

Quote 0 0
eabdala
Good day. Sorry for the screenshots, I got a spam error from some of the code used in the terminal when trying to post.
I also forgot to include that I had already used the command that you say and it did not work.

root@debian:/home/alejandro/OpenPLC_Editor# ./ openplc_editor.sh
No protocol specified
Unable to access the X Display, is $DISPLAY set properly?
root@debian:/home/alejandro/OpenPLC_Editor#
Quote 0 0
thiagoralves
It seems that something is messed up on your X environment. Are you using VNC or some type of remote desktop?
Quote 0 0
eabdala
I have not installed VNC. Perhaps I have installed some other program with this function without knowing it.

 I installed qucs, octave, Visual ARM, zoom, discord, geany, wine, texmaker, matlab.
 
Quote 0 0
thiagoralves
I revisited your screenshots and it seems that you're running stuff as root. That's not good. Try running it as a normal user and check if it works. I asked about VNC because the error mentions that it cannot access your X display. This usually happens when you're trying to access a remote machine and X calls are not forwarded properly. Is this installation local or are you trying to install the editor on a remote machine via SSH or something similar? You will have to debug your setup to understand what is going on. Linux is great, but also can be tricky as it was not meant for end users. If you get stuck, I suggest you just use Windows instead. OpenPLC Editor runs on either one.
Quote 0 0
eabdala
Okay. I have not tried anything remote. The installations have always been done in root. I have also seen that there are differences between his and his - with debian 10. I am not an expert in Linux but I no longer use Windows from 10 years ago, only Debian, normal office automation use. I'm going to try a new clean install.
Quote 0 0
thiagoralves
If you want to stuck with Linux, then use a more user-friendly distro, like Ubuntu (which is based on Debian by the way). Debian by itself is too stripped down, and hence gives a lot of headaches to inexperienced users. OpenPLC Editor installs and runs fine on pretty much any Ubuntu version, including the latest one (20.04).
Quote 0 0
eabdala
Yes I know. Thank you very much for your time. I had the problem with Ubuntu 20.04 multisim did not work for me in wine.
should I delete this post?
very friendly for his time.
Quote 0 0
thiagoralves
No, keep the post. Information is always useful. Quick tip on multisim, try using PlayOnLinux instead of the plain WINE. PlayOnLinux works very well on Ubuntu and might make your life a lot easier
Quote 0 0
eabdala
Okay. Thanks for the information. I'm going to try playonlinux. But this in turn depends on wine, right?
Quote 0 0
thiagoralves
PlayOnLinux is a wine wrapper. The issue you faced with Ubuntu was probably related to WINE version or configuration (Debian and Ubuntu probably serve different versions of WINE/configs). With PlayOnLinux, the environment knows exactly which combination of WINE version and configs that works best with several different applications. 
Quote 0 0
eabdala
Hi.

[FINALIZING]
./install.sh: línea 19: openplc_editor.sh: Permiso denegado
chmod: cambiando los permisos de './openplc_editor.sh': Operación no permitida
alejandro@debian:~/OpenPLC_Editor$ ./ openplc_editor.sh
Exception while trying to refresh menu
alejandro@debian:~/OpenPLC_Editor$ cd ..
alejandro@debian:~$

Is it possible that as root using su and su - it won't install for my normal user? I installed as root with su -, then with su and finally without root. The first two failed. The third worked. Would it be convenient to review the entire installation without root as you explain in the other post?
Quote 0 0
thiagoralves
You should not install it as root. The installation script invokes sudo when needed.  
Quote 0 0