The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Xserver shamsul SUN Solaris 1 06-01-2008 07:14 AM
xserver problem - hang tanvirscsa SUN Solaris 0 09-28-2007 12:46 PM
Looking for recommendations for free Xserver umen UNIX for Dummies Questions & Answers 3 06-26-2006 06:14 AM
XServer Fails to start mahartle UNIX for Advanced & Expert Users 0 09-13-2005 09:16 AM
Xserver won't come up on Solaris 8 Gravity SUN Solaris 5 01-10-2004 01:01 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 12-06-2007
Registered User
 

Join Date: May 2005
Posts: 192
Xserver

Hi,
From my workstation (win XP)I open a telnet session on Linux(Red Hat) server.
When I issue :
[root@server ~]# xclock
I have :
Error: Can't open display:

Then :
[root@server ~]# export DISPLAY=192.16.1.87:0.0
[root@server ~]# xclock
Error: Can't open display: 192.16.1.87:0.0
Do you have an idea ?

Many thanks.
Reply With Quote
Forum Sponsor
  #2  
Old 12-06-2007
andryk's Avatar
Registered User
 

Join Date: Sep 2003
Posts: 448
Hi,
Well a xserver or something alike (exceed, reflection etc) must be running and accepting connection on 192.16.1.87.
Enjoy linux.
Reply With Quote
  #3  
Old 12-06-2007
Registered User
 

Join Date: May 2005
Posts: 192
Thank you. It is runing and on the server when I type xclock the clock appears on monitor. How to make server accept connection on 192.16.1.87 ?
Regards.
Reply With Quote
  #4  
Old 12-06-2007
Registered User
 

Join Date: May 2005
Posts: 192
Do you know how to stop restart my GNOME Display Manager (GDM) ?

Thank you.
Reply With Quote
  #5  
Old 12-06-2007
Registered User
 

Join Date: Feb 2005
Posts: 53
If connecting by telnet you need to set DISPLAY on remote machine and allow it to connect to your local machine by issuing
xhost _addr_
on local machine.
Of course local XServer should listen on port 6000 (i.e. not be started with '-nolisten') and both firewalls [if any] should be suitable configured.

Try also modern way with "ssh -X" -- on Win machines "plink" is equivalent.

Regards,
Reply With Quote
  #6  
Old 12-06-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Also,

run

1. Cygwin's XWin on your client
2. run putty or plink to provide a tunnel for X
3. run "Xnest :1 -query localhost" on remote machine in ssh session
Reply With Quote
  #7  
Old 12-06-2007
Registered User
 

Join Date: May 2005
Posts: 192
Quote:
Originally Posted by odys View Post
allow it to connect to your local machine by issuing
xhost _addr_
on local machine.
local machine ? Is it my PC, my workstation ? Then where to issue
xhost 192.16.1.87:0.0 ? In a cmd box ?
Thank you.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
export display, linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:39 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0