LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 02-26-2007, 10:23 PM   #1
brianeanna
Member
 
Registered: Jul 2004
Location: NJ, USA & Gaillimh, Éire
Distribution: Knoppix, Kanotix, Sidux, (K)ubuntu
Posts: 32

Rep: Reputation: 15
Distupgrade has left me without X Windows; computer boots into command line


I have been foolish enough to try to upgrade my wonderful Kanotix installation, and have been consequently left with nothing but a command line. I tested first with

apt-get distupgrade --simulate

and all seemed well, so I proceeded. The machine downloaded 80 updated packages or so, and only went wonky in the last four or five lines of the upgrade. I'll include the relevant lines:

Quote:
Preparing to replace xdelta 1.1.3-6.1 (using .../xdelta_1.1.3-7_i386.deb) ...
Unpacking replacement xdelta ...
Preparing to replace xdialog 2.0.6-3 (using .../xdialog_2.2.1-2_i386.deb) ...
Unpacking replacement xdialog ...
Preparing to replace xfonts-100dpi-transcoded 6.8.2.dfsg.1-11 (using .../xfonts-100dpi-transcoded_1%3a1.0.0-3_all.deb) ...
Unpacking replacement xfonts-100dpi-transcoded ...
dpkg: warning - unable to delete old directory `/usr/X11R6/lib/X11/fonts/100dpi': Directory not empty
Preparing to replace xfonts-75dpi-transcoded 6.8.2.dfsg.1-11 (using .../xfonts-75dpi-transcoded_1%3a1.0.0-3_all.deb) ...
Unpacking replacement xfonts-75dpi-transcoded ...
Preparing to replace xfonts-bolkhov-cp1251-75dpi 1.1.20001007-4 (using .../xfonts-bolkhov-cp1251-75dpi_1.1.20001007-6_all.deb) ...
Unpacking replacement xfonts-bolkhov-cp1251-75dpi ...
dpkg: warning - unable to delete old directory `/usr/X11R6/lib/X11/fonts/75dpi': Directory not empty
Preparing to replace xfonts-bolkhov-cp1251-misc 1.1.20001007-4 (using .../xfonts-bolkhov-cp1251-misc_1.1.20001007-6_all.deb) ...
Unpacking replacement xfonts-bolkhov-cp1251-misc ...
Errors were encountered while processing:
/var/cache/apt/archives/kde-i18n-de_4%3a3.5.6-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@KanotixBox:/home/usaideoir#
I rebooted, and now the computer goes through the usual boot-up routine, only reporting failures with X Windows at the end and going to a command line. I can't remember exactly what is reported (I'm writing from the stricken machine, using a livecd).

Any suggestions? It's a work computer, and I'd be very grateful for help getting it back up (have to give a classroom presentation with it in two days).
 
Old 02-27-2007, 12:37 AM   #2
drdosman
LQ Newbie
 
Registered: Sep 2004
Location: VA
Distribution: Fedora
Posts: 20

Rep: Reputation: 0
Not familiar with your distro. Just experienced X failures after updated due to needing to recompile nvidia driver with new kernel.
Did it update the kernel too? Could be a kernel video driver mismatch.
What happens when you enter startx?

Just a thought.

Last edited by drdosman; 02-28-2007 at 12:44 AM.
 
Old 02-27-2007, 11:05 AM   #3
brianeanna
Member
 
Registered: Jul 2004
Location: NJ, USA & Gaillimh, Éire
Distribution: Knoppix, Kanotix, Sidux, (K)ubuntu
Posts: 32

Original Poster
Rep: Reputation: 15
Looks like a screen problem

Thank you, DrDosMan. Looks like we're getting somewhere!

Have borrowed another machine, to which I'm manually copying the output of $startx

Quote:
$startx
[the computer desperately tries to start X; the screen flickers once, and then goes to terminal mode, delivering this:]

three lines similar to this:

xauth: creating new authority file /root/.serverauth.1851
xauth: creating new authority file /root/xAuthority

The usual X Window output:
X Window System Version 7.1.1
[blah, blah]
Current Operating System: Linux KanotixBox 2.6.18.1-kanotix-1

[blah, blah]

