The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
running command remotely to populate local variable hcclnoodles Shell Programming and Scripting 3 11-20-2008 11:02 AM
Running UNIX commands remotely in Windows box from Unix box – avoid entering password D.kalpana UNIX for Dummies Questions & Answers 1 04-20-2007 05:24 AM
Problem in mozilla running. balarajum HP-UX 3 03-21-2007 09:32 AM
Running an Interactive Program Remotely Terrible Shell Programming and Scripting 3 10-19-2006 11:48 PM
running commands with remotely with Telnet Terrible Shell Programming and Scripting 2 06-27-2006 04:47 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-06-2009
daveisme daveisme is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 39
Mozilla running remotely

We have a server that has CDE and Mozilla installed on it. I have a develpoer who want to have an application start Mozilla locally on the AIX server (which has no video card) or wants Mozilla running on the server at all times. Can anybody tell me if this is at all possible? If so how and if not why. I don't think it but wanted to verify.
  #2 (permalink)  
Old 10-06-2009
funksen funksen is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2006
Location: Austria/Vienna
Posts: 430
he has to install an xserver emulator on windows,

then ssh/telnet/rlogin to the aix-machine
run
Code:
export DISPLAY=hisdesktopip:0
:0 may vary, but should be default
and then start mozilla

mozilla should open on his local xserver on windows

I used cygwin for this, as long as I used windows
just open a shell in cygwin and start the xserver with "startx"


if on linux, the xsession can be tunneld over ssh
login to the server using

Code:
ssh -X aixhost
sshd on aix must allow X11 forwarding
in /etc/ssh/sshd_config:
Code:
#X11Forwarding no
X11Forwarding yes
Code:
stopsrc -s sshd
startsrc -s sshd
mozilla should open on his local linux xserver then


if ssh is not available, he can forward his ip adress as described above, and has to
run
Code:
xhost +aixip
on his desktop

to allow the remote X11 connection to his local xserver


there should be a way to tunnel the xsession over ssh on windows too, but I havent spent time in this yet



the other question is, what is he trying to do with the aix mozilla? if there is an webserver running on the aix-system, then it should be accessible from his local desktop browser too
if you have a firewall between aix-server and his desktop, then the simple X11 forwarding will not work, you need to activate port 6000 on the firewall for his desktop ip
  #3 (permalink)  
Old 10-06-2009
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,661
Quote:
Originally Posted by funksen View Post
if you have a firewall between aix-server and his desktop, then the simple X11 forwarding will not work, you need to activate port 6000 on the firewall for his desktop ip
As I recall, if there are routers in between, they must also be configured property for X to work across a network.

Maybe this can be circumvented by tunneling?
  #4 (permalink)  
Old 10-06-2009
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
  
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,628
Quote:
Originally Posted by Neo View Post
As I recall, if there are routers in between, they must also be configured property for X to work across a network.
"Routers" in a closer sense (that is: Layer-3-devices) will not have to be configured for this at all, because X uses simple TCP connections (to port 6000, as mentioned) and routers will almost always forward TCP packets.

If the router in question has some gateway/firewall (which is a Layer-4-device) functionality, then what garethr has said applies. If you want to avoid tunneling then, yes, you would have to configure the router accordingly.

bakunin
  #5 (permalink)  
Old 10-06-2009
garethr garethr is offline
Registered User
  
 

Join Date: May 2009
Location: England
Posts: 89
If you use the ssh tunneling (-X) then you don't have to worry about firewalls in between because it is all tunneled down the single port 22 TCP connection.
Reply

Bookmarks

Tags
networking, xwindows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:36 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0