Issue: Pinux unable to starting graphical mode
Dont worry, There are 6 solutions to resolve this issue!
* Manual edit your own XF86Config with a favorite text editor
* Using /usr/bin/redhat-config-xfree86 (recomended)
* XFree86 The main X11 server's built-in configuration facility
* Xconfigurator Red Hat's graphical X11 setup tool
* xf86cfg XFree86's graphical or text mode configuration client
* xf86config XFree86's traditional text-only tool
first, you need to know your card and monitor
Login to safemod as root then type:
$ /usr/sbin/ddcprobe
and check the device:
$ /sbin/lspci
Solution 1. Manualy Edit /etc/X11/XF86Config
1. Login into safemod as root
type 'safe' when pinux ask you about safemod at boot.
then enter root as login and your password ('pointer' is default root password)
2. Edit XF86Config
$ pico -w /etc/X11/XF86Config
check the freqwency at this line:
Section "Monitor"
Identifier "IBM G54"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30 - 54 #<-- must look like this
VertRefresh 50.0 - 120.0 #<-- must look like this
Option "dpms"
EndSection
then edit this line:
Section "Device"
Identifier "Intel 845" #<-- may different at yours
Driver "i810" #<-- may different at yours
BoardName "Intel 845" #<-- may different at yours
EndSection
into:
Section "Device"
Identifier "Intel 845"
Driver "vesa" #<-- change driver to "vesa" or "vga"
BoardName "Intel 845"
EndSection
And this line:
Section "Screen"
Identifier "Screen0"
Device "Intel 845" #<-- may different at yours
Monitor "IBM G54" #<-- may different at yours
DefaultDepth 16 #<-- 16 bit color, available are: 8,16 and 24
SubSection "Display"
Depth 16 #<-- 16 bit color, available are: 8,16 and 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Into:
Section "Screen"
Identifier "Screen0"
Device "Intel 845"
Monitor "IBM G54"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "640x480" #<-- only "640x480"
EndSubSection
EndSection
Save file with command: ctrl-x Y enter
3. Type 'exit' to continue
4. After login into xwindows, you must re-configure your xwindows:
Open: Main Menu - Sistem Settings - Display
Monitor Type
Configure - Probe monitor
Dont forget to change,
Horizontal Refresh Rate into (KHz): 30 - 54
Vertical Refresh Rate into (Hz): 50-120
Video Card
Configure - Probe Video Card
Or change into the near matching your video card.
Set Resolution into 1024x768
Set Color Dept into Thousands of Colors
Click OK-OK.
5. Restart your Pinux box.
Solution 2. Using /usr/bin/redhat-config-xfree86 (recomended)
1. Login into safemod as root
type 'safe' when pinux ask you about safemod at boot.
then enter root as login and your password ('pointer' is default root password)
2. Try to run:
$ redhat-config-xfree86 --reconfig --forceui --set-resolution=640x480 --set-depth=8 --set-driver=vga --set-vsync=50-120 --set-hsync=30-54 --set-videoram=1024
or
$ redhat-config-xfree86 --reconfig --forceui --set-resolution=640x480 --set-depth=8 --set-driver=vesa --set-vsync=50-120 --set-hsync=30-54 --set-videoram=1024
if your monitor cannot display, try to change vsync and hsync into
--set-vsync=50
--set-hsync=30
or any values which your monitor support them.
3. After Display Setting windows show, you can reconfigure your xwindows settings:
Monitor Type
Configure - Probe monitor
Dont forget to change,
Horizontal Refresh Rate into (KHz): 30 - 54
Vertical Refresh Rate into (Hz): 50 - 120
Video Card
Configure - Probe Video Card
Or change into the near matching your video card.
Set Resolution into 1024x768
Set Color Dept into Thousands of Colors
Click OK-OK.
4. Type 'exit' to continue or type 'halt' to restart your computer.
Solution 3. Using the XFree86 Server
One of the new features of XFree86 4.0.1 or above is that you can try using the XFree86 to configure X11 automatically and create a working XF86Config file. Although this approach will not work for all graphics cards, you may find it a convenient way to configure and test your settings, especially if you've just installed a new graphics card in your system.
1. Login into safemod as root
type 'safe' when pinux ask you about safemod at boot.
then enter root as login and your password ('pointer' is default root password)
2. The XFree86 server has many different command-line options, but to create a test XF86Config file, first make sure that X11 is not running, and log in as the root operator. Next, make a backup of any working XF86Config file. Then use the server, along with its -configure option, like this:
$ XFree86 -configure 2>test.txt
The server will create a report in the file test.txt that details the probe of your computer's graphics card and input hardware. For example, the file will contain results of loading various modules, a list of installed video drivers, results of loading each of the various drivers, file paths, probes of input hardware, and the result of the probe:
$ cat test.txt |more
XFree86 Version 4.0.1 / X Window System
(protocol Version 11, revision 0, vendor release 6400)
...
(--) Chipset neo2200 found
...
During the configure operation, the server also creates a file named XF86Config.new under the /root directory. You can then test your new configuration by again using the server with its -xf86config command-line option, like this:
3. Try to run xwindows with this command:
$ XFree86 -xf86config /root/XF86Config.new
4. If success you can move into step 5
if not working, you need to edit /root/XF86Config.new
$ pico -w /root/XF86Config.new
insert:
HorizSync 30 - 54
VertRefresh 50.0 - 120.0
into:
Section "Monitor"
#DisplaySize 280 210 # mm
Identifier "Monitor0" # may different at yours
VendorName "IBM" # may different at yours
ModelName "IBM G54" # may different at yours
HorizSync 30 - 54 # <-- insert here
VertRefresh 50.0 - 120.0 # <-- insert here
Option "DPMS"
EndSection
save with command: ctrl-x Y enter
test again with command:
$ XFree86 -xf86config /root/XF86Config.new
5. If the new XF86Config works, copy it to the /etc/X11 directory:
$ cp -f /root/XF86Config.new /etc/X11/XF86Config
replace the old one.
6. Restart your computer
7. After login into xwindows, you must re-configure your xwindows:
Open: Main Menu - Sistem Settings - Display
Monitor Type
Configure - Probe monitor
Dont forget to change,
Horizontal Refresh Rate into (KHz): 30 - 54
Vertical Refresh Rate into (Hz): 50-120
Video Card
Configure - Probe Video Card
Or change into the near matching your video card.
Set Resolution into 1024x768
Set Color Dept into Thousands of Colors
Click OK-OK.
8. Restart your computer.
Solution 4 - Using Xconfigurator (tool from old rh7)
1. Download this files:
compat-slang-1.4.5-5.i386.rpm
kbdconfig-1.9.15-2.i386.rpm
Xconfigurator-4.10.7-1.i386.rpm
copy them into a good diskette.
2. Login into safemod as root
type 'safe' when pinux ask you about safemod at boot.
then enter root as login and your password ('pointer' is default root password)
3. Insert the diskette into pinux box
4. Install the files:
$ rpm -Uvh /misc/floppy/compat-slang-1.4.5-5.i386.rpm
$ rpm -Uvh /misc/floppy/kbdconfig-1.9.15-2.i386.rpm
$ rpm -Uvh --nodeps /misc/floppy/Xconfigurator-4.10.7-1.i386.rpm
$ cp /usr/lib/libnewt.so.0.51 /usr/lib/libnewt.so.0.50
5. Run Xconfigurator by typing:
$ Xconfigurator
6. Configure your monitor and video card, and run test after configured.
7. IMPORTAN:
If all working good and the screen clears and you may see a small dialog box.
The dialog box asks if you can see this message. If you click Yes, you are then asked if you want
to automatically start Xwindows upon booting. You must choose Yes, your Pinux system will automatic
boot at xwindows when startup.
If you click No, you have to use the 'startx' command to begin your X sessions.
You need re-run Xconfiguration from beginning if you want switch to automatic xwindows when
startup.
Solution 5 - Using xf86cfg (tool from old rh7)
1. Download rpm files and put it on a good diskette,
XFree86-xf86cfg-4.2.1-16.73.31.legacy.i386.rpm
2. Login into safemod as root
type 'safe' when pinux ask you about safemod at boot.
then enter root as login and your password ('pointer' is default root password)
3. Insert the diskette into pinux box
4. Install the files:
$ rpm -Uvh --nodeps /misc/floppy/XFree86-xf86cfg-4.2.1-16.73.31.legacy.i386.rpm
5. run the program with command:
$ xf86cfg -textmode -nomodules
6. Configure Card, Monitor and Screen
To save new configurations, choose:
Write XF86Config and quit
Write to: /etc/X11/XF86Config - OK
7. Restart your computer
Solution 6 - Using /usr/X11R6/bin/xf86config (too old, not recomended)
[root@INTERNET1:/root]$ tar -zxvf xf86config.tgz -C /
usr/X11R6/bin/xf86config
usr/X11R6/man/man1/xf86config.1x.gz
1. Download rpm files and put it on a good diskette,
xf86config.tgz
2. Login into safemod as root
type 'safe' when pinux ask you about safemod at boot.
then enter root as login and your password ('pointer' is default root password)
3. Insert the diskette into pinux box
4. Install the files:
$ tar -zxvf xf86config.tgz -C /
5. run the program with command:
$ xf86config
6. Configure your all device
7. The xf86config command asks if you want to save the generated XF86Config file. Enter a y and press Enter—you're done.
I am going to write the XF86Config file now. Make sure you don't accidentally
overwrite a previously configured one.
Shall I write it to /etc/X11/XF86Config? y
9. Reboot your computer