and then:

(EE) AIGLX: Screen 0 is not DRI capable
xkb_keycodes {include "xfree86+aliases (qwerty)"}
xkb_types {include "complete"};
xkb_compatibility {include "complete"};
xkb_symbols {include "pc(pc105)+us"};
xkb_geometry {include "pc(pc105)"};
Synaptics DeviceInit called
SynapticsCtrl called
Synaptics DeviceOn called

Fatal server error:
could not open default cursor font 'cursor'
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0" after ) requests (0 known processed with 0 events remaining.
$
Everything was working fine before the Distupgrade.

The machine is a laptop, by the way. Hence (I assume) the screen problems.

Again: any suggestions?

Last edited by brianeanna; 02-27-2007 at 11:11 AM.
 
Old 02-28-2007, 12:56 AM   #4
drdosman
LQ Newbie
 
Registered: Sep 2004
Location: VA
Distribution: Fedora
Posts: 20

Rep: Reputation: 0
You might try not loading/comment out dri in your xorg.conf and see what it does in regards to the EE error. What graphics card you using and what driver?

For the font error, you may want to try and reinstall the X11-fonts packages
 
Old 02-28-2007, 01:05 AM   #5
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 59
I'm not sure what the status of Kanotix is right now. Last I heard they were getting ready to change the underlying source from Debian to Ubuntu. If that has happened, and you didn't change your sources.list file, you may be mixing Ubuntu and Debian packages. That is a prescription for trouble.

I doubt that you have made any real serious messes, but I would check at the Kanotix forums for suggestions before you get too deep in trying to fix it up.
 
Old 02-28-2007, 01:36 AM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Try running dpkg-reconfigure xserver-xorg and also perhaps dpkg-reconfigure fontconfig-config

Sounds like xorg got messed up somewhere.

BTW the Kanotix repos haven't been updated since sometime in Nov 2006, if you want to continue on the Debian Sid path take a look at Sidux.

Last edited by craigevil; 02-28-2007 at 01:41 AM.
 
Old 02-28-2007, 04:45 PM   #7
brianeanna
Member
 
Registered: Jul 2004
Location: NJ, USA & Gaillimh, Éire
Distribution: Knoppix, Kanotix, Sidux, (K)ubuntu
Posts: 32

Original Poster
Rep: Reputation: 15
Basic functionality restored - have a tiny screen

My Video Card is a:

Trident CyberAladdin-T graphics controller, which accesses 16 MB of external UMA video memory

I followed Craigevil's (always welcome) advice and X has been restored. Now, however, I have the smallest screen on the planet (640x480!). Not good enough, alas, to give an OpenOffice.org Impress presentation, as planned.

DrDosMan's suggestion on DRI led to the error "DRI module not loaded", so presumably DRI is a necessary component.

Still - we're getting somewhere!

Last edited by brianeanna; 02-28-2007 at 07:21 PM.
 
Old 03-01-2007, 09:05 PM   #8
brianeanna
Member
 
Registered: Jul 2004
Location: NJ, USA & Gaillimh, Éire
Distribution: Knoppix, Kanotix, Sidux, (K)ubuntu
Posts: 32

Original Poster
Rep: Reputation: 15
Have reinstalled with Sidux

This xorg business was really screwing me up, so I installed Sidux clean. I prefer Kanotix, and feel like a traitor, but after being really dissed by the Kanotix mullahs on their irc channel (who couldn't help anyway), I decided that enough was enough.

Actually I blame Toshiba and their shoddy laptops for all this. We'll see how Sidux goes. I'm online and have got a full screen back (courtesy of gtf, which I had to install and compile myself, alas!).

B
 
Old 03-01-2007, 09:47 PM   #9
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Ah you will like Sidux. The devs are very helpful in the forum and in the #sidux irc. Plus they have taken a lot of time to create a very nice manual that is being translated in to many different languages. Make sure you look on the irc or the manual for h2's dist-upgrade script it is very helpful and tends to already have fixes for known issues.
Which will come in handy when Etch is finally released and Sid is back to being Sid.
 
Old 03-02-2007, 02:08 PM   #10
brianeanna
Member
 
Registered: Jul 2004
Location: NJ, USA & Gaillimh, Éire
Distribution: Knoppix, Kanotix, Sidux, (K)ubuntu
Posts: 32

Original Poster
Rep: Reputation: 15
Have discovered what I did wrong - did the distupgrade while in X

It's something of an irony to read in the Sidux manual (I don't recall Kanotix telling me this):

