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.
then ssh/telnet/rlogin to the aix-machine
run
: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
sshd on aix must allow X11 forwarding
in /etc/ssh/sshd_config:
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
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
Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Posts: 19,118
Thanks Given: 2,351
Thanked 3,359 Times in 1,878 Posts
Quote:
Originally Posted by funksen
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.
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.
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.
Dear Experts,
I have found this script on internet that can be used to execute local script remotely
#!/bin/bash
# runremote.sh
# usage: runremote.sh localscript remoteuser remotehost arg1 arg2 ...
realscript=$1
user=$2
host=$3
shift 3
# escape the arguments
declare -a args
... (4 Replies)
Hi all.
I need a bash script to run a function remotely. I think it should be similar to the following but can't figure out the exact syntax.
Here is the script:
#!/bin/bash
function nu ()
{
for var in {0..5}; do printf "$var, "; done; echo
}
ssh host "$(typeset -f); nu"
... (9 Replies)
Hello,
Please, what is the difference between running a script remotely:
ssh -t root@$machine -x "sshpass -p 'ubuntu' ssh -t ubuntu@$address -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/nul -x './c-launch.sh'"
and running a script directly on the host:
... (1 Reply)
facing issue with then error while running a local script aginst a remote server. i facing the same issue in multiple scripts. So what i am missing here or what is needed.
#!/bin/ksh
echo "enter the filename"
read file
if
then
echo "file exists"
else
echo "file does not exists"
fi
... (0 Replies)
When i use ssh command to execute local script on remote server , I am unable to do it.
Please let me know how this can be done in ksh
req=abc
dte=ghd
ssh username@hostname "$req $dte" < run_script.sh (2 Replies)
Hi
Can i ask?
I had multiple solaris workstation running and some local users using it. Is it possible to bind to the local user terminal or console he's using as if like the user well type and I can see it and what my typing in the local user see it also.
Is it possible..
Thanks. (3 Replies)
If I run this
# ssh remote-server 'du -sk /usr/platform/`uname -i`/'
174 /usr/platform/SUNW,Sun-Fire-V245
I get my output just fine,
However, if i try to do the same but populate a local variable within my script called for example 'result'
#!/bin/ksh
result=`ssh remote-server... (3 Replies)
hi to all,
I am installed mozilla on hp-ux machine.
That was after installing the software, i just do, the gunzip to that depot file, then untar it.
after what i have to do.
b'coz i am new to hp-ux.
i don't know which script i have to run.
thanks & regards,
Balaraju. (3 Replies)
now, i have a program that i would very much prefer to run remotely as i hate having to log into the box it is on.
the problem is, every command i have tried to run this remotely doesn't work.
the commands tries to kick off the program on the remote box but then hangs.
like take for... (3 Replies)
i have a box here that can only be accessed with telnet. now, i was wondering if anyone know of a way of which i can run a command on that box remotely. (2 Replies)