B

Zagadnienia dotyczące menadżerów okien, środowisk graficznych - X, KDE, GNOME, Fluxbox, XFCE., Compiz itp.
Awatar użytkownika
grzesiek311
Posty: 84
Rejestracja: 27 kwietnia 2007, 00:59
Lokalizacja: Wrocław

Błąd w Xorg?

Post autor: grzesiek311 »

Po zainstalowaniu xorg'a i kde kilka tygodni temu zacząłem przeglądać log xorg'a ponieważ cały czas zwracał mi komunikaty o błędach. Udało mi się usunąć wszystkie błędy prócz jednego.

W logu mam taką informację:

Kod: Zaznacz cały

Error loading keymap /var/tmp/server-0.xkm
Natomiast kiedy włączę kde i przejdę poprzez CTRL-ALT-F1 do konsoli tekstowej, napisane jest coś takiego:

Kod: Zaznacz cały

 
xkb_keycodes { include "xfree86+aliases(querty)" }
xkb_types { include "complete" }
xkb_compatybility { include "complete" }
xkb_symbols { include "pc(pc105)+pl" }
xkb_geometry { include "pc(pc105)" }

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:                  Type "ONE_LEVEL" has 1 level, but <RALT> has 2 symbols
>                                Ignoring extra symbols
Errors from xkb are not fatal to the X server
xkb_keycodes { include "xfree86+aliases(querty)" }
xkb_types { include "complete" }
xkb_compatybility { include "complete" }
xkb_symbols { include "pc(pc104)+pl" }
xkb_geometry { include "pc(pc104)" }

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:                  Type "ONE_LEVEL" has 1 level, but <RALT> has 2 symbols
>                                Ignoring extra symbols
Errors from xkb are not fatal to the X server
Z tych tekstów wynika, że to może być jakiś problem z układem klawiatury, tylko jaki kiedy wszystko działa jak należy. Szukałem w Internecie sposobu na ten problem ale nie doszukałem się więc może Wy macie jakiś pomyśł?

Pozdrawiam
Grzesiek
skotik87
Posty: 98
Rejestracja: 05 kwietnia 2007, 00:20
Lokalizacja: Krakow

Post autor: skotik87 »

zalacz jeszcze swojego xorg.conf.
tutaj http://www.debianhelp.org/node/4229 cos masz ale nie czytalem tego dokladnie bo brak czasu :/
Awatar użytkownika
grzesiek311
Posty: 84
Rejestracja: 27 kwietnia 2007, 00:59
Lokalizacja: Wrocław

Post autor: grzesiek311 »

Problem rozwiązany.

Do sekcji InputDevice należało dodać:

Kod: Zaznacz cały

Option      "XkbOptions" "lv3:ralt_switch_multikey"
Znalazłem na forum PLD :mrgreen: .

Ale, ale. Jest niestety inny problem. Kiedy loguję się na swoje konto, włączam X-y i wylogowuje się do konsoli to xserver ładnie kończy działanie i jest ok. Kiedy natomiast z innego konta robię to samo dostaję dziwny komuniakt kiedy X-y się już wyłączą.

Oto on:

Kod: Zaznacz cały

FreeFontPath: FPE "/usr/share/fonts/misc/" refcount is 2, should be 1; fixing
Nie wiem, to musi być chyba kwestia osobistych ustawień kont czy coś w tym guście. No bo dziwne to jest, że na jednym koncie ładnie serwer się zamyka, a na innym dostaję komunikat. Oba konta są w tych samych grupach.
Awatar użytkownika
grzesiek311
Posty: 84
Rejestracja: 27 kwietnia 2007, 00:59
Lokalizacja: Wrocław

Post autor: grzesiek311 »

Właśnie nie jest do końca SOLVED ponieważ natknąłem się na inny błąd dotyczący X-ów. Patrz wyżej. Właśnie, zapomniałbym.

Oto mój xorg.conf

Kod: Zaznacz cały


# /etc/X11/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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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 "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "aticonfig-Screen[0]" 0 0
	InputDevice    "Generic Keyboard"
	InputDevice    "Configured Mouse"
EndSection

Section "Files"

	# path to defoma fonts
	FontPath     "/usr/share/fonts/X11/misc"
#	FontPath     "/usr/X11R6/lib/X11/fonts/misc"
#	FontPath     "/usr/share/fonts/X11/cyrillic"
#	FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
#	FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
#	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
#	FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
#	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
#	FontPath     "/usr/share/fonts/X11/Type1"
#	FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
#	FontPath     "/usr/share/fonts/X11/100dpi"
#	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi"
#	FontPath     "/usr/share/fonts/X11/75dpi"
#	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi"
	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	
	
EndSection

Section "Module"
	Load  "bitmap"
	Load  "ddc"
	Load  "dri"
	Load  "extmod"
	Load  "freetype"
	Load  "glx"
	Load  "int10"
	Load  "vbe"
EndSection

Section "InputDevice"
	Identifier  "Generic Keyboard"
	Driver      "kbd"
	Option	    "CoreKeyboard"
	Option	    "XkbRules" "xorg"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "pl"
	Option	    "XkbOptions" "lv3:ralt_switch_multikey"
EndSection

Section "InputDevice"
	Identifier  "Configured Mouse"
	Driver      "mouse"
	Option	    "CorePointer"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "ImPS/2"
EndSection

Section "Monitor"
	Identifier   "B101570"
	HorizSync    30.0 - 62.0
	VertRefresh  50.0 - 75.0
	Option	    "DPMS"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]"
#	Option	    "VendorName" "ATI Proprietary Driver"
#	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "ATI Technologies Inc RV350 AS [Radeon 9550]"
	Driver      "ati"
	VideoRam    128000
	BusID       "PCI:2:0:0"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]"
	Driver      "fglrx"
	BusID	    "PCI:2:0:0"
EndSection

Section "Screen"
	Identifier "Default Screen"
	Device     "ATI Technologies Inc RV350 AS [Radeon 9550]"
	Monitor    "B101570"
	DefaultDepth     24
	SubSection "Display"
		Depth     1
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     4
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     8
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     15
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]"
	Device     "aticonfig-Device[0]"
	Monitor    "aticonfig-Monitor[0]"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "DRI"
	Mode         0666
EndSection

Section "ServerFlags"
    Option "AIGLX" "off"
EndSection
 
ODPOWIEDZ