LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to create a minimal x window installation? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-create-a-minimal-x-window-installation-337995/)

learnfast 06-28-2005 08:37 AM

how to create a minimal x window installation?
 
I would like to create a minimal-size vmware machine to use for web servers (apache/php5/sqlite/etc.).

Can anyone point me in the right direction to:

1. install suse or redhat (or whatever) with NO GUI
2. then what are the steps to get the ability to ssh into other machines and run xwindow applications (e.g. install a minimal xwindows application, which one is best, etc., then do I stay at init 3 or do I need to go to init 5, all this is unclear...)?

Thanks,

stefan_nicolau 06-28-2005 09:40 AM

Quote:

1. install suse or redhat (or whatever) with NO GUI
What's the point of installing these with no GUI?
When you install any distribution, it will ask you to choose packages. Don't select GUI packages.

Quote:

2. then what are the steps to get the ability to ssh into other machines and run xwindow applications (e.g. install a minimal xwindows application, which one is best, etc., then do I stay at init 3 or do I need to go to init 5, all this is unclear...)?
To ssh from another machine into the server, install the ssh server package on thr server, and use clients on the other machines.

To display remote X windows:
On the server, install the program (and all required libraries).
SSH into the server and set the environement variable DISPLAY to xxx.xxx.xxx.xxx:0, where xxx.xxx.xxx.xxx is the client's ip. export DISPLAY
The client must run an X server.
On the client, run 'xhost + xxx.xxx.xxx.yyy', where xxx.xxx.xxx.yyy is the server's ip


All times are GMT -5. The time now is 02:17 AM.