[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xdm problem: xrdb hangs, except for root



Tony:

Suggestions:

Try posting this to an X-Windows discussion group, eg:  news:comp.os.linux.x,
as well.  It's rather specific to that issue.

Simplify the problem.  Try running X, xrdb, etc., without the
intervention of xdm.  'startx' from the console command line.  I
personally don't use an X display manager, preferring to start my
sessions from the command line.

Try also running the particular line(s) of the Xsession script which are
causing xrdb to hang.  Presumably you should get the same behavior by
running it yourself by hand:

  for file in /etc/X11/Xresources; do echo $file; xrdb -merge $file; done

...as a non-privileged user.

What files do you have in /etc/X11/Xresources?

What happens if you move them somewhere else (say
/etc/X11/Xresources.bak ?)

What are the file permissions (long shot)?

On Sun, Feb 27, 2000 at 11:57:47AM +0100, Tony Crawford wrote:
> (Trying again with xdm in the Subject. If this doesn't attract any 
> ideas, I guess I'll have to trash major parts of the installation and 
> try again or use something else.)
> 
> Hi gang! Can anybody help me with this conundrum?
> 
> I have a hamm installation with a 2.0... kernel on a Toshiba 4080 XCDT, 
> and I installed XFree86 version 3.3.5 to get the vid driver for it.
> 
> Symptom is, xdm pulls up a graphcial login prompt which works fine if 
> I log in as root. If I log in as a normal user, I get no window 
> manager, no xterm, no nuthin--just a mouse pointer that moves.
> 
> (BTW the last thing I was doing before I started spending all my time 
> on this problem was trying to install Corel WP8, which was demanding 
> certain old libraries or symlinks to such. Maybe that's what caused 
> the trouble? Anyway:) 
> 
> With some help from the nice people on the debian-user-de list, I 
> ran ps aux on another virtual console, and figured out this much: 
> xrdb, called by a 'for' loop in the global Xsession script, runs
> once for each file in /etc/X11/Xresources. There are three of 
> those: xbase-clients, xfree86-common und xterm. 
> 
> After a normal user logs in, xrdb hangs each time (pulls 99% 
> CPU use, says xtop--what's it doing?). When I kill it, the Xsession 
> script resumes control and runs xrdb again.
> 
> After the third and last xrdb call is killed, an Xsession seems to 
> start --I see my xterm and xclock nice root background color, same 
> as a root login gets--but then after ~3/4 of a second the whole X server 
> crashes. Whereupon xdm restarts it and the Login prompt is back.
> 
> I read 'man xrdb', but found no clues. I've checked all the 
> permissions I can think of, and as far as I can see the users 
> should be able to read and run anything root can, as far as 
> X11 is concerned.
> 
> Grateful for any hints,
> 
> T.
> 
> -- Tony Crawford
> -- tc@crawfords.de
> -- Phone: +49-3341-30 99 99
> -- Fax:   +49-3341-30 99 98
> 
> "La idea de un Dios sabio, todopoderoso y que, además, nos ama, es una
> de las creaciones más audaces de la literatura fantástica."
> -- Jorge Luis Borges
> 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 

-- 
Karsten M. Self (kmself@ix.netcom.com)
    What part of "Gestalt" don't you understand?

SAS for Linux: http://www.netcom.com/~kmself/SAS/SAS4Linux.html
Mailing list:  "subscribe sas-linux" to mailto:majordomo@cranfield.ac.uk


Reply to: