KDE Distros (Kubuntu, Knoppix) won't run Binary files
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
KDE Distros (Kubuntu, Knoppix) won't run Binary files
Hi.
I've tried a couple of distributions which use KDE as its window manager (namely Knoppix and Kubuntu).
The Gnome-based distros (such as Ubuntu) run binary files just fine, but the ones which use KDE (such as Kubuntu) keep giving me the following message:-
I'm not much of a KDE users but I would suspect that KDE simply doesn't make any default binary-applications associations. Have you tried right-clicking the binary and selecting the application that you want to set as a default for that specific type of binaries?
That's just asking to open the file with some other program. What kind of binary are you trying to run and are you sure the permissions are set to allow it to be executable?
The program in question happens to be "Mupen 64" (a standard Linux/N64 emulator).
I've run it on Ubuntu/Gnome distros in the past without any troubles (just by double-clicking it).
How would I go about running it in the terminal? Also, how do I set the permissions? (please note I'm currently running Kubuntu/Knoppix from live CDs, but will eventually install it when my new hardware arrives)
I'm not much of a KDE users but I would suspect that KDE simply doesn't make any default binary-applications associations. Have you tried right-clicking the binary and selecting the application that you want to set as a default for that specific type of binaries?
That's what I'm asking - what (type of) program *would* it be? I didn't see any on the list in the screenshot that I thought would be applicable......
If it's a binary it shouldn't need another program to open it, it should just run. That's why I was wondering if maybe somehow the permissions got altered so it wasn't executable. You can look at it by right clicking and looking under properties.
The terminal should be listed somewhere in the KDE menu, for mine it's under system but I don't remember if that's the default or not. Once it's open type:
cd [location of file] <to change to the directory you want>
./[file name] <executes the binary>
You can also check the permissions from the terminal with the command
ls -l [file name]
The first column will be a series of letters, the first three positions tell the permission for the owner, the second tells for users in the group it belongs to, and the third is for anyone else. so
rwxrwxrwx means everyone has all (read,write,execute) permission
rwxrw-r-- would mean the owner has permission, the group has read and write, while anyone else can only read the file.
KDE will launch an executable binary file if the executable bit is set and the partition isn't mounted with the noexec option. A binary file could be a binary data file as well (as opposed to a text file). You can also create a link to a binary file and configure the options and Icon as you wish.
Well I tried the "./" method in the terminal - this worked a treat in Knoppix, and allowed me to run the binary files I was unable to before
The interesting thing is that once I'd used that method for the first time, Konquerer was then able to open *all* binary files by itself! (with no terminal/bash intervention)
I was still unable to get it to work in Kubuntu, however (even when I tried the 'su' and 'sudo' methods) - the terminal gave me a "Permission Denied" message or something along those lines....
Some Googling around seemed to indicate that *ubuntu distributions have some kind of built in defence against root priveleges or something.... maybe that was the problem?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.