DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, I managed to install the C# decompiler ILSpy, but cannot install the GUI for it(AvaloniaILSpy): https://github.com/icsharpcode/Avalo...ster/README.md I downloaded and extracted the file and ran a series of commands to grant it the rights to execute
Code:
chmod a+x ILSpy
:
Code:
user@debian:~$ su
Password:
root@debian:/home/user# cd /home/user/Desktop/ILSpy-debian.8-x64-Release
root@debian:/home/user/Desktop/ILSpy-debian.8-x64-Release# chmod a+x ILSpy
root@debian:/home/user/Desktop/ILSpy-debian.8-x64-Release# ./ILSpy
root@debian:/home/user/Desktop/ILSpy-debian.8-x64-Release# exit
exit
user@debian:~$
user@debian:~$ ls -dl /home/user/Desktop/ILSpy-debian.8-x64-Release
drwxr-xr-x 2 user user 20480 Mar 9 15:47 /home/user/Desktop/ILSpy-debian.8-x64-Release
user@debian:~$
It says ILSpy is executable, however, I can't run it.
and run it from your terminal, not the filemanager, to get some diagnostic output:
Code:
./ILSpy
Code:
user@debian:~$ chmod a+x ILSpy
chmod: cannot access 'ILSpy': No such file or directory
user@debian:~$ cd /home/user/Desktop/ILSpy-debian.8-x64-Release
user@debian:~/Desktop/ILSpy-debian.8-x64-Release$ chmod a+x ILSpy
user@debian:~/Desktop/ILSpy-debian.8-x64-Release$ ./ILSpy
user@debian:~/Desktop/ILSpy-debian.8-x64-Release$ cd
user@debian:~$ ls -dl /home/user/Desktop/ILSpy-debian.8-x64-Release
drwxr-xr-x 2 user user 20480 Mar 9 15:47 /home/user/Desktop/ILSpy-debian.8-x64-Release
user@debian:~$
ok. First, when you execute ./ILSpy execute echo $? immediately and post the result.
Explain also what did you download exactly and what series of command did you execute.
ok. First, when you execute ./ILSpy execute echo $? immediately and post the result.
Explain also what did you download exactly and what series of command did you execute.
Code:
user@debian:~$ cd /home/user/Desktop/ILSpy-debian.8-x64-Release
user@debian:~/Desktop/ILSpy-debian.8-x64-Release$ chmod a+x ILSpy
user@debian:~/Desktop/ILSpy-debian.8-x64-Release$ ./ILSpy
user@debian:~/Desktop/ILSpy-debian.8-x64-Release$ echo $?
0
user@debian:~/Desktop/ILSpy-debian.8-x64-Release$ cd
user@debian:~$
I downloaded AvaloniaILSpy https://github.com/icsharpcode/AvaloniaILSpy Bleeding-edge Builds/Debian/Download. The file name is ILSpy-debian.8-x64-Release.zip and when I extract it I get the folder named ILSpy-debian.8-x64-Release https://imgur.com/a/GJ5H18i
The series of commands is:
Code:
user@debian:~$ su
Password:
root@debian:/home/user# cd /home/user/Desktop/ILSpy-debian.8-x64-Release
root@debian:/home/user/Desktop/ILSpy-debian.8-x64-Release# chmod a+x ILSpy
root@debian:/home/user/Desktop/ILSpy-debian.8-x64-Release# ./ILSpy
root@debian:/home/user/Desktop/ILSpy-debian.8-x64-Release# exit
exit
user@debian:~$
user@debian:~$ ls -dl /home/user/Desktop/ILSpy-debian.8-x64-Release
drwxr-xr-x 2 user user 20480 Mar 9 15:47 /home/user/Desktop/ILSpy-debian.8-x64-Release
user@debian:~$
Ok. I downloaded the specified file, unzipped, chmod and executed it. A new window was opened, so basically it worked for me. No root user required.
What I can imagine right now: you have no DISPLAY set or available.
Ok. I downloaded the specified file, unzipped, chmod and executed it. A new window was opened, so basically it worked for me. No root user required.
What I can imagine right now: you have no DISPLAY set or available.
By Display do you mean GUI and how can I set it up?
user@debian:~$ chmod a+x ILSpy
chmod: cannot access 'ILSpy': No such file or directory
user@debian:~$ cd /home/user/Desktop/ILSpy-debian.8-x64-Release
user@debian:~/Desktop/ILSpy-debian.8-x64-Release$ chmod a+x ILSpy
user@debian:~/Desktop/ILSpy-debian.8-x64-Release$ ./ILSpy
user@debian:~/Desktop/ILSpy-debian.8-x64-Release$ cd
user@debian:~$ ls -dl /home/user/Desktop/ILSpy-debian.8-x64-Release
drwxr-xr-x 2 user user 20480 Mar 9 15:47 /home/user/Desktop/ILSpy-debian.8-x64-Release
user@debian:~$
looks like you did not check if DISPLAY was set properly. you can use: strace -o <logfile> -f ILSpy to check what's happening, but that may produce a huge logfile and probably not really easy to catch anything....
According to ldd, you aren't missing any libraries.
Quote:
Originally Posted by pan64
looks like you did not check if DISPLAY was set properly. you can use: strace -o <logfile> -f ILSpy to check what's happening, but that may produce a huge logfile and probably not really easy to catch anything....
Check to see if your DISPLAY variable is set with
Code:
$ echo $DISPLAY
:0
An easy way to test your DISPLAY variable is to launch a GUI program you know works from the command line. Try one of these.
looks like you did not check if DISPLAY was set properly. you can use: strace -o <logfile> -f ILSpy to check what's happening, but that may produce a huge logfile and probably not really easy to catch anything....
Code:
user@debian:~$ strace -o <logfile> -f ILSpy
bash: logfile: No such file or directory
user@debian:~$ sudo strace -o <logfile> -f ILSpy
bash: logfile: No such file or directory
Quote:
Originally Posted by tyler2016
According to ldd, you aren't missing any libraries.
Check to see if your DISPLAY variable is set with
Code:
$ echo $DISPLAY
:0
An easy way to test your DISPLAY variable is to launch a GUI program you know works from the command line. Try one of these.
We are making progress. We now know that you aren't missing any libraries and your X environment works. I concur with pan64's suggestion to use strace. Use these commands to see what files the program tries to access:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.