Re: Cannot connect to network now...
Brian Coiley wrote:
"Kent West" <westk@acu.edu> wrote in messag
I would suggest trying a simple window manager, like icewm, until things
get working right.
# apt-get install icewm
Then edit/create ~/.xinitrc and put in the single line "icewm". Now try
"startx". What happens?
Exactly the same. I don't think it has anything to do with the wm. From
what I've learned persusing archives, the "client rejected from local host"
message means that the X-server is refusing to allow me to log on, so it's
not getting as far as launching the wm
You might take a look in "/etc/X11/Xwrapper.config". The "allowed_users"
line should be set to console, as in:
allowed_users=console
Also, look in /var/log/XFree86.0.log for any errors (mostly lines
starting with (EE)).
Omigosh, it's a big file to plough through! Anyway, I see the following
that could conceivably be errors (but which, I would guess, mostly aren't):
(WW) The directory "/usr/lib/X11/fonts/cyrillic" does not exist
(WW) Open APM failed (/dev/apm_bios) (No such device)
*(II) VESA(0): Not using built-in mode "1600x1200" (hsync out of range)
(WW) VESA(0): config file vrefresh range 50-160Hz not within DDC vrefresh
range
(WW) VESA(0): Option "UseFBDev" is not used
Warning: font renderer for ".pcf" already registered at priority 0 (9 of
these for different fonts)
AUDIT: Tue Nov 23 14:38:22 2004: 1325 X: client 5 rejected from local host
These are warnings, and are usually not fatal (except for the last line,
which I agree with you, is probably the culprit).
:-) Keep encouraging me, we might get through it yet! Given the experience
with the interfaces file, I would lay money that X isn't working because
some other config file also got replaced during the upgrade. But what, is
the big question! I've been trying to understand the xdm manual,
If you're starting X with "startx", xdm is not part of the equation. xdm
(and gdm, and wdm, and kdm) are just graphical login managers, allowing
you to log in graphically and automatically start X rather than log in
on a text console and then manually starting X with "startx". So forget
the xdm manual; it's irrelevant (assuming you are, indeed, using "startx".)
which has
led me to have a look at the Xaccess file. There is nothing in the file
(i.e. it's entire contents are commented out)! Shome mishtake shurely?
Nah; the default Debian setup probably doesn't use anything in Xaccess.
My "/etc/kde3/kdm/Xaccess" is entirely commented out (I use kdm instead
of xdm).
However, my attempts to add some meaningful entries to the file have not
helped (possibly because I don't know what I'm doing!)
I guess you could call this a crash course in Linux system administration!
Until you get X working, did you know you can still browse the web and
do email from the console?
# apt-get install links lynx
will give you two text-mode web browsers.
# apt-get install mutt
will give you a text-based email client. If you have a POP service, you
can also install fetchmail to pop that mail to your local machine, and
then mutt can read it. If you have an IMAP service, you can use mutt in
IMAP mode like so:
# mutt -f {mail.clara.co.uk}Inbox
(assuming mail.clara.co.uk is your mail server), and Inbox is the name
of your inbox on that server).
Granted, you'll probably like having a GUI better, but this might make
you feel a little better about your box until you can get to that point.
Well how about that! No I didn't know! Although, to be honest, I think for
the time being I'll keep using my Windoze laptop, or boot the linux box to
Windows (it don't take long to switch, it's a very fast machine!)
That's fine. But if you do decide to try these text-based apps, you can
login on VT1, start "links" or "lynx" to browse the web (press "g" to go
to a website), then press Alt-F2 and login on VT2 and start "mutt", then
press Alt-F3 and login on VT3 and start your apt-get download (as
below), then press Alt-F4 and login on VT4 and start up a console-based
game like "netspades-slang" or "pente" (assuming you've installed them).
About X; try
# apt-get install x-window-system gnome kde icewm
and see what that does for you.
Oh boy, a 161Mb download! I don't have time for that right now - I need
Windoze at the moment - I'll try it later.
Cheers Kent, I don't know where I would be without you!
You can trim a lot of that out by not installing gnome and kde and
icewm. If it still wants to download stuff with just:
# apt-get intall x-window-system
then I'd say your X system is currently broken because it's not
completely installed, and this command will probably get you working again.
--
Kent
Reply to: