Hi, Pavel!
On Sat, May 13, 2000 at 04:06:43PM +0300, you wrote the following:
> hi all
> I tring to connect to remote machine..
> I am did it very find using telnet
> but i heard that it is also posible using Xclients runing on remote
> machine
> and xserver on my, can anyone please explain me or give a url with info
> how to do it
>
> I tried to telnet to the remote machine and run startx -display myip:0 &
What exactly are you trying to do? Your machine runs the X server. You
tried to start the X server on the remote machine, but you don't need
it, and you can't do it.
If you want to run an application from the remote machine that would
display on your X server, set the DISPLAY environment variable to the
address of your server and then start the application, e.g. in bash:
export DISPLAY=123.234.23.32:0
xterm &
Note that you have to instruct your server to accept this application
beforehand (otherwise anyone could start applications on your
server). There are many ways to do it, but the most secure one is
using MIT cookies. Type "xauth l" on your machine; you should get
something like this:
yourbox/unix:0 MIT-MAGIC-COOKIE-1 34b8219df14a7ec77156dcab72bf2ce6
yourbox:0 MIT-MAGIC-COOKIE-1 34b8219df14a7ec77156dcab72bf2ce6
Then on the remote machine do this:
xauth add yourbox:0 MIT-MAGIC-COOKIE-1 34b8219df14a7ec77156dcab72bf2ce6
Then you can export DISPLAY=yourbox:0 and start the app.
--
Alex Shnitman | http://www.debian.org
[EMAIL PROTECTED], [EMAIL PROTECTED] +-----------------------
http://alexsh.hectic.net UIN 188956 PGP key on web page
E1 F2 7B 6C A0 31 80 28 63 B8 02 BA 65 C7 8B BA
The best way to accelerate a Windows NT server is at 9.8 m/s^2.
-- Shaul Rosenzweig
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]