The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
port forwarding imloaded24_7 UNIX for Advanced & Expert Users 1 11-21-2006 08:36 AM
X11 Forwarding Problem natter Linux 3 09-14-2005 06:39 AM
ssh forwarding to X11 ginese OS X (Apple) 0 02-25-2005 08:53 PM
ip forwarding win2khater IP Networking 1 11-13-2003 07:04 AM
E-mail forwarding BigBro UNIX for Dummies Questions & Answers 1 12-03-2000 08:40 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 01-08-2006
Registered User
 

Join Date: Jan 2006
Posts: 8
X11 forwarding not working

Hi,

I am using Putty, enabled SSH X11 forwarding and entered the X11 display location as "localhost:0". However I encountered the following error:

------------------------------------
[root@localhost ~]# xclock &
[1] 2941
[root@localhost ~]# X connection to localhost:10.0 broken (explicit kill or server shutdown).

[1]+ Exit 1 xclock
[root@localhost ~]#
------------------------------------

Any ideas?
Reply With Quote
Forum Sponsor
  #2  
Old 01-09-2006
Registered User
 

Join Date: Oct 2002
Posts: 676
It looks like there is no X server running on your local machine. What X server are you using?
Reply With Quote
  #3  
Old 01-10-2006
Registered User
 

Join Date: Nov 2005
Location: Arizona
Posts: 82
He may not have realized putty does not include a X server.
Reply With Quote
  #4  
Old 01-10-2006
Registered User
 

Join Date: Jan 2006
Posts: 8
Hi guys thanks for the suggestions but I solved the problem. I simply need a X emulator (e.g. X-Win32) on my Windows laptop to solve the problem.

There are no problems on the linux machine, just need to export the display to my windows pc for things to work. Forgot the fact that windows cant display X :P

linux# export DISPLAY=<winpc_ip>:0
linux# xclock &

Works perfectly, can see the clock on my windows PC
Reply With Quote
  #5  
Old 01-10-2006
Registered User
 

Join Date: Oct 2002
Posts: 676
Quote:
Originally Posted by panggou
Hi guys thanks for the suggestions but I solved the problem. I simply need a X emulator (e.g. X-Win32) on my Windows laptop to solve the problem.

There are no problems on the linux machine, just need to export the display to my windows pc for things to work. Forgot the fact that windows cant display X :P

linux# export DISPLAY=<winpc_ip>:0
linux# xclock &

Works perfectly, can see the clock on my windows PC
Exactly, you needed an X server.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
export display

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:35 PM.


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