<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>termite Archives - Tech Antidote</title>
	<atom:link href="https://techantidote.com/tag/termite/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>‎ &#124; LINUX &#124; Tech &#124; Security &#124;</description>
	<lastBuildDate>Mon, 31 May 2021 23:32:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>

<image>
	<url>https://techantidote.com/wp-content/uploads/2016/02/cropped-google-plus-profile-picture-32x32.png</url>
	<title>termite Archives - Tech Antidote</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">106369530</site>	<item>
		<title>How to fix &#8220;Error opening terminal: xterm-termite&#8221; when trying to SSH to a remote host</title>
		<link>https://techantidote.com/how-to-fix-error-opening-terminal-xterm-termite-when-trying-to-ssh-to-a-remote-host/</link>
					<comments>https://techantidote.com/how-to-fix-error-opening-terminal-xterm-termite-when-trying-to-ssh-to-a-remote-host/#respond</comments>
		
		<dc:creator><![CDATA[]]></dc:creator>
		<pubDate>Mon, 31 May 2021 23:27:06 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[arch-linux]]></category>
		<category><![CDATA[archlinux]]></category>
		<category><![CDATA[i3-gaps]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[termite]]></category>
		<category><![CDATA[xterm-termite]]></category>
		<guid isPermaLink="false">https://techantidote.com/?p=3499</guid>

					<description><![CDATA[<p>I am using &#8220;termite&#8221; on my ArchLinux machine but when I try to SSH to a remote linux machine(Ubuntu) to run some commands, it throws me an error &#8220;Error opening terminal: xterm-termite&#8220;. This a post on how to fix it. Quick Fix: If you are already SSH&#8217;ed into the remote machine and you see this &#8230; <a href="https://techantidote.com/how-to-fix-error-opening-terminal-xterm-termite-when-trying-to-ssh-to-a-remote-host/" class="more-link">Continue reading <span class="screen-reader-text">How to fix &#8220;Error opening terminal: xterm-termite&#8221; when trying to SSH to a remote host</span> <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://techantidote.com/how-to-fix-error-opening-terminal-xterm-termite-when-trying-to-ssh-to-a-remote-host/">How to fix &#8220;Error opening terminal: xterm-termite&#8221; when trying to SSH to a remote host</a> appeared first on <a href="https://techantidote.com">Tech Antidote</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I am using &#8220;<strong>termite</strong>&#8221; on my ArchLinux machine but when I try to SSH to a remote linux machine(Ubuntu) to run some commands, it throws me an error &#8220;<strong><em>Error opening terminal: xterm-termite</em></strong>&#8220;. This a post on how to fix it.</p>
<p><span style="text-decoration: underline;"><strong>Quick Fix:</strong></span></p>
<p>If you are already SSH&#8217;ed into the remote machine and you see this issue, you could update the <strong>TERM</strong> variable on the remote system: (Run on remote system)</p>
<pre><span style="color: #ff9900;"><strong>export TERM=xterm-256color</strong></span></pre>
<p><span style="text-decoration: underline;"><strong>Permanent Fix:</strong></span></p>
<p>The permanent fix is to edit <strong>your local</strong> <strong>~/.bashrc</strong> file to include the following:</p>
<pre><span style="color: #ff9900;"><strong>if [ "$TERM" = xterm ]; then
TERM=xterm-256color;
fi
export TERM=xterm-256color</strong>
</span></pre>
<p>In my case, I had to add it to my Arch Linux&#8217;s ~/.bashrc file. (i.e not on the remote Ubuntu machine that I am connecting to)</p>
<p>Here is a screenshot from my box: (Right click image and open in new team to view in full screen)</p>
<p><img fetchpriority="high" decoding="async" data-attachment-id="3507" data-permalink="https://techantidote.com/how-to-fix-error-opening-terminal-xterm-termite-when-trying-to-ssh-to-a-remote-host/my-arch-i3-gaps-rice/" data-orig-file="https://techantidote.com/wp-content/uploads/2021/06/my-arch-i3-gaps-rice.png" data-orig-size="1926,1080" data-comments-opened="1" data-image-title="my-arch-i3-gaps-rice" data-image-description="" data-image-caption="" data-large-file="https://techantidote.com/wp-content/uploads/2021/06/my-arch-i3-gaps-rice-1024x574.png" class="alignnone wp-image-3507 size-full" src="https://techantidote.com/wp-content/uploads/2021/06/my-arch-i3-gaps-rice.png" alt="arch linux termite i3-gaps" width="1926" height="1080" srcset="https://techantidote.com/wp-content/uploads/2021/06/my-arch-i3-gaps-rice.png 1926w, https://techantidote.com/wp-content/uploads/2021/06/my-arch-i3-gaps-rice-300x168.png 300w, https://techantidote.com/wp-content/uploads/2021/06/my-arch-i3-gaps-rice-1024x574.png 1024w, https://techantidote.com/wp-content/uploads/2021/06/my-arch-i3-gaps-rice-768x431.png 768w, https://techantidote.com/wp-content/uploads/2021/06/my-arch-i3-gaps-rice-1536x861.png 1536w" sizes="(max-width: 1926px) 100vw, 1926px" /></p>
<p>To verify its fixed, open a new terminal (or source ~/.bashrc again) and SSH into the remote machine. Ideally this should be fixed.</p>
<p>Hope this helps!</p>
<p><strong>Note:</strong> If you terminal does not support 256-color, then you may need to change the TERM variable to &#8220;xterm-color&#8221; instead of &#8220;xterm-256color&#8221;.</p>
<p><span style="text-decoration: underline;"><strong>Credits/References:</strong></span></p>
<p><a href="https://github.com/thestinger/termite/issues/630">Github</a></p>
<p>The post <a href="https://techantidote.com/how-to-fix-error-opening-terminal-xterm-termite-when-trying-to-ssh-to-a-remote-host/">How to fix &#8220;Error opening terminal: xterm-termite&#8221; when trying to SSH to a remote host</a> appeared first on <a href="https://techantidote.com">Tech Antidote</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techantidote.com/how-to-fix-error-opening-terminal-xterm-termite-when-trying-to-ssh-to-a-remote-host/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3499</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: techantidote.com @ 2026-10-23 03:56:32 by W3 Total Cache
-->