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 have an automated process that ssh's into a remote box, runs a program that needs a GUI, I gather the output the program creates in a text file and exit the ssh session. This works great using Hummingbird Exceed on my local box and exporting the DISPLAY env variable on the remote box to my local IP address.
I really don't want to have to depend on Hummingbird Exceed or someother workaround like "ssh -X". Is there a way to spoof the $DISPLAY environment variable to make the Linux box think there is a display there so I can run GUI programs. Sounds odd but the GUI program I run actually shows on the screen the status of a telecom board I have installed and then exits automatically. It also creates the output in a text file which is really what I am after.
What if you set DISPLAY=:0.0? Essentially that's what the console would have. I just did it on one of my servers and ran xterm. The xterm process is still there even though I don't have X running on the console itself so it didn't do anything to the console.
Oops - Wasn't going to the machine I thought I was. The machine in question did have X Windows running on the console.
Last edited by MensaWater; 12-21-2006 at 01:03 PM.