Solved

NEWBE: starting remote X programmes: cannot open display

Posted on 2002-03-22
2
230 Views
Last Modified: 2010-04-20
I've installed Suse 7.3 to my Intl PII 450. I've tried to log on to another computer through ssh. Worked fine. Only starting an graphical programme does not bring up that screen, but instead gives the message:

error: cannot open display

I have used other distro's (configured be others, that's true) and it worked fine there. Any ideas?
0
Comment
Question by:asciiman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Expert Comment

by:bearware
ID: 6889342
1st on the local machine
run:
xhost REMOTEMACHINENAME

2st you need to set the DISPLAY variable

DISPLAY=LOCALMACHINENAME:0

Then it should work

P.S. step 1 is hooky and insecure, If your network is insecure dont use it. use xauth instead.

alternative step 1
Copy .xauth to remote machine home directory (securly)
If it does not work, you have to run xauth by hand read the manual: man xauth

0
 
LVL 40

Accepted Solution

by:
jlevie earned 50 total points
ID: 6889668
Hmmm, it sounds like ssh on the local SuSE box might be defaulting to not forwarding X. Check /etc/ssh/ssh_config for:
     ForwardX11 yes

If you don't want to change the default you can tell ssh to forward X when you connect with:

     ssh -X user@remote-server.dom.tld
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question