LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-16-2010, 10: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, 10:12 PM   #2
allanf
Member
 
Registered: Sep 2008
Location: MN
Distribution: Gentoo, Fedora, Suse, Slackware, Debian, CentOS
Posts: 100
Blog Entries: 1

Rep: Reputation: 20
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, 12: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, 03: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, 10:25 AM   #5
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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, 05:38 PM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
It's "xterm", not "Xterm". Linux is case sensitive.
 
Old 07-17-2010, 09: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, 12: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 12:40 AM.
 
Old 07-18-2010, 03:08 AM   #9
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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, 07:12 AM   #10
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
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, 07:18 AM   #11
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
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, 11:15 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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, 12: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, 12:38 AM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
""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, 01: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



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

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

All times are GMT -5. The time now is 01:16 AM.

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