Using Xorg instead of Xvesa offers several benefits: accelerated display, better looking display especially on notebook screens, better control of display resolution, refresh rate, keyboard, pointing device, etc, Features required by some applications provided only by Xorg. For more information look at the discussion on the Forum.
On the other hand, due to special hardware, driver not available, etc, Xorg won't work.
Note: Both the Xorg and graphics packages referenced below must be installed after 'Exit to Prompt'. Both packages can be downloaded using the App Browser provided 'Download Only' option is selected. This ensures both packages are available to install which will be required to return to a GUI.
Proper steps to setup TC 2.3 or later:
- 'Exit to Prompt' in the Logout menu
- install Xorg-7.4.tcz
- install graphics-184.108.40.206-tinycore.tcz
Restart Xorg by typing 'startx' command as a normal user. During the next boot, TC will come up with Xorg, expecting the reqired extensions to be loaded.
Usually you do not need any config file, Xorg will do everything itself. It is called 'confless' mode.
If you want to override the automatic settings, create /etc/X11/xorg.conf and add only the relevant sections. Usually it is used to define keyboard layout.
Sample xorg.conf to specify Hungarian keyboard layout, modify it according to your need:
Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbLayout" "hu" Option "XkbModel" "pc105" EndSection
Sample xorg.conf to specify a display resolution of 800x600x24, modify it according to your need:
Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 Modes "800x600" EndSubSection EndSection
If you have your own xorg.conf add it to /opt/.filetool.lst and use backup:
opt/bootlocal.sh opt/backgrounds opt/.tcrc opt/.filetool.lst opt/.xfiletool.lst home/tc etc/X11/xorg.conf
Depending on your graphics hardware, you may need an additional driver installed.
Don't forget to hit <ENTER> at the end of last line of the xorg.conf file, otherwise it won't work.
Note: for TC 2.x versions prior 2.3 read Xorg-7.4.tcz.info how to change .xsession manually