|
Setting up X
*************
No nVidia drivers this time around, but you DO have to reconfigure your environment a bit to make X work. In the interest of modular design, cygwin doesn't do this for you, as that would mean assuming X is installed. That is unacceptable.Note that all of these steps are to be performed in the Cygwin shell.1. vim /etc/profile2. Find the PATH line. Add /usr/X11R6/bin to it. Then save and exit.3. export PATH=$PATH:/usr/X11R6/bin (to make it take effect in the current session)4. man XWin5. Look over the command-line switches in the manpage. Decide which ones you will want to start X with.6. vim /usr/X11R6/bin/startxwin.sh (In cygwin, startxwin.sh is the best way to start X. The more UNIX-like "startx" command also works, but not very well.)7. Find the XWin command in this script. Add the switches you decided on in 5. Also note the twm command. You will be changing that to the window manager you want when you get everything set up. Save and exit.8. /usr/X11R6/bin/startxwin.sh9. If all is well, a window with a stippled background (the infamous monitor- and head-exploding X stipple) and a command prompt window (an xterm) will open. This is your X server in all it's glory. If you set it to run fullscreen, then this display will cover your entire screen, instead of showing up as a window. You can get out of it with ALT-F4 (the windows way) or CTRL-ALT-BACKSPACE (the *NIX way).10. At this point you might want to consider getting a more feature-rich window manager to take the place of TWM. WindowMaker and FVWM are inclued with Cygwin as optional packages. Almost any window manager should compile and run without much hassle. KDE 2.2 is available as well if you want that. Either way, when/if you install a new window manager, just open up /usr/X11R6/bin/startxwin.sh and find the twm command, and replace it with the command to run your window manager
|