[expert] xterm from mandrake to solaris box

2002-08-15 Thread Oliver Thieke

Hi out there at the screens,

I've got a borderline case here...  I'm in the process
of switching from a Windows environment to an Mandrake
based one. Right now I'm struggling with the following
problem:
I want to connect with a xterm-Window from my Mandrake Box
to a SUN Solaris box.  I must use X since I want to start
an X app located on the Solaris machine.
I'm using a dual-boot workstation. On the Windows half
with Hummingbird eXceed installed and used everything
works fine and easy since years.
Changing to Mandrake 8.2 I'm unable to figure out how
to accomplish the same task. According to one of my LX
books it should be as easy as using the following command:

xterm -display 66.66.66.66:0

(assuming that 66.66.66.66 is the Solaris box' IP adress)

But all I get is the following error message:

/usr/X11R6/bin/xterm.real Xt error: can't open display: 66.66.66.66:0

(same holds true for variations of the -display option:
  -display 66.66.66.66:0.0, -display 66.66.66.66  etc.)

I was assuming that remotely accessing an X-Server would be
as easy as connecting with telnet or VNC to another machine.
Obviously it is not :-( ...

It can't be an Solaris or network issue since I'm using in
both cases the same machine with the same IP. With Windows (eXceed)
it works, with Mandrake (XFree86) it refuses to do so...
Hence it must be something with the local command execution or
the local linux X configuration...

I checked various Linux and Unix books, but they didn't come
up with anything helpful.  I searched this mailing lists' archive:
nothing.  I googled for it. I found the XDM and X Terminal mini-HOWTO.
They're saying in paragraph 6.2:

You can run X on a Linux box, instructing it to query a Solaris machine
  as previously described:
/usr/X11R6/bin/X -query 66.66.66.66

Obviously I'm not an X guru ;-).  If I start another X server, how
can a xterm then decide which one to connect to (the local one or
the remote one on Solaris) ?  I don't want to set up a complete
X-terminal. The Linux worksation should stay on its own. It just
should open one xterm (or x-app) on another machine.

I examined the eXceed config files for this case (windblows).
They say:
[Xstart]
Start Method=0
Command=xterm -display  9.9.9.9
Host=66.66.66.66
Host Type=SUN
(...)


OK - obviously I got the xterm's command syntax wrong. The -display
option has to point to the machine the xterm is running on (and
not as I read and assumed first to the remote machine). But how to
I tell my xterm then which host it should connect to ?

I browsed a little bit thru /etc/X/ and found /etc/x/xdm/Xservers.
But that's too deep inside X for me. I didn't want to play arround
with X' config...

Now I'm kinda lost...  Any pointers ?

Many thanx for your help in advance !

Greetings from the polish border :-)

Oliver




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] xterm from mandrake to solaris box

2002-08-15 Thread kwan

On Thu, 15 Aug 2002, Oliver Thieke wrote:

 Hi out there at the screens,
 
 I've got a borderline case here...  I'm in the process
 of switching from a Windows environment to an Mandrake
 based one. Right now I'm struggling with the following
 problem:
 I want to connect with a xterm-Window from my Mandrake Box
 to a SUN Solaris box.  I must use X since I want to start
 an X app located on the Solaris machine.
 I'm using a dual-boot workstation. On the Windows half
 with Hummingbird eXceed installed and used everything
 works fine and easy since years.
 Changing to Mandrake 8.2 I'm unable to figure out how
 to accomplish the same task. According to one of my LX
 books it should be as easy as using the following command:
 
   xterm -display 66.66.66.66:0
 
 (assuming that 66.66.66.66 is the Solaris box' IP adress)
 
 But all I get is the following error message:
   
   /usr/X11R6/bin/xterm.real Xt error: can't open display: 66.66.66.66:0
 
 (same holds true for variations of the -display option:
   -display 66.66.66.66:0.0, -display 66.66.66.66  etc.)

It seems that you're trying to run an X application on the Solaris box
and have it display on the local Mandrake box. If so, try this:

Assuming the mandrake box is called host1 and the sun is host2:

On the local Mandrake box type in an Xterm:

  xhost + host2 

  telnet host2

  (login)

  DISPLAY=host1:0; export DISPLAY

  xterm 


This should start an xterm on your local machine that's running on the
remote.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] xterm from mandrake to solaris box

2002-08-15 Thread Mark Belanger

