DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian, Fedora 8 and 9, Mandriva 2009, Mepis, Kubuntu, SuSe 10.1, Slackware 12.1 - and Knoppix.
Posts: 155
Rep:
"unable to open X server"
This evening I updated my Debian sid from 2.6.17-2-686 to 2-6-21-1-686.
After that, the KDE GUI won't start - I get the message "unable to open X server".
In the past, typing xstart or kde or kdm at this point would get things going. Not this time. I've Googled for a couple of hours, and found lashings of stuff (much from 2003 and earlier), but nothing that helps.
An oddity: 'aptitude update' starts a load of references to Linux 3.1 r1 _Sarge_ which was, long ago, the original installation.
'aptitude upgrade' (my last resort as a non-expert) brings the response
dirmngr: Depends: libpth20 (>= 2.0.7-2) but it is not installable
gnupg-agent: same
gpgsm: same
Can anyone suggest a cure that will get the X server back online?
What's the contents of your sources.list file? Make sure to change all references to Sarge or Etch to Sid (and Stable, Testing -> Unstable) Update and try again.
Distribution: Debian, Fedora 8 and 9, Mandriva 2009, Mepis, Kubuntu, SuSe 10.1, Slackware 12.1 - and Knoppix.
Posts: 155
Original Poster
Rep:
Thanks! Yes, it mentioned the original Deb 3.1 Sarge CDs, now commented out.
It then downloaded a load of extra stuff to update, but crashed out on the upgrade with the error message:
dpkg: error processing /var/cache/apt/archives/libpth20_2.0.7-8_i386.deb (--unpack):
trying to overwrite '/usr/lib/libpth.so.20.0.27', which is also in package libpth2
Errors were encountered while processing:
/var/cache/apt/archives/libpth20_2.0.7-8_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
startx got a bit further, but still crashed - with a
Fatal server error: failed to initialise core devices
X10: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
I've been here before - but it was a year or so ago and I can't find my notebook with what I did that time
Distribution: Debian, Fedora 8 and 9, Mandriva 2009, Mepis, Kubuntu, SuSe 10.1, Slackware 12.1 - and Knoppix.
Posts: 155
Original Poster
Rep:
Quote:
Originally Posted by makuyl
dpkg -i --force-all /var/cache/apt/archives/libpth20_2.0.7-8_i386.deb
dpkg --configure -a
It told me it was doing stuff because it was forced.
At the end, it came back to the non-GUI # prompt.
"startx" gave the same result - including a message about
No Input driver matching 'keyboard'
No core keyboard.
Odd, because the keyboard works fine in command-line mode, and was fine before...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.