- Error opening terminal when running IFL, TBIView, or OSD Tool Script from Linux Distribution
- error opening terminal: xterm-256color
- 1 Answer 1
- You must log in to answer this question.
- Related
- Hot Network Questions
- Subscribe to RSS
- Thread: Error opening terminal: xterm.
- Error opening terminal: xterm.
- Re: Error opening terminal: xterm.
- Re: Error opening terminal: xterm.
- Re: Error opening terminal: xterm.
- Re: Error opening terminal: xterm.
- Re: Error opening terminal: xterm.
- Re: Error opening terminal: xterm.
- Re: Error opening terminal: xterm.
- Re: Error opening terminal: xterm.
- Tags for this Thread
- Bookmarks
- Posting Permissions
- Error opening terminal: xterm-256color
Error opening terminal when running IFL, TBIView, or OSD Tool Script from Linux Distribution
Image for Linux (IFL), TBIView, or the OSD Tool Script will not run on a Linux distribution, producing an error message similar to the following:
Error opening terminal: linux
Note that depending on what type of terminal is in use, the terminal type in the error message may also be xterm, Eterm, rxvt, or any other terminal type being used. Also note that this problem will only occur when attempting to run IFL, TBIView, or the OSD Tool Script from a Linux distribution. It will not occur when running these programs from the IFL Boot Disk.
Starting with the Debian «Squeeze» version of the Debian distribution, as well as some other Debian-based Linux distributions, several symlinks have been removed from the /usr/share/terminfo directory. This causes the affected programs to not be able to find the specific terminfo file they need to open a terminal (such as linux, xterm, Eterm, rxvt, dumb, etc.). This results in the error message shown above, and the affected programs will not be able to run.
As root, create a new symlink by using the sequence of commands shown below for the specific terminal type shown in the error message. Note that there are 3 commands for each terminal type, and they should be executed in the order shown below.
1. For error message «Error opening terminal: linux»
mkdir -p /usr/share/terminfo/l
ln -s /lib/terminfo/l/linux linux
2. For error message «Error opening terminal: xterm»
mkdir -p /usr/share/terminfo/x
ln -s /lib/terminfo/x/xterm xterm
3. For error message «Error opening terminal: rxvt»
mkdir -p /usr/share/terminfo/r
ln -s /lib/terminfo/r/rxvt rxvt
4. For error message «Error opening terminal: dumb»
mkdir -p /usr/share/terminfo/d
ln -s /lib/terminfo/d/dumb dumb
5. For error message «Error opening terminal: Eterm»
mkdir -p /usr/share/terminfo/E
ln -s /lib/terminfo/E/Eterm Eterm
September 1, 2010 Updated: September 9, 2021
error opening terminal: xterm-256color
I logged into metasploitable from kali linux using SSH.(Windows host) Now I want to access file named config.inc ( /var/www/mutillidae/config.inc ) in metasploitable. I tried opening it using sudo nano /var/www/mutillidae/config.inc command and it showed me an error.
It gave me a warning(terminal is not fully functional). and then opened the file. When I tried to open it using less.
@abhijithpogiri: Don’t comment your own question, but edit your question to improve it by giving details.
1 Answer 1
It seems like you have a problem with the terminal definition.
Try using xterm instead of xterm-256color
or the following terminal setting:
export TERMINFO=/etc/terminfo export TERM=linux
Also, if you still have problem with nano try using vi which is a simple editor and doesn’t required much from the terminal
sudo vi /var/www/mutillidae/config.inc
You must log in to answer this question.
Related
Hot Network Questions
Subscribe to RSS
To subscribe to this RSS feed, copy and paste this URL into your RSS reader.
Site design / logo © 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2023.7.12.43529
Linux is a registered trademark of Linus Torvalds. UNIX is a registered trademark of The Open Group.
This site is not affiliated with Linus Torvalds or The Open Group in any way.
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.
Thread: Error opening terminal: xterm.
5 Cups of Ubuntu
Error opening terminal: xterm.
When i type «nano» into the terminal I receive the following message:
Error opening terminal: xterm.
Typing «top» will give this message:
‘xterm’: unknown terminal type.
Word wrap is not working when I push backspace on a multi-line command.
Ctrl+Alt+F6 -> commands work fine.
xterm works fine.
Have tried creating a new user but it has the same problem.
Tried what was suggested here but it doesn’t help.
Any other suggestions out there?
Cookies and cream
Re: Error opening terminal: xterm.
Not all that familiar with the Unity system, but in Systems > Settings > Preferences, which terminal is set as preferred?
5 Cups of Ubuntu
Re: Error opening terminal: xterm.
Just adding to the list of symptoms. When typing «man » The following message will be shown «WARNING: terminal is not fully functional»
I found this command to find out which terminal is preferred:
-ubuntu:~$ gsettings get org.gnome.desktop.default-applications.terminal exec
‘x-terminal-emulator’
Edit: I just changed it to xterm and was about to say I’m happy with that. but It’s hard to copy and paste things to xterm
Cookies and cream
Re: Error opening terminal: xterm.
5 Cups of Ubuntu
Re: Error opening terminal: xterm.
I installed and opened xfce terminal
sudo apt-get install xfce4-terminal
xfce4-terminal
Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined
xfce4-terminal still opens up but it suffers from the same problems as x-terminal-emulator
Floating Round My Tin Can
Re: Error opening terminal: xterm.
Could you open a terminal run these commands, and post back the results (you can copy/paste the text)?
ls ~/.bash_logout ~/.bashrc ~/.profile diff /etc/skel/.bashrc ~/.bashrc diff /etc/skel/.profile ~/.profile
5 Cups of Ubuntu
Re: Error opening terminal: xterm.
/home/philip/.bash_logout /home/philip/.bashrc /home/philip/.profile
5 Cups of Ubuntu
Re: Error opening terminal: xterm.
Ok I have almost figured this out.
sudo apt-get install rxvt-unicode export TERM=rxvt-unicode
From there on everything works perfectly. My only problem now is that i have to set TERM all the time. How can i set it permanently to rxvt-unicode using either gnome-terminal or xfce4-terminal? . or any other terminal that supports copy n paste
5 Cups of Ubuntu
Re: Error opening terminal: xterm.
sudo apt-get install rxvt-unicode nano ~/.bashrc export TERM=rxvt-unicode
Now you should be able to run x-terminal-emulator or gnome-terminal-emulator and everything should work fine.
I’m not sure if this is just me but if you press ctrl+alt+T and are confronted with the wrong terminal, just open system settings -> keyboard -> shortcuts -> create a custom shortcut with your preferred terminal on ctrl+alt+t. This will override the system shortcut.
- Site Areas
- Settings
- Private Messages
- Subscriptions
- Who’s Online
- Search Forums
- Forums Home
- Forums
- The Ubuntu Forum Community
- Ubuntu Official Flavours Support
- New to Ubuntu
- General Help
- Installation & Upgrades
- Hardware
- Desktop Environments
- Networking & Wireless
- Multimedia Software
- Ubuntu Specialised Support
- Ubuntu Development Version
- Security
- Virtualisation
- Ubuntu Servers, Cloud and Juju
- Server Platforms
- Ubuntu Cloud and Juju
- Gaming & Leisure
- Emulators
- Wine
- Development & Programming
- Packaging and Compiling Programs
- Development CD/DVD Image Testing
- Ubuntu Application Development
- Ubuntu Dev Link Forum
- Programming Talk
- Repositories & Backports
- Ubuntu Backports
- Bug Reports / Support
- Ubuntu Backports
- System76 Support
- Apple Hardware Users
- Ubuntu Community Discussions
- Ubuntu, Linux and OS Chat
- Recurring Discussions
- Full Circle Magazine
- The Cafe
- Cafe Games
- Market
- Mobile Technology Discussions (CLOSED)
- Announcements & News
- Weekly Newsletter
- Membership Applications
- The Fridge Discussions
- Forum Council Agenda
- Forum Feedback & Help
- Request a LoCo forum
- Resolution Centre
- Ubuntu, Linux and OS Chat
- Other Discussion and Support
- Other OS Support and Projects
- Other Operating Systems
- Ubuntu/Debian BASED
- Debian
- MINT
- Arch and derivatives
- Fedora/RedHat and derivatives
- Mandriva/Mageia
- Slackware and derivatives
- openSUSE and SUSE Linux Enterprise
- Mac OSX
- PCLinuxOS
- Gentoo and derivatives
- Windows
- BSD
- Any Other OS
- Other Operating Systems
- Assistive Technology & Accessibility
- Art & Design
- Education & Science
- Documentation and Community Wiki Discussions
- Tutorials
- Outdated Tutorials & Tips
- Ubuntu Women
- Ubuntu LoCo Team Forums
- Americas LoCo Teams
- Argentina Team
- Software
- Hardware
- Comunidad
- Arizona Team — US
- Arkansas Team — US
- Brazil Team
- California Team — US
- Canada Team
- Centroamerica Team
- Chile Team
- Comunidad
- Hardware
- Software
- Instalaci�n y Actualizaci�n
- Colombia Team — Colombia
- Georgia Team — US
- Illinois Team
- Indiana — US
- Kentucky Team — US
- Maine Team — US
- Minnesota Team — US
- Mississippi Team — US
- Nebraska Team — US
- New Mexico Team — US
- New York — US
- North Carolina Team — US
- Ohio Team — US
- Oklahoma Team — US
- Oregon Team — US
- Pennsylvania Team — US
- Peru Team
- Texas Team — US
- Uruguay Team
- Utah Team — US
- Virginia Team — US
- West Virginia Team — US
- Argentina Team
- Asia and Oceania LoCo Teams
- Australia Team
- Bangladesh Team
- Hong Kong Team
- Myanmar Team
- Philippine Team
- Singapore Team
- Europe, Middle East, and African (EMEA) LoCo Teams
- Albania Team
- Catalan Team
- Portugal Team
- Egypt Team
- Georgia Team
- Ireland Team — Ireland
- Kenyan Team — Kenya
- Kurdish Team — Kurdistan
- Lebanon Team
- Morocco Team
- Saudi Arabia Team
- Sudan Team
- Tunisia Team
- Other Forums & Teams
- LoCo Archive
- Afghanistan Team
- Alabama Team — US
- Alaska Team — US
- Algerian Team
- Andhra Pradesh Team — India
- Austria Team
- Bangalore Team
- Bolivia Team
- Cameroon Team
- Colorado Team — US
- Connecticut Team
- Costa Rica Team
- Delhi Team
- Ecuador Team
- El Salvador Team
- Florida Team — US
- Galician LoCo Team
- Greek team
- Hawaii Team — US
- Honduras Team
- Idaho Team — US
- Iowa Team — US
- Jordan Team
- Kansas Team — US
- Libya Team
- Louisiana Team — US
- Maryland Team — US
- Massachusetts Team
- Michigan Team — US
- Missouri Team — US
- Montana Team — US
- Namibia Team
- Nevada Team — US
- New Hampshire Team — US
- New Jersey Team — US
- Northeastern Team — US
- Panama Team
- Paraguay Team
- Qatar Team
- Quebec Team
- Rhode Island Team — US
- Senegal Team
- South Carolina Team — US
- South Dakota Team — US
- Switzerland Team
- Tamil Team — India
- Tennessee Team — US
- Trinidad & Tobago Team
- Uganda Team
- United Kingdom Team
- US LoCo Teams
- Venezuela Team
- Wales Team
- Washington DC Team — US
- Washington State Team — US
- Wisconsin Team
- Yemen Team
- Za Team — South Africa
- Zimbabwe Team
- Americas LoCo Teams
- Other OS Support and Projects
- Ubuntu Official Flavours Support
Tags for this Thread
Bookmarks
Bookmarks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
vBulletin �2000 — 2023, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical � Canonical Ltd. Tango Icons � Tango Desktop Project.
User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. For details and our forum data attribution, retention and privacy policy, see here
Error opening terminal: xterm-256color
When I try to nano something on my server I’m getting this error «Error opening terminal: xterm-256color.» that I’ve never seen before, and on top of that nano used to work fine last week. Even when I use vi, the file will open but I can’t manipulate using normal vi commands. When I press i to activate insert mode and then try to navigate the document, it just types an A or B or something. The only thing that changed is I lost my private key and had to generate a new one, so I had to upload the new public key to my server. Anyone know why this is happening? The server is running Ubuntu 8.04 Hardy. SOLUTION Open Terminal, select from the menu Terminal > Preferences > Settings > Advanced and under Emulation select «Declare terminal as: xterm-color not xterm-256color» Reference: http://ricochen.wordpress.com/2011/07/23/mac-os-x-lion-terminal-color-remote-access-problem-fix/
As of Mac OS X Lion 10.7, Terminal’s default $TERM value is xterm-256color. (Prior to Lion it was xterm-color.) If you’re connecting to a remote host that doesn’t have the necessary terminfo files installed, I recommend you install them. Selecting xterm-color is a workaround, but disables some important enhancements that are new in Lion Terminal. At the very least, you should try using xterm instead of xterm-color to see how that works for you, because xterm-color represents an older branch of xterm that isn’t as capable as modern xterm.