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 installed a embedded demo version of linux on an embedded system. It runs fine, starts an Xserver and everything seems to work fine. However, I tried to change the Xserver, but that gives some errors. So I found the script that started the Xserver, changed it to another dir so it wouldn't be executed, and tried to start the Xserver manually. This wouldn't work with the error can't open display.
So I expected the display value not beeing set correctly. export DISPLAY=:0 wouldn't help me out, though. Perhaps there is some script setting other environments right, that are not available to me because I use ssh to connect to my embedded system.
executing sh command told me I am using an ash shell, and reading the man page of ash tells me ash searches for /etc/profile or /$home/.profile scripts that will be executed. Neither of them exists.
The rcS script is running all scripts in init.d, but none of them changes things to the environment, they only start ssh, xserver, create devices.
Does anyone knows which script starts the rcS, or did I miss a script that the ash shell looks for?
EDIT: the inittab script starts the rcS, but no change in environment in there..