apt-get dist-upgrade, and X issues

stan stanb at panix.com
Sat Dec 5 19:03:06 UTC 2009


On Sat, Dec 05, 2009 at 10:46:08AM -0800, Leonard Chatagnier wrote:
> 
> --- On Sat, 12/5/09, stan <stanb at panix.com> wrote:
> 
> > From: stan <stanb at panix.com>
> > Subject: apt-get dist-upgrade, and X issues
> > To: "Ubuntu Linux List" <ubuntu-users at lists.ubuntu.com>
> > Date: Saturday, December 5, 2009, 12:21 PM
> > I just did an apt-get dist-upgrade on
> > a 9.10 box, and when I rebooted. I
> > get a message about running in low-res mode. It says
> > "(EE)XKB: no
> > components provided for virtual cire keyboard.
> > 
> > This machine has a Nvidia graphics card, and the Xorg.0.log
> > file seems to
> > indicate that the nvidia module was laoded corectly:
> > 
> > This seems to e the root cause of the problem:
> > 
> > (EE) XKB: No components provided for device Virtual core
> > keyboard
> > (WW) Couldn't load XKB keymap, falling back to pre-XKB
> > keymap
> > [config/dbus] couldn't take over org.x.config:
> > org.freedesktop.DBus.Error.Disconnected (Connection was
> > disconnected before
> > a reply was received)
> > [config/hal] couldn't add match rule:
> > org.freedesktop.DBus.Error.Disconnected (Connection is
> > closed)
> > [config/hal] cannot detect a HAL startup.
> > 
> > What can I do to fix this?
> > 
> Welcome to the club and I don't know know a permanent fix as I've been suffering from a low res issue for a few weeks now on my 64 bit Karmic with kubuntu-desktop.  Do you have an /etc/X11/xorg.conf file? If so, copy and pasted it to your reply.

# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
EndSection

# commented out by update-manager, HAL is now used
#Section "InputDevice"
#	Identifier	"Generic Keyboard"
#	Driver		"kbd"
#	Option		"CoreKeyboard"
#	Option		"XkbRules"	"xorg"
#	Option		"XkbModel"	"pc105"
#	Option		"XkbLayout"	"us"
#EndSection

# commented out by update-manager, HAL is now used
#Section "InputDevice"
#	Identifier	"Configured Mouse"
#	Driver		"mouse"
#	Option		"CorePointer"
#	Option		"Device"	"/dev/input/mice"
#	Option		"Protocol"	"ImPS/2"
#	Option		"ZAxisMapping"	"4 5"
#	Option		"Emulate3Buttons"	"true"
#EndSection

# commented out by update-manager, HAL is now used
#Section "InputDevice"
#	Driver		"wacom"
#	Identifier	"stylus"
#	Option		"Device"	"/dev/input/wacom"
#	Option		"Type"	"stylus"
#	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
#EndSection

# commented out by update-manager, HAL is now used
#Section "InputDevice"
#	Driver		"wacom"
#	Identifier	"eraser"
#	Option		"Device"	"/dev/input/wacom"
#	Option		"Type"	"eraser"
#	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
#EndSection

# commented out by update-manager, HAL is now used
#Section "InputDevice"
#	Driver		"wacom"
#	Identifier	"cursor"
#	Option		"Device"	"/dev/input/wacom"
#	Option		"Type"	"cursor"
#	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
#EndSection

Section "Device"
	Identifier	"nVidia Corporation NV34 [GeForce FX 5200]"
	Driver		"nvidia"
	Busid		"PCI:1:0:0"
	Option		"AddARGBVisuals"	"True"
	Option		"AddARGBGLXVisuals"	"True"
	Option		"NoLogo"	"True"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
	Horizsync	30-70
	Vertrefresh	50-160
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"nVidia Corporation NV34 [GeForce FX 5200]"
	Monitor		"Generic Monitor"
	Defaultdepth	24
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
  screen "Default Screen"
# commented out by update-manager, HAL is now used
#	Inputdevice	"Generic Keyboard"
# commented out by update-manager, HAL is now used
#	Inputdevice	"Configured Mouse"
	
	# Uncomment if you have a wacom tablet
	#	InputDevice     "stylus"	"SendCoreEvents"
	#	InputDevice     "cursor"	"SendCoreEvents"
	#	InputDevice     "eraser"	"SendCoreEvents"
EndSection
Section "Module"
	Load		"glx"
EndSection

> After you close out the startup low res error message, did you try any of the suggestions to fix or read the log file, etc?  What did the X logs say?

Yes.

> If you can't get into X windows from the command tty using startx, you might try:

I think the relevant part of it was in the original post. If needed I can
send the whole thing.

> sudo restart dbus

This works.

> sudo restart hal

This fails:

root at boo-boo:/etc/X11# restart hal
restart: Unknown instance: 


> sudo /etc/init.d/gdm(or kdm, whichever you use) restart(all one line)

Well this gets interesting:

root at boo-boo:/etc/init.d# ./kdm start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service kdm start

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start kdm


Having foudn this, I was able to do "stop kdm" followed by "start kdm" as
root. This got the graphical login up, but neither the mouse, nor the
kayboard work, at this point.


> None of the suggestions are a fix but may get you into X windows(gnome or kde) so you can use your machine.  The more error messages you can give the list, the more help likely to come.
> Leonard Chatagnier
> lenc5570 at sbcglobal.net
> 
> 
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?




More information about the ubuntu-users mailing list