Re: [gentoo-user] Re: X11 from another machine [SOLVED]

2007-05-30 Thread Alan McKinnon
On Tuesday 29 May 2007, Andrew Lowe wrote:
 Sounds simple but the amount of stuffing around I had to do
 before it eventually workedprobably best left unsaid. Anyway,
 thanks to all for the help and here's hoping I get access to SSH the
 next time I have to do anything like this.

It's not all time wasted :-) In fact, I would say you've learned a ton 
of stuff that will stand you in very good stead for the future. You now 
know how to export X11 over the network, which is one of the basic 
things X was designed to do. However, very very very few Linux users 
seem to know how to do it :-)

You know the secret to getting a DM to allow it all in the first place, 
and you also know what to do when ssh capabilities are on the server.

So all round it sounds like a useful exercise you went through. In fact 
it sounds *exactly* like the stuffing around I had to do when I learned 
the same lessons :-)

alan

-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: X11 from another machine [SOLVED]

2007-05-29 Thread Andrew Lowe

Grant Edwards wrote:

However, the usual way to use remote X-based programs is just to let
SSH do that. It can provide a tunnel for X. This is especially easy if
the remote SSH server daemon has set its X11Forwarding configuration
setting set to yes (otherwise, it is really a bit harder and not
suggested). Then, you just would connect using ssh -X [EMAIL PROTECTED] and
that's it, SSH will care for creating a socket on the remote machine
and set the DISPLAY variable accordingly.


NB: I've found that using -Y instead of -X can speed up some
applications by a factor of 50 or more.



	Thank you all for your responses, although, due to me not initially 
providing all of the needed info, some peoples responses were not valid. 
My problem was I had to forward from an 8 year old SUN server, with no 
keyboard or monitor to my linux box. It's running Sunos5.? and DOES NOT 
have SSH - g!!! Only telnet!


Between the replies I got and and more Googling, I had to:

telnet into the SUN box.

On the SUN box export the DISPLAY system variable with it pointing to my 
machine.


Tell the linux box default xorg window manager and then kdm, when I 
subsequently installed it, to not ignore tcp ie comment out the 
-nolisten tcp config variable.


Couldn't get xauth to work so I used xhost to tell my machine to accept 
the connection from the Sun server.


Fired up the CAD system from the telnet login and hey presto, 
MicroStation on my linux box.


	Sounds simple but the amount of stuffing around I had to do before it 
eventually workedprobably best left unsaid. Anyway, thanks to all 
for the help and here's hoping I get access to SSH the next time I have 
to do anything like this.


Regards,
Andrew
--
[EMAIL PROTECTED] mailing list