"NEVER EVER do a dist-upgrade nor upgrade whilst in X."

Wish I'd known this beforehand!

So for those who find this thread: if you're left without X after a distupgrade, your system may be irrecoverable or nearly so. Save your data and reinstall. It's just not worth the days of hassle that I went through.

Craigevil is right - my first impressions of Sidux are very favourable.

Kanotix's move to Ubuntu might be my other sticking point. No Ubuntu-based distributions have worked on my Toshiba laptop's display. This might have been the source of my screen issues.
 
Old 03-02-2007, 02:33 PM   #11
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
For some reason I never heard about upgrading in X when I ran Kanotix either. But all you have to do is look through old forum posts to see problems people had.

From the #sidux !dist-upgrade factoid:
Quote:
dist-upgrade" is Ctrl+Alt+F1 ; logon as root, type init 3 ; apt-get update ; apt-get dist-upgrade ; re-install 3d-drivers if xorg updated [sgfxi or du-fixes.sh] +DO NOT DIST-UPGRADE [or UPGRADE] with adept or synaptic+ *always* check Current Warnings on http://sidux/.com/News.html
Better yet just grab h2's d-u script" is for easy upgrade of sidux: http://techpatterns.com/forums/about736.html - du-fixes-h2.sh: the swiss army knife script for sidux!
One thing Kanotix did and Sidux does is change the default run levels so KDM/kde start in run level 5 and run level 3 is a terminal.

For some reason not all upgrade issues end up on the News page, so it is also a good idea before doing any "big" upgrades to look through the forum:
View Forum - Upgrade Warnings (EN & DE)
http://sidux.com/PNphpBB2-viewforum-f-29.html

Last edited by craigevil; 03-02-2007 at 02:36 PM.
 
Old 03-02-2007, 03:59 PM   #12
Amenemhet
LQ Newbie
 
Registered: Mar 2007
Location: canada
Distribution: fedora core 5, ubuntu 6.1
Posts: 13

Rep: Reputation: 0
Quote:
Originally Posted by brianeanna
I have been foolish enough to try to upgrade my wonderful Kanotix installation, and have been consequently left with nothing but a command line. I tested first with

apt-get distupgrade --simulate

and all seemed well, so I proceeded. The machine downloaded 80 updated packages or so, and only went wonky in the last four or five lines of the upgrade. I'll include the relevant lines:



I rebooted, and now the computer goes through the usual boot-up routine, only reporting failures with X Windows at the end and going to a command line. I can't remember exactly what is reported (I'm writing from the stricken machine, using a livecd).

Any suggestions? It's a work computer, and I'd be very grateful for help getting it back up (have to give a classroom presentation with it in two days).

Did you upgrade while in x?? This is a no-no, me thinks. You are best off to reinstall I think.


Ooops, sorry , should have read on lol.
I have a Toshiba laptop, it is all I really use, and have had no problems with several distros that I have tried..Ubuntu 6.10, Fedora core 5, and Knoppix from a flash drive.

I am a relative puppy to linux as well, but what about changing runlevels? Try init 5 at the command prompt, where init 5 is gui, init 3 is command line/terminal mode, init 0 shuts down and init 6 reboots.

Last edited by Amenemhet; 03-02-2007 at 04:05 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Install - boots cd to grub command line Optiker MEPIS 3 12-19-2006 02:27 PM
FC5 DvD Install Boots Grub Command Line jenninju Fedora 2 10-22-2006 09:15 PM
Mandriva boots up to command line ricemark20 Mandriva 4 07-16-2006 12:10 AM
MDK 10.0 now boots to a command line ZaZu Linux - Networking 2 09-01-2004 03:26 AM
rh9 boots to command line when inittab set to 5 BobNz Linux - Newbie 3 04-22-2004 08:56 PM


All times are GMT -5. The time now is 07:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration