Hi, I am lost in between of some concepts, googling too much made me like this! honestly...
please correct my statements below and if they are correct just mention "correct" or also add extra info please:
1. "X Window System" provides basic access to GUI on unix/linux systems
This GUI can be :
- Desktop (gnome, kde)
- Pure window manager
- basic desktop like CDE
2. Normally when we boot the system the X window system is read from some config file and the display is set and then the desktop shows up (either gnome or kde) -- we never realize the process because they are in background (process of X window start up and configuration)
where these config files are located? or one file only?
3. But when we do not have any desktop like gnome or kde. and we only have shell prompt after booting the system, its time to start the X window manually (Am I right?)
if we do not have the X server installed, we should install it? in each distro it has a different package naming?
after making sure the X window installed... (How to make sure we do have X window? let's say in redhat!)
4. then we should initialize it first by "xinit" ???? (Am I correct)
if we are running window manager we shoudl do this:
xinit -e <absolute path to WM>
5. after xinit we should start the server X by "startx" ????
6. setting the display? what is this display? i can not communicate with this word!!! nobody has explained me anything, and while googling I just grab ideas!!! I dont have a robust understanding from this display setting. then how to export it?
for the above 4,5,6 we can write them down into xinitrc file in home? and then we dont have to run them every time we boot the system? Right?
<< the window x system can only be access locally? right? I can not remote it via putty and try to run it? or set it? right? (again I have to apologize because not a good understanding)
How to stop the window manager? should I kill the process? and then kill the X window?
the process name is xinit?
what can I do to automate all these steps. when I press the button of power-on on my laptop, I want to get my X started and my window manager started as well. is that possible?
can somebody please put my words in a better shape and ordered steps, 1, 2, 3, ..then I promise this post will be a great tutorial!
thanks very much guys,
Messi