RH 8.0 X server reconfig problem...

tom tmarinis99
Mon May 17 11:38:59 PDT 2004


Greets Andrew;

Thank you for your time.  I really appreciate it.

Andrew Mathews <andrew_mathews at linux-works.org> wrote:

>tom wrote:
>> What is the next step to trouble shoot a frozen
>> keyboard and mouse when running a Xserver?
>> 
>
>I'd highly recommend using a journaling file system, either ext3, 
>reiser, or best of all XFS. An iso image of the RH 8.0 XFS installer is 
>available from SGI at: 
>ftp://oss.sgi.com/projects/xfs/Release-1.2pre1/installer/forRH-8.0-SGI-XFS-1.2pre1.iso

Lonnie also mentioned this.  You think this the cause for the 
X server or keyboard to stop functioning?


>> GUI:
>> 
>> Problem: the X server locks up the mouse and keyboard
>>  on GUI activation.  From CLI, type in
>> 
>IIRC, startx only starts the classic X-Windows. To start Gnome use 
>gnome-session, or for KDE use startkde. Better yet, use /sbin/telinit 5 
>to start the desktop manager.

Tried.  Got python errors for gnome-session, and startkde gave
me no display errors. 6 lines, which all amounted to 
something like the following;

 xsetroot: Unable to open display ''
     xrdb: Can't open display ''
     xset: unable to open display ""
  ksplash: cannot connect to X server
  kdeinit: Aborting. $Display is not set
  Warning: connect() failed: : No such file or directory
ksmserver: cannot connect to X server
    Error: Can't open display:
  Warning: connect() failed: : No such file or directory
    Error: Can't contact kdeinit!

root at localhost root]#

===
try to use 'gnome-session'

(gnome-session:1105):Gtk-WARNING **: cannot open display:


I've observed that the Kudzu daemon disables the ps/2 mouse 
configuration on boot up.  I reselect to NOT drop the configuration.

I'm attempting to disable this daemon as well now.

>Is it USB or PS/2?

Apologies.  My bad.  Was up late and was sleepy...

Both Keyboard and Mouse are ps/2 style.
Using a ATI RAGE 128 Fury AGP, 32 m ram video board.
Using MAG DX1595 display monitor.
Using a Realtek 8139 Nic card.
Using a Asus MB, P2B-F AGP . 512 DIMM 100 MHZ ram/ 400 MHZ P2 CPU.
Using a 30 Gig HD, 16 EXT2 partitions.../dev/hda
Using a 18 Gig HD, single partition ... /dev/hdb ( win 98 SE)

All above auto detected by RH 8.0 on initial installation
CD-rom media.

>RedHat uses the chkconfig tool for command line service management. Do a 
>chkconfig --list to see the service name and runlevel of the services. 
>To shut off apmd use chkconfig --level 12345 apmd off This will turn off 
>apmd on all runlevels (12345) Also do a chkconfig --list | grep 3:on to 
>look at any others you may deem necessary to turn off, and substitute 
>5:on for GUI level services.

performed this for all service levels 1-5.  Something still activates
after 2 minutes which disables keyboard if left inactive.

ps -ef show me that the kernel itself is running the apmd daemon.
It's process is 3, listed as kapmd.  Maybe a RH enginneer compiled
in the Power Management features for 2.4.18?


><snip>

> From a RH 8.0 XF86Config file:

Mine file is identical to yours, except where the mouse is
defined. This differs somwhat, and continues further...

< snip >
...

Section "InputDevice"
         Identifier  "Mouse0"
         Driver      "mouse"
         Option      "Protocol" "PS/2"
         Option      "Device" "/dev/psaux"
         Option      "ZAxisMapping" "4 5"
         Option      "Emulate3Buttons" "no"
EndSection


Section "InputDevice"
         Identifier      "Mouse1"
         Driver          "mouse"
         Option          "Device"                "/dev/input/mice"
         Option          "Protocol"              "IMPS/2"
         Option          "Emulate3Buttons"       "no"
         Option          "ZAxisMapping"          "4 5"
EndSection

Section "Monitor"
    Identifier  "Monitor0"
    VendorName  "Monitor Vendor"
    ModelName   "Monitor Model"
    HorizSync   30-64
    VertRefresh 50-120
    Option "dpms"


EndSection

Section "Device"
    # no known options
    Identifier  "ATI RAGE 128 (generic)"
    Driver      "r128"
    VendorName  "ATI Rage 128 (generic)"
    BoardName   "ATI Rage 128 (generic)"

    #BusID
EndSection

Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Rage 128 (generic)"
    Monitor     "Monitor0"
    DefaultDepth    24

    Subsection "Display"
        Depth   24
        Modes   "1024x768" "800x600" "640x480"
    EndSubSection

EndSection

Section "DRI"
    Mode 0666
EndSection

----

Only other observations I can make at present time;
I observed the following for the unicode_start in
/var/log/messages ...

<Date><Time> localhost rc.sysinit: Loading default keymap succeeded
<Date><Time> localhost unicode_start: ^[%G
                                     ^^^^^^^  I actually get these

<Date><Time> localhost rc.sysinit: Setting default font (latacyrheb-sun16)


===========

I'm still reading the manuals, and they don't mention anything
other than using the GUI tools ( sigh ).

What do you suggest I do next?  I'll take any suggestions...

 
---tm---
Linux Registration Number; 184093, 
http://counter.li.org


__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


More information about the Linux-users mailing list