On Sat, 20 Oct 2001, Selvikunnam wrote:

> I am having 10 Linux M/C in my network .How can i login to another linux M/C
> through xwindows?
>
>
> In solaris there is an option in login screen like "log on to onother
> host".. Is there anything like in Linux
>
There are a couple of ways to do it.  If you have xdm, kdm, or gdm
running on the machine you want to log in to, you can connect to it in a
couple of ways.  You have to have to configure Xaccess to allow access
from your machine.  From X, use "Xnest :1 -query <host> -once".  This
will open a window on your desktop with the login screen from <host>.
>From the command line, you can run something like
"X -query <host> -once".  Yu can also run "X -broadcast -once", but
you never know what host you will be logging in to.  You can also set up
one host to display a list of hosts you can log into, and contact it
with ""X -indirect <host> -once"  (The -once option is so that X will
terminate when you log out.)  All the options for X will also work for
Xnest.

Now, if you just want to run an X based program on the other machine,
I would use openSSH with X forwarding enabled.  You can launch it from
an xterm, connect to the other machine, and run the program you want.
A window or windows will pop up on your display just like you started
the program running on your local machine.  You can also set up menu
entries that will do this automaticly.  For example,
"ssh slave /usr/bin/tkremind" where slave is the machine to connect to,
and tkremind is the program to run.  This works well if you have ssh set
up to use key pairs to login.  (If your key has a password, a window
will pop up asking for the key password.)

You will find much more information if you read the Remote-X-apps HOWTO.

Mikkel
-- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to