Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Displaying X apps from a job: msg#00122

clustering.torque.user

Subject: Re: Displaying X apps from a job

On Thu, Feb 16, 2006 at 03:02:45PM -0700, John Hanks wrote:

> A given connection looks like:
>
> PC <-> eth0:MASTERNODE:eth1 <-> NODE
>
> eth0 has a public IP, eth1 is the internal private
> (10.0.0.0/255.255.252.0) network. With my existing configuration I can
> ssh from PC to MASTER then ssh from MASTER to NODE, start and X app and
> it displays on PC.

> What I can't do is:
>
> ssh from PC to MASTER, submit job with X app and have job display on PC
>
> So I know it's possible for something running on a NODE to display back
> to PC, it just doesn't work through submitted jobs.

There are possibly several things at work here:

1) Does MASTER actually route, NAT, or masquerade traffic from the
nodes out to the rest of the public network? Can node systems ping or
otherwise contact systems outside their private network? If no, then
no direct display forwarding can happen except with the two-hop
process you have working. In that case, the only reason things are
working at all is that NODE can reach MASTER directly, and can send X
traffic to it. MASTER can reach your PC directly, and knows that your
X traffic from NODE should go to PC via ssh.

2) If the answer to the above routing question is yes, then if you
'qsub -I' to a node, can you set your DISPLAY variable back to PC:0 or
PC:0.0 and get any X app (xlogo, xterm) to display? If you get a
"cannot open display" error at that point, then does your local PC
allow X connections from other systems? If all you've done in the past
is X over ssh, then it's possible that PC is set to only allow X
connections from localhost, which is more secure, and works fine with
X forwarding over ssh. 'xhost +' on NODE won't help at all, you'd need
to do that on PC (but maybe I misread, and you've already done that).

--
Mike Renfro / R&D Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- renfro@xxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
ide.eclipse.wtp...    bug-tracking.ro...    xfree86.cvs/200...    lisp.wxcl.devel...    file-systems.ar...    kde.devel.kwrit...    jakarta.jetspee...    qnx.openqnx.dev...    drivers.openib/...    ports.xbox.deve...    gis.gdal.devel/...    netbsd.ports.ma...    ubuntu.marketin...    systemtap/2005-...    web.omniweb/200...    mail.qmail.ldap...    hardware.soekri...    os.netbsd.devel...    audio.madman.ge...    tv.freeguide-tv...    cluster.openmos...    education.ezpro...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation