LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-04-2007, 01:02 PM   #1
bookerg
LQ Newbie
 
Registered: Jul 2007
Posts: 11

Rep: Reputation: 0
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:-


http://geocities.com/gurzyb/kubuntu_binary_err.jpg


Does anybody know what I should do about this?
 
Old 08-04-2007, 03:18 PM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
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?
 
Old 08-04-2007, 03:26 PM   #3
mcmillan
Member
 
Registered: Jul 2005
Distribution: Arch
Posts: 489

Rep: Reputation: 30
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?
 
Old 08-04-2007, 03:27 PM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Use the terminal?
 
Old 08-04-2007, 04:05 PM   #5
bookerg
LQ Newbie
 
Registered: Jul 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Hi all.

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)


Many thanks!!!!!!!
 
Old 08-04-2007, 04:08 PM   #6
bookerg
LQ Newbie
 
Registered: Jul 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jay73
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......
 
Old 08-04-2007, 07:02 PM   #7
mcmillan
Member
 
Registered: Jul 2005
Distribution: Arch
Posts: 489

Rep: Reputation: 30
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.
 
Old 08-04-2007, 09:09 PM   #8
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.
 
Old 08-05-2007, 07:38 AM   #9
bookerg
LQ Newbie
 
Registered: Jul 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Hi all.

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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Monitor is configurable in several Linux distros, but not Kubuntu? Perquisitor Linux - Hardware 4 12-07-2006 08:31 AM
wont run binary files flyereddie DamnSmallLinux 2 12-07-2006 12:25 AM
LXer: See distros. See distros run. Run, distros, run. LXer Syndicated Linux News 0 06-13-2006 01:24 AM
On KDE-centric distros and 686 distros, what you think? mebrelith Linux - Distributions 4 03-23-2005 01:09 PM
can't run binary files abs Slackware 12 01-21-2005 01:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration