Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am trying to create a script that I can save on the desktop of my Primary computer and have it log in (get past the log in screen on the remote computers, and the banner) to multiple computers with the same user name and password in a LAN that is not connected to the internet.
I am also trying to create a script that starts a script on the desktop of these remote machines ON the remote machines, but I think I am on the verge of figuring that one out with the "expect" command in a script.
Sorry to bring this back up again but I am stumped on this. I can't find a command that will get the remote computers past the log in screen or a command that will execute something on the remote computer without it actually trying to execute it on the machine I am currently at.
What do you mean by the login screen specifically? Are you talking xdm? gdm? console? kdm? wdm? vnc? citrix? something else? Executing a command on a remote host is easy enough with a terminal services client or via ssh.
The graphical interface in CentOS that prompts for a username than password than shows the banner you have to click "ok" to.
As far as executing a shortcut on the remote computers desktop on that machine. I SSH into the remote computer than do a
than the script executes on my local machine rather than the remote one.
Unless you're exporting the display to your local machine the script executed over a ssh connection will not execute on your machine and even in the case of exporting the display it will not execute on your machine it will just display there.
That may be what is happening because once I execute the script the output or display tries to come up on the local machine instead of the remote machine. Is there a switch or command to have the output/display happen on the remote machine instead of the local machine?