On Thu, 2002-08-15 at 17:08, Oliver Thieke wrote:
 Hi out there at the screens,
 
 I've got a borderline case here...  I'm in the process
 of switching from a Windows environment to an Mandrake
 based one. Right now I'm struggling with the following
 problem:
 I want to connect with a xterm-Window from my Mandrake Box
 to a SUN Solaris box.  I must use X since I want to start
 an X app located on the Solaris machine.
 I'm using a dual-boot workstation. On the Windows half
 with Hummingbird eXceed installed and used everything
 works fine and easy since years.
 Changing to Mandrake 8.2 I'm unable to figure out how
 to accomplish the same task. According to one of my LX
 books it should be as easy as using the following command:
 
   xterm -display 66.66.66.66:0

Try running xhost + on your linux box before
running the xterm on Sol.

-Mark

 
 (assuming that 66.66.66.66 is the Solaris box' IP adress)
 
 But all I get is the following error message:
   
   /usr/X11R6/bin/xterm.real Xt error: can't open display: 66.66.66.66:0
 
 (same holds true for variations of the -display option:
   -display 66.66.66.66:0.0, -display 66.66.66.66  etc.)
 
 I was assuming that remotely accessing an X-Server would be
 as easy as connecting with telnet or VNC to another machine.
 Obviously it is not :-( ...
 
 It can't be an Solaris or network issue since I'm using in
 both cases the same machine with the same IP. With Windows (eXceed)
 it works, with Mandrake (XFree86) it refuses to do so...
 Hence it must be something with the local command execution or
 the local linux X configuration...
 
 I checked various Linux and Unix books, but they didn't come
 up with anything helpful.  I searched this mailing lists' archive:
 nothing.  I googled for it. I found the XDM and X Terminal mini-HOWTO.
 They're saying in paragraph 6.2:
 
 You can run X on a Linux box, instructing it to query a Solaris machine
   as previously described:
   /usr/X11R6/bin/X -query 66.66.66.66
 
 Obviously I'm not an X guru ;-).  If I start another X server, how
 can a xterm then decide which one to connect to (the local one or
 the remote one on Solaris) ?  I don't want to set up a complete
 X-terminal. The Linux worksation should stay on its own. It just
 should open one xterm (or x-app) on another machine.
 
 I examined the eXceed config files for this case (windblows).
 They say:
   [Xstart]
   Start Method=0
   Command=xterm -display  9.9.9.9
   Host=66.66.66.66
   Host Type=SUN
   (...)
 
 
 OK - obviously I got the xterm's command syntax wrong. The -display
 option has to point to the machine the xterm is running on (and
 not as I read and assumed first to the remote machine). But how to
 I tell my xterm then which host it should connect to ?
 
 I browsed a little bit thru /etc/X/ and found /etc/x/xdm/Xservers.
 But that's too deep inside X for me. I didn't want to play arround
 with X' config...
 
 Now I'm kinda lost...  Any pointers ?
 
 Many thanx for your help in advance !
 
 Greetings from the polish border :-)
 
 Oliver
 
 
 
 

 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com
-- 
Mark Belanger
LTX Corporation




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] xterm from mandrake to solaris box

2002-08-15 Thread Alfredo C. López

Hi!

You should accept connection from X servers to your tty with 
xhost + 
in any xterm or konsole in the mandrake machine. 
 (this accept from everyone.. use with care)
More info
 man xhost

XHOST(1) XHOST(1)

NAME
   xhost - server access control program for X

SYNOPSIS
   xhost [[+-]name ...]

DESCRIPTION
   The  xhost program is used to add and delete host names or
   user names to the list allowed to make connections to  the
   X  server.  In the case of hosts, this provides a rudimen­
   tary form of privacy control and  security.   It  is  only
   sufficient  for  a  workstation (single user) environment,
   although it does limit  the  worst  abuses.   Environments
   which require more sophisticated measures should implement
   the user-based mechanism or use the hooks in the  protocol
   for passing other authentication data to the server.



