Emil CHERICHES

Emil CHERICHES

Error: Can’t open display: localhost:10.0

February 4, 2015 Emil C
1 Comment

I use X Forwarging over SSH for several things to manage, such as virtual machines with “virt-manager”.

Today, when I wanted to run a graphical tool on one of the servers I kept getting this error.

Error: Can't open display: localhost:10.0

I verified all the possible configurations issued, launched the ssh command with -v argument yet nothing really usable.

Error: Can't open display: localhost:10.0
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0
debug1: channel 0: forcing write

Then I found this thread, I checked, localhost was already in /etc/hosts… but this got me thinking.

I checked the iptables configuration and there was no line to approve traffic on localhost, silly me!

iptables -I INPUT -s 127.0.0.1/32 -d 127.0.0.1/32 -j ACCEPT

Saved the iptables configuration and this solved the problem. Thought this might be a useful trick sometimes 🙂

Tips & Tricks linuxssh
Previous Post

Chasing Ads

Next Post

High Availability Load Balancer

  1. nucaura April 7, 2015 at 12:28 am Reply

    Multam. Uite, mie chiar mi-a prins bine trucul propus de trine. Dator cu o bere!!!

Leave a Reply Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts

  • Flash Tasmota on the Sonoff Mini – Linux user experience
  • DokuWiki a simple solution to sorting documentation
  • I discovered Wireguard
  • Using Let’s Encrypt with CentOS (for now)
  • Let’s Encrypt is Trusted

Categories

  • from the web
  • just blog
  • linux
    • Mail Server Series
  • News
  • phones
  • Phones & Tablets
  • programing
  • security
  • Smart Home
  • Tips & Tricks
  • Uncategorized
  • Web development
  • Windows

Blogroll

  • cheriches.fr
Subscribe by Email

Recent Posts

  • Flash Tasmota on the Sonoff Mini – Linux user experience
  • DokuWiki a simple solution to sorting documentation
  • I discovered Wireguard
  • Using Let’s Encrypt with CentOS (for now)
  • Let’s Encrypt is Trusted

Categories

  • from the web (3)
  • just blog (1)
  • linux (23)
    • Mail Server Series (7)
  • News (1)
  • phones (1)
  • Phones & Tablets (2)
  • programing (1)
  • security (2)
  • Smart Home (1)
  • Tips & Tricks (15)
  • Uncategorized (3)
  • Web development (1)
  • Windows (1)

Blogroll

  • cheriches.fr

Tags cloud

12.04 aircrack-ng Android Apache apt-get backports BlackBerry cache CentOS Chrome CSS CyanogenMod debian Dell dotdeb Dovecot Eee PC Firefox FPM GNOME Hardware internet explorer javascript KVM linux MariaDB MPM MySQL Nginx OpenVPN php piwik Postfix Postfix Admin RedHat release RHEL Samba SELinux smarty ubuntu wifi windows xp Youtube

Recent Comments

  • Frank on Dedicated Mail Server Hosting Multiple Domains – Step 3 – Postfix and Dovecot
  • Andrew Schott on Dedicated Mail Server Hosting Multiple Domains – Step 3 – Postfix and Dovecot
  • Emil C on Dedicated Mail Server Hosting Multiple Domains – Step 3 – Postfix and Dovecot
  • Andrew Schott on Dedicated Mail Server Hosting Multiple Domains – Step 3 – Postfix and Dovecot
  • Emil C on Dedicated Mail Server Hosting Multiple Domains – Step 3 – Postfix and Dovecot
Proudly powered by WordPress | Theme: Fmi by Forrss.