Re: Problem running exceed over VPN - possible workaround!
From: Steve Dancisin (
)
Date: Wed Jul 31 2002 - 08:02:24 EDT
I had the same problem, so I wrote a script that I
execute on the unix side that graps my IP address and
reopens it.......... I have attached the script:
OS=$(uname -s)
case ${OS} in
SunOS)
export DISPLAY=$(who -m | awk '{ print $6 }' |
sed 's/(//' | sed 's/)//')
# export DISPLAY=`nslookup ${DISPLAY} | grep -i
address | awk '{ if (NR == 2) { print $2}}'`
/usr/openwin/bin/xterm -ls -display ${DISPLAY}:0
-sb -sl 5000 -fn 9x15 \
-T `uname -n` -n `uname -n`
-bg cyan -j -rw -aw \
-si -sk $* &
;;
*)
TTY_AT_HOME=$(tty | sed 's/\/dev\///')
DISPLAY="$(who -m | grep "$TTY_AT_HOME" | awk '{
print $6 }' | tr -d "()"):0"
export DISPLAY=`echo $DISPLAY | sed 's/:0//' `
#
# Tries to lookup the host name from DNS. (Have to
discard everthing to the right of the first
# period since it is returned from the who command in
truncated format).
#
nslookup `echo ${DISPLAY} | awk -F. '{print $1}'`
2>&1 | egrep existent >>/dev/null 2>> /dev/null
#
# If it found a match on DNS, then it makes the
DISPLAY envronment variable reflect the hostname
# minues the information to the right of the first
decimal point.
#
if [[ $? != 0 ]] ; then
export DISPLAY=`echo ${DISPLAY} | awk -F.
'{print $1}'`
fi
echo $DISPLAY
/usr/bin/X11/xterm -ls -display ${DISPLAY}:0 -sb
-sl 5000 -fn 9x15 \
-T `uname -n` -n `uname -n` -bg
cyan -j -rw -aw -si -sk $* &
;;
esac
Hope this helps!
--- Bill Waldie <
> wrote:
> Saravana,
>
> The only way that I have found to get exceed to work
> with a VPN client is to
> explicitly set the display and not use the @d.
>
> Before you set up the VPN connection, your PC has an
> IP address PC.PC.PC.PC.
> After you set up the VPN connection and you're
> connected to the internal
> (your companies) network, a 'new' IP address
> (VPNPC.VPNPC.VPNPC.VPNPC) is
> assigned by the VPN concentrator
> (AUTH.AUTH.AUTH.AUTH) that authenticates
> you. Usually, there is some sort of control panel
> on your PC for the VPN
> session that tells you what your assigned IP address
> is.
>
> The command below, will try to open the display of
> the VPN concentrator.
> @(XTerm, method=stdappdb) -display @d&@;
>
> e.g. "xterm -display AUTH.AUTH.AUTH.AUTH:0.0"
>
> So, you should change the command to explicitly use
> your VPN address:
> @(XTerm, method=stdappdb) -display
> VPNPC.VPNPC.VPNPC.VPNPC:0.0&@;
>
> This is painful and difficult to automate, but does
> work.
>
> Regards,
> Bill
>
> -----Original Message-----
> From: Saravana Kumar [mailto:
]
> Sent: Monday, July 29, 2002 11:49 PM
> To:
> Subject: Re: Problem running exceed over VPN
>
>
> Hi Seth,
> I have tried on that..but still doesnt
> work.....can have a full
> command for this ...please do help me out this.
> Thank you
>
> BEST REGARDS
> SARAVANA KUMAR
> ISD
> PKTECH SDN BHD
> OFF : +603-77851149
> HP : +60127270024
>
>
>
> DISCLAIMER
>
> The information in this e-mail and any attachment(s)
> are confidential and
> may contain Privileged Information and copyright
> material and is intended
> solely for the intended addressee(s) and for
> authorized use and purposes
> only. If you are not an intended recipient, please
> delete the message and
> any attachments and notify the sender of
> misdelivery.
>
> Any disclosure, printing, copying, re-transmission,
> dissemination and use
> thereof in any manner, or acting in reliance
> thereupon, by person(s) other
> than the intended addressee(s) or use of which is
> authorized, is strictly
> prohibited.
>
> Any views or opinions presented are those of the
> author and are not given or
> endorsed by any entity within the PKTech Group of
> Companies unless clearly
> indicated in this message and the authority of the
> author to so bind the
> PKTech Group entity referred to is duly verified.
> PKTech does not accept
> legal responsibility for the contents of this
> message.
>
> All liability for computer viruses is excluded to
> the fullest extent
> permitted by law.
>
>
> -----Original Message-----
> From: Seth Kurtzberg [mailto:
]
> Sent: Tuesday, July 30, 2002 1:01 AM
> To: Title: ExceedUsers
> Cc: Saravana Kumar
> Subject: Re: Problem running exceed over VPN
>
>
> Usually, when a VPN is used, the "inside" part of
> the VPN is assigned a
> dynamic IP address. The DISPLAY variable on the
> client needs to be set to
> this dynamic IP address (followed by :0.0 or :0).
>
> On Monday 29 July 2002 00:49, you wrote:
> > Hi Team,
> > I'm using a hummingbird exceed.
> I'm having problem
> > connecting to a server is being connected via VPN.
> I need to use REXEC
> > and I have open the port for it as well. I guest
> there is some error
> > on my command if i'm connecting to the server via
> VPN. Could you
> > please let me know whether there is any other
> commands? The command
> > which I'm using now works fine if it's connected
> directly but not
> > working via VPN. Please do help me out on this
> issue and kindly do get
> > back to me as soon as possible. Thank you.
> >
> > My current command: @(XTerm, method=stdappdb)
> -display @d&@;
> >
> > BEST REGARDS
> > SARAVANA KUMAR
> > ISD
> > PKTECH SDN BHD
> > OFF : +603-77851149
> > HP : +60127270024
> >
> >
> >
> > DISCLAIMER
> >
> > The information in this e-mail and any
> attachment(s) are confidential
> > and may contain Privileged Information and
> copyright material and is
> > intended solely for the intended addressee(s) and
> for authorized use
> > and purposes only. If you are not an intended
> recipient, please
> > delete the message and any attachments and notify
> the sender of
> > misdelivery.
> >
> > Any disclosure, printing, copying,
> re-transmission, dissemination and
> > use thereof in any manner, or acting in reliance
> thereupon, by
> > person(s) other than the intended addressee(s) or
> use of which is
> > authorized, is strictly prohibited.
> >
> > Any views or opinions presented are those of the
> author and are not
> > given or endorsed by any entity within the PKTech
> Group of Companies
> > unless clearly indicated in this message and the
> authority of the
> > author to so bind the PKTech Group entity referred
> to is duly
> > verified. PKTech does not accept legal
> responsibility for the
> > contents of this message.
> >
> > All liability for computer viruses is excluded to
> the fullest extent
> > permitted by law.
>
> --
> Seth Kurtzberg
> MIS
> 480-661-1849
> Pager 888-605-9296 or
> Cell 480-620-1099
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
This archive was generated by hypermail 2b29
: Wed Jul 31 2002 - 23:54:01 EDT
|