El Jue 15 Ago 2002 18:08, Oliver Thieke escribió:
 Hi out there at the screens,

 I've got a borderline case here...  I'm in the process
 of switching from a Windows environment to an Mandrake
 based one. Right now I'm struggling with the following
 problem:
 I want to connect with a xterm-Window from my Mandrake Box
 to a SUN Solaris box.  I must use X since I want to start
 an X app located on the Solaris machine.
 I'm using a dual-boot workstation. On the Windows half
 with Hummingbird eXceed installed and used everything
 works fine and easy since years.
 Changing to Mandrake 8.2 I'm unable to figure out how
 to accomplish the same task. According to one of my LX
 books it should be as easy as using the following command:

   xterm -display 66.66.66.66:0

 (assuming that 66.66.66.66 is the Solaris box' IP adress)

 But all I get is the following error message:

   /usr/X11R6/bin/xterm.real Xt error: can't open display: 66.66.66.66:0

 (same holds true for variations of the -display option:
   -display 66.66.66.66:0.0, -display 66.66.66.66  etc.)

 I was assuming that remotely accessing an X-Server would be
 as easy as connecting with telnet or VNC to another machine.
 Obviously it is not :-( ...

 It can't be an Solaris or network issue since I'm using in
 both cases the same machine with the same IP. With Windows (eXceed)
 it works, with Mandrake (XFree86) it refuses to do so...
 Hence it must be something with the local command execution or
 the local linux X configuration...

 I checked various Linux and Unix books, but they didn't come
 up with anything helpful.  I searched this mailing lists' archive:
 nothing.  I googled for it. I found the XDM and X Terminal mini-HOWTO.
 They're saying in paragraph 6.2:

 You can run X on a Linux box, instructing it to query a Solaris machine
   as previously described:
   /usr/X11R6/bin/X -query 66.66.66.66

 Obviously I'm not an X guru ;-).  If I start another X server, how
 can a xterm then decide which one to connect to (the local one or
 the remote one on Solaris) ?  I don't want to set up a complete
 X-terminal. The Linux worksation should stay on its own. It just
 should open one xterm (or x-app) on another machine.

 I examined the eXceed config files for this case (windblows).
 They say:
   [Xstart]
   Start Method=0
   Command=xterm -display  9.9.9.9
   Host=66.66.66.66
   Host Type=SUN
   (...)


 OK - obviously I got the xterm's command syntax wrong. The -display
 option has to point to the machine the xterm is running on (and
 not as I read and assumed first to the remote machine). But how to
 I tell my xterm then which host it should connect to ?

 I browsed a little bit thru /etc/X/ and found /etc/x/xdm/Xservers.
 But that's too deep inside X for me. I didn't want to play arround
 with X' config...

 Now I'm kinda lost...  Any pointers ?

 Many thanx for your help in advance !

 Greetings from the polish border :-)

 Oliver

-- 
=
 Lic. Alfredo Carlos López
 INIFTA - UNLP   Phone: +54-221-425 7430
 Instituto de InvestigacionesFax: +54-221-425 4642
 Fisicoquímicas Teórica y Aplicada.
 Suc. 4 C.C. 16
 1900 La Plata, Argentina

 Calle 68 nro.74 (e118/119) Dto. 15Phone: +54-221-423 6240 
 1900 La Plata, Argentina Cell-Phone: +54-221-(15) 455 0141
=
One of the symptoms of an approaching nervous breakdown
 is the belief that one's work is terribly important.
   - Bertrand Russell (1872-1970)




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] xterm from mandrake to solaris box

2002-08-15 Thread Chuck Shirley

On Thursday 15 August 2002 17:08, Oliver Thieke wrote:
Hi out there at the screens,

Changing to Mandrake 8.2 I'm unable to figure out how
to accomplish the same task. According to one of my LX
books it should be as easy as using the following command:

   xterm -display 66.66.66.66:0

(assuming that 66.66.66.66 is the Solaris box' IP adress)

But all I get is the following error message:
   
   /usr/X11R6/bin/xterm.real Xt error: can't open display: 66.66.66.66:0

(same holds true for variations of the -display option:
  -display 66.66.66.66:0.0, -display 66.66.66.66  etc.)


Hi!  I don't know if you've figured out your problem yet, but I think
you have the direction wrong.  your command:

   xterm -display 66.66.66.66:0

would open an xterminal displaying on the Solaris box, since you say
that 66.66.66.66 is the ip address for the Solaris machine.  You need
to connect to the Solaris machine, and tell it to run an xterm on the
Mandrake box:

[Mandrake]$ xhost +Solaris.box
Solaris.box being added to access control list
[Mandrake]$ rsh Solaris.box xterm -display Mandrake.box

However, it is much safer to use ssh, which will take care
of access control on it's own:

[Mandrake]$ ssh Solaris.box xterm

Best regards,
Chuck

-- 
 +-% He's a real  UNIX Man $-+-+
  \  Sitting in his UNIX LAN  \  Charles A. Shirley \
   \ Making all his UNIX plans \   cashirley (at) comcast (dot) net  \
+--# For  nobody --+-+





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com