LinuxQuestions.org
Help answer threads with 0 replies.
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 09-11-2007, 03:27 AM   #1
stefand
LQ Newbie
 
Registered: Sep 2007
Distribution: Centos
Posts: 4

Rep: Reputation: 0
cannot execute binary file


I'm using Xwin32 to start the remote desktop of my server (Centos). I need to access xterm for that.

In first place I got a no permission error, I fixed this by chmod xterm to 755. Im not very experienced with Linux so please correct me if I did something wrong.

The problem is now: i get the following error, trying to start with xterm:

Code:
bash: /usr/share/terminfo/x/xterm: cannot execute binary file
Thnx for any help.
 
Old 09-11-2007, 05:24 AM   #2
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Code:
bash: /usr/share/terminfo/x/xterm: cannot execute binary file
This is not the xterm executable. Check $PATH or launch with its absolute path. It should be something like
Code:
/usr/bin/xterm
If you don't have the xterm command in a bin directory, check your installation.
 
Old 09-11-2007, 05:28 AM   #3
tommytomthms5
Member
 
Registered: Sep 2007
Distribution: debian based
Posts: 305

Rep: Reputation: 30
also xterm is a gui app and a terminal witch is really confusing me if your in gui mode where are you typing this and if your in text mode why do you need it????
 
Old 09-11-2007, 06:29 AM   #4
stefand
LQ Newbie
 
Registered: Sep 2007
Distribution: Centos
Posts: 4

Original Poster
Rep: Reputation: 0
Thnx colucix. Xterm is not located at /usr/bin/. So I have to install it with the package manager (or something like that)? Is there a way to access this program by the therminal?

@tommytomthms5: I type this in the configuration interface of x-win32. In the command field I have to enter the 'xterm' command or the local path to xterm.
 
Old 09-11-2007, 06:37 AM   #5
tommytomthms5
Member
 
Registered: Sep 2007
Distribution: debian based
Posts: 305

Rep: Reputation: 30
oh my bad then....
 
Old 09-11-2007, 07:42 AM   #6
stefand
LQ Newbie
 
Registered: Sep 2007
Distribution: Centos
Posts: 4

Original Poster
Rep: Reputation: 0
I have downloaded xterm and extracted. Now I need to install it? Can someone tell me how?
 
Old 09-11-2007, 12:04 PM   #7
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Quote:
Originally Posted by stefand View Post
I have downloaded xterm and extracted. Now I need to install it? Can someone tell me how?
A package manager tool would have been the right choice, if available. Anyway, which file have you downloaded? If it is a RPM the installation can be done by
Code:
rmp -Uvh name_of_the_package.rpm
as root - of course.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cannot execute binary file Nishant Desai Programming 18 10-27-2008 02:37 PM
Can't execute a binary file inverted.gravity Linux - General 4 08-07-2006 10:08 PM
cannot execute binary file phanee Linux - Software 6 05-25-2006 01:16 PM
Cannot Execute Binary File meshcurrent Linux - Software 3 07-09-2005 03:39 PM
Cannot execute binary file pbagda Linux - General 4 01-19-2004 01:13 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration