Why SSH X forwarding opens application in text mode ?

Solution Verified - Updated -

Issue

  • Start first ssh session using ssh -X from client to RHEL6 system, gets display variable as localhost:10.0 this opens up a GUI application (emacs) it opens fine, logout using <CTRL>+<D>

  • Open a second ssh -X session from client to RHEL6 system, gets display variable as localhost:10.0 now GUI application fails to launch, if tries to open emacs it opens in a text mode.

Environment

  • Red Hat Enterprise Linux 6
  • SSH
  • Emacs

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.