LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 07-16-2010, 11:04 PM   #1
mcs_o8_01
Member
 
Registered: Jul 2010
Posts: 42

Rep: Reputation: 1
Error opening terminal : Xterm


hi there
i am new in Linux,i build nano editor on Linux,it compile successfully but when i open in terminal then error displays "Error opening terminal : Xterm" while nano help is running successfully,i am confused what is wrong
 
Old 07-16-2010, 11:12 PM   #2
allanf
Member
 
Registered: Sep 2008
Location: MN
Distribution: Gentoo, Fedora, Suse, Slackware, Debian, CentOS
Posts: 97
Blog Entries: 1

Rep: Reputation: 19
The terminal is, xterm, which is not installed by default in several of the Linux distributions (as it does not have a menu bar nor tabs).
 
Old 07-17-2010, 01:20 AM   #3
mcs_o8_01
Member
 
Registered: Jul 2010
Posts: 42

Original Poster
Rep: Reputation: 1
hi there
Xterm is installed in my liunux
 
Old 07-17-2010, 04:09 AM   #4
mcs_o8_01
Member
 
Registered: Jul 2010
Posts: 42

Original Poster
Rep: Reputation: 1
Error opening terminal : Xterm

hi there
i am new in Linux i compiled nano editor,it compiled successfully but when open in terminal then following error displays
Error opening terminal : Xterm
i am confused what was wrong, Linux has x terminal
 
Old 07-17-2010, 11:25 AM   #5
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,971

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Hi,

What is the output of
Code:
echo $TERM
If it's Xterm and not xterm, run
Code:
export TERM=xterm
to set it to xterm

Regards
 
Old 07-17-2010, 06:38 PM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
It's "xterm", not "Xterm". Linux is case sensitive.
 
Old 07-17-2010, 10:52 PM   #7
mcs_o8_01
Member
 
Registered: Jul 2010
Posts: 42

Original Poster
Rep: Reputation: 1
Error opening terminal : xterm

hi there
i am new in Linux,i build nano editor on Linux,it compile successfully but when i open in terminal then error displays "Error opening terminal : xterm" while nano help is running successfully,i am confused what is wrong
nano help is open in terminal,help me plzzzzzzzzzzzzzz
 
Old 07-18-2010, 01:34 AM   #8
mcs_o8_01
Member
 
Registered: Jul 2010
Posts: 42

Original Poster
Rep: Reputation: 1
Error opening in terminal :xterm

Thanks for Reply
out put of echo $TERM is xterm
xterm is installed and i have run
export $TERM=xterm
but the error is remain same as
Error opening terminal : xterm

Last edited by mcs_o8_01; 07-18-2010 at 01:40 AM.
 
Old 07-18-2010, 04:08 AM   #9
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,971

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Quote:
export $TERM=xterm
If the above is not a typo it's wrong.
The correct command is:
Code:
export TERM=xterm
Anyway you might take a look at post #10 of this thread here at LQ.
May I ask why you compiled nano from source and what distro are you using?
 
Old 07-18-2010, 08:12 AM   #10
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
Quote:
Originally Posted by mcs_o8_01 View Post
hi there
i am new in Linux i compiled nano editor,it compiled successfully but when open in terminal then following error displays
Error opening terminal : Xterm
i am confused what was wrong, Linux has x terminal

What Linux distro are you using? What desktop does it have?

Why aren't you running nano from within a terminal the way it's supposed to?
 
Old 07-18-2010, 08:18 AM   #11
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
What distro and desktop are you using?

Why aren't you starting nano from a terminal like it's supposed to?

And please stick to one thread. I don't want to retype my replies in both.
 
Old 07-18-2010, 12:15 PM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,266

Rep: Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661
It is not quite clear, how you are trying to start nano.

If any doubt, please use : 'xterm -e nano'

And if you do that in CLI, there is of course no xterm,
as xterm requires X to run.
..
 
Old 07-19-2010, 01:21 AM   #13
mcs_o8_01
Member
 
Registered: Jul 2010
Posts: 42

Original Poster
Rep: Reputation: 1
Error opening teminal :xterm

hi there
after run
xterm -e nano
then displays "warning: locale supported by C library, locale unchanged
 
Old 07-19-2010, 01:38 AM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,266

Rep: Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661
""warning: locale supported by C library, locale unchanged""

"warning" usually means : This is an information.

( A warning is not an error ! ).
.
 
Old 07-19-2010, 02:02 AM   #15
mcs_o8_01
Member
 
Registered: Jul 2010
Posts: 42

Original Poster
Rep: Reputation: 1
Error opening teminal :xterm

but nano editor is not til open
 
  


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
Error opening terminal : xterm mcs_o8_01 Linux - Newbie 2 07-18-2010 11:48 AM
Error opening terminal:vt102 and error while loading shared libraries:libncurses.so.5 nathan Linux - Software 1 08-12-2009 12:03 AM
Error opening terminal: xterm Terminal type "xterm" unknown Pscylo Slackware 10 04-17-2009 07:33 AM
error opening terminal:linux mehro Red Hat 0 01-20-2006 03:37 AM
Error opening terminal: linux joadoor Linux - Software 1 06-11-2003 04:06 AM


All times are GMT -5. The time now is 12:53 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration