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

Re: X is not working after the upgrade



On Fri, Jun 26, 1998 at 02:14:56PM +0200, Alexander Shumakovitch wrote:
> > If /usr/X11R6/lib/X11/xinit/xserverrc exists, delete it.
> Doesn't help! I've reinstalled xbase, xlib6g, xserver-svga and xserver-vga16
> today, and X is dead as before. And I don't have that xserverrc file. A friend
> of mine who also upgraded yesterday experienced the same problem. Any other
> ideas?

Okay, in that case you probably have a conventional problem with X.
Unfortunately there are all kinds of things that can cause the problem
you're seeing.  Perhaps the best thing to do is to join the #debian IRC
channels some time and see if anyone can help.  I certainly will try to
help you out if I'm there.

In the meantime:

1) Check the second line of /etc/X11/Xserver and make sure the user running
X will be allowed to do so (off the top of my head, I think the X server
wrapper fails without even invoking the real X server if the calling user
isn't a member of the requisite group, but it's easy to check this).

2) Ensure that the mode is still 1777 (drwxrwxrwt) /tmp, and on /tmp/.X11-unix
if it exists.

3) Make sure there is no /tmp/.X0-lock file.  If there is, the reason you can't
connect is because there's another X server already running!  ps aux, hunt
it down and kill it, or do something like
    startx -- :1 vt08
   to get another X session in the meantime.

4) Even if there isn't a /tmp/.X0-lock file, it's worth looking through
the process table to make sure there is no running X server.

5) If there is a running X server, and you didn't start it, maybe xdm is
running.  If you didn't start xdm by hand and don't want it running, make
sure "no-start-xdm" is present in /etc/X11/config.  Also check
/etc/X11/xdm/Xservers and see if xdm is managing your primary X display by
default with a line like this:
  :0 local /usr/X11R6/bin/X
Note that the above line is harmless if xdm isn't running.

That's all I can think of for now.  If none of the above can solve your
problem, please
  strace startx > problem 2>&1
and mail the results to this mailing list or branden@debian.org and I'll
see what I can do.

-- 
G. Branden Robinson                 |  I am sorry, but what you have mistaken
Purdue University                   |  for malicious intent is nothing more
branden@purdue.edu                  |  than sheer incompetence!
http://www.ecn.purdue.edu/~branden/ |  -- J. L. Rizzo II

Attachment: pgpZ8odvl3nf1.pgp
Description: PGP signature


Reply to: