LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-15-2006, 10:55 AM   #1
binary_0011
Member
 
Registered: Apr 2006
Location: Singapore
Distribution: RHEL4,FC4,FC5
Posts: 89

Rep: Reputation: 15
more question pertaining to export display


1st question :

for example if I am from serverA , i do a :

xclock -display serverB:0.0

it wont work,

but I ssh to server B , then I type the above command again, it will work

Both server A anc B are linux box.

Am I right to say If I am going to export display from one server to another, i must be authenticated 1st?

2nd question :

this time, serverC is a windows box with reflection X installed.

if I am going to do a xclock -display serverC:0.0 , it work without even quthentication!

Thanks.
 
Old 10-15-2006, 04:21 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
On serverB use the xhost command to allow serverA to open X-Windows on it.

xhost +serverA

or just
xhost +

To allow any machine to open X-Windows to it.

X emulators such as reflectionX and eXceed essentially allow all connections unless you configure them not to.

Last edited by MensaWater; 10-15-2006 at 04:22 PM.
 
Old 10-16-2006, 03:26 AM   #3
binary_0011
Member
 
Registered: Apr 2006
Location: Singapore
Distribution: RHEL4,FC4,FC5
Posts: 89

Original Poster
Rep: Reputation: 15
it doesn't work.

anything i need to take note?
 
Old 10-16-2006, 05:55 PM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
It uses ports 6000 through 6010 for X displays. if something (e.g. a firewall) is blocking these it won't allow them to come through. On Windows XP I had to open those ports in the Windows firewall to get XP to allow for X windows to come up.

If the machines are in different subnets it may be the switches or routers between them are blocking the ports.

If there is a firewall blocking those ports that you can't get changed (e.g. the network guy tells you to go to heck) you can look into ssh x-tunneling wherein it actually uses an ssh (port 22) session you've opened from the client to the server. At that point it sets a special DISPLAY value and comes back over the original ssh connection rather than via the 6000 ports.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Export DISPLAY idk666 Linux - General 3 07-02-2009 11:58 AM
export DISPLAY binary_0011 Linux - Newbie 2 10-15-2006 10:09 AM
how to export the display bruse Linux - Networking 18 05-03-2005 09:13 PM
can't export my display to another systems jaybrus LinuxQuestions.org Member Intro 2 05-15-2004 04:29 AM
can't export my display to another systems jaybrus Linux - General 1 05-14-2004 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration