On Thu, Mar 06, 2003 at 09:42:43AM -0600, Bret Hughes wrote:
> On Thu, 2003-03-06 at 02:35, William Warren wrote:
> > On Wed, Mar 05, 2003 at 08:51:04PM -0600, Bret Hughes wrote:
> > > On Wed, 2003-03-05 at 16:05, William Warren wrote:
> 
> > 
> > This only affects root. 
> > 
> > > ... also you might try startx > startlog.out 2>&1
> > > and see if you can capture what is happening.
> > 
> > Here's the output: see also http://billhorne.homelinux.org/xfiles/ for the 
> > full versions.
> > 
> > XFree86 Version 4.2.0 (Red Hat Linux release: 4.2.0-8) / X Window System
> > (protocol Version 11, revision 0, vendor release 6600)
> > Release Date: 23 January 2002
> >     If the server is older than 6-12 months, or if your card is
> >     newer than the above date, look for a newer version before
> >     reporting problems.  (See http://www.XFree86.Org/)
> > Build Operating System: Linux 2.4.17-0.13smp i686 [ELF] 
> > Build Host: daffy.perf.redhat.com
> >  
> > Module Loader present
> > Markers: (--) probed, (**) from config file, (==) default setting,
> >          (++) from command line, (!!) notice, (II) informational,
> >          (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> > (==) Log file: "/var/log/XFree86.0.log", Time: Thu Mar  6 03:03:48 2003
> > (==) Using config file: "/etc/X11/XF86Config-4"
> > xinit:  connection to X server lost. (I typed Cntl-Alt-Backspace)
> > 
> > 
> 
> is there a /root/.xinitrc file?

No.
 
> here is my thinking so far.
> 
> 1.XF86Config-4 is ok and being used ( Others users are ok) this
> eliminates console ownership issues and all that stuff.
> 
> 2. X is starting but no programs are being run for some reason
> 
> in order to address #2 lets look at /root/.[xX]* files
> 
> cd /root
> ls -al .[xX]*
[snip]
> we can ignore all the xauth stuff.  I have never run switchdesk as root
> so it is using the system default stuff in /etc/X11/xinit
> 
> if you have a .Xclients or .xinitrc in /root what is in there,  rename
> them to something else and try again.  Also lets take a look at
> .xsession-errors.
> 

OK, here's mine:

-rw-------    1 root     root          115 Mar  6 03:04 .Xauthority
-rwxr-xr-x    1 root     root           57 Mar  5 16:39 .Xclients-default
-rw-r--r--    1 root     root         1126 Aug 23  1995 .Xresources
-rw-------    1 root     root         1352 Mar  5 20:51 .xsession-errors

Of course, ".xsession-errors" tends to draw the eye ;-J, but in order
to get a "clean" error report, I renamed the file and tried to startx
again. I entered "startx" as root, and it hanged just like before, 
but THERE WAS NO .xsession-errors FILE GENERATED. 

That means that the .xsession-errors file was from the time that I 
got into x by changing the /etc/inittab to run level 5: be warned 
that it may or may not be useful. Anyway, here it is:

No value for $TERM and no -T specified
No value for $TERM and no -T specified
ioctl(KDKBDREP): Inappropriate ioctl for device
No value for $TERM and no -T specified
No value for $TERM and no -T specified
No value for $TERM and no -T specified
No value for $TERM and no -T specified
SESSION_MANAGER=local/dell.billhorne.homelinux.org:/tmp/.ICE-unix/1671
No value for $TERM and no -T specified
No value for $TERM and no -T specified

Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkOptionMenu'

Gtk-CRITICAL **: file gtkoptionmenu.c: line 248 (gtk_option_menu_set_history): 
assertion `option_menu != NULL' failed.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xscreensaver: Can't open display: :0
xscreensaver: initial effective uid/gid was root/root (0/0)
xscreensaver: running as nobody/nobody (99/99)

xscreensaver: This is probably because you're logging in as root.  You
              shouldn't log in as root: you should log in as a normal user,
              and then `su' as needed.  If you insist on logging in as
              root, you will have to turn off X's security features before
              xscreensaver will work.

              Please read the manual and FAQ for more information:

              http://www.jwz.org/xscreensaver/faq.html
              http://www.jwz.org/xscreensaver/man.html

(end of .xsession-errors file)
 
> 
> ps may help too.
> 
> a snip from ps axfw.  (I started x from an xterm using startx -- :1) 

[snip example ps output. Here's mine, obtained by startx from a user 
account.]

 1225 ?        S      0:00 login -- root     
 1465 tty2     S      0:00  \_ -bash
 1226 ?        S      0:00 login -- bill     
 1596 tty3     S      0:00  \_ -bash
 1638 tty3     S      0:00      \_ /bin/sh /usr/X11R6/bin/startx
 1651 tty3     S      0:00          \_ xinit /etc/X11/xinit/xinitrc --
 1652 ?        S<     0:07              \_ X :0
 1656 tty3     S      0:00              \_ /usr/bin/gnome-session
 1676 ?        S      0:01 sawfish --sm-client-id=default2
 1702 ?        S      0:00 magicdev --sm-client-id default9
 1704 ?        S      0:04 nautilus start-here: -g 600x410+150+100 --sm-client-id 
default8
 1737 ?        S      0:00  \_ nautilus start-here: -g 600x410+150+100 --sm-client-id 
default8
 1738 ?        S      0:00      \_ nautilus start-here: -g 600x410+150+100 
--sm-client-id default8
 1739 ?        S      0:00      \_ nautilus start-here: -g 600x410+150+100 
--sm-client-id default8
 1752 ?        S      0:00      \_ nautilus start-here: -g 600x410+150+100 
--sm-client-id default8
 1707 ?        S      0:01 panel --sm-client-id default7
 1709 ?        S      0:00 xscreensaver -no-splash -timeout 20 -nice 10 -dpms 
-dpms-standby 40 -dpms-suspend 40 -dpms-poweroff 40 -x
 1715 ?        S      0:00 gnome-name-service
 1723 ?        S      0:00 /usr/bin/gconfd-1 10
 1726 ?        S      0:01 oafd --ac-activate --ior-output-fd=14
 1731 ?        S      0:00 tasklist_applet --activate-goad-server tasklist_applet 
--goad-fd 10
 1733 ?        S      0:00 deskguide_applet --activate-goad-server deskguide_applet 
--goad-fd 10
 1741 ?        S      0:01 nautilus-throbber 
--oaf-activate-iid=OAFIID:nautilus_throbber_factory --oaf-ior-fd=12
 1745 ?        S      0:02 hyperbola 
--oaf-activate-iid=OAFIID:hyperbola_factory:02b54c63-101b-4b27-a285-f99ed332ecdb 
--oaf-ior-fd=1
 1747 ?        S      0:01 nautilus-history-view 
--oaf-activate-iid=OAFIID:nautilus_history_view_factory:912d6634-d18f-40b6-bb83-bdf
 1749 ?        S      0:01 nautilus-news 
--oaf-activate-iid=OAFIID:nautilus_news_view_factory:041601 --oaf-ior-fd=17
 1751 ?        S      0:01 nautilus-notes 
--oaf-activate-iid=OAFIID:nautilus_notes_view_factory:4b39e388-3ca2-4d68-9f3d-c137ee62d5b0
 1799 ?        S      0:00 gnome-terminal --use-factory --start-factory-server
 1801 ?        S      0:00  \_ gnome-pty-helper
 1802 pts/0    S      0:00  \_ bash
 1849 pts/0    R      0:00      \_ ps axfw

(End of `ps axfw` output for user "bill").
 
Bret, that's all I can think of right now: thanks for your help.

Bill



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to