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.
If I use "ssh IP" and type "firefox" it says "Error: no display specified"
If I use "ssh -X IP" it opens firefox in my computer (client). I would like to open it in server X session.
Then, I try things like "export DISPLAY=0.0" and (using "ssh IP") the result is "Error: cannot open display: 10.0"
OK, note that the machine on which an X app is *displayed* is the server, not the place you run it from. The model is basicaly the other way round. try "export DISPLAY=:0.0" noting the :. if you have permission problems then, run "xhost +localhost" as the owner of the remoteo X server.
That is an odd way of running most programs. You are launching the program remotely, but you need to be at the server to run it.
Usually, you would enter: ssh -X user@host
ssh will create a proxy for x server with a display of either :10.0 or :11.0 and then tunnel the X messages through the tunnel. A program running on the remote host will display to display :10.0, which results in the program being displayed locally.
If you are wanting to play a video on another computer, then this would be OK, but if you want to run any kind of graphical program, you would need to move to the remote computer to continue.
You used Firefox as an example, but this is a bad program to use as an example. The wrapper program will manipulate the display itself and you won't get what you expected unless you use the -no-remote option.