Strona 1 z 2

[+] Błąd przy poleceniu startx kde 3.5.10, kdm

: 11 października 2009, 00:02
autor: sihdi
Witam.

Nie mogę zalogować się do w trybie graficznym. Graficzny ekran logowania się uruchamia.

Podczas uruchamiania systemu w trybie ,,single user'' po dojściu do momentu podania hasła root, wybieram opcje uruchomienia trybu graficznego i pojawia komunikat o błędzie:

Kod: Zaznacz cały

 /usr/sbin/cupsd : error while loading shared libraries: libgssapi_krb5.so.2: cannot open shared object file: No such file or directory (uruchamianie idzie dalej).

W konsoli po wykonaniu polecenia:

Kod: Zaznacz cały

startx
Pojawia się następujący komunikat o błędach:

Kod: Zaznacz cały

The XKEYBOYBOARD keymap compiler (xkbcomp) reports
> Error:           No symbols named "pl" in the include file "pl"
>                    Exiting
>                    Abandoning symbols file "default"
Error from xkbcomp are not fatal to the X server

waiting for X server to shut down FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing.
Powyższy problem pojawił się po zainstalowaniu pakietu xorg-dev (instalowałem WINE).

Kod: Zaznacz cały

uname -r

Kod: Zaznacz cały

2.6.26-2-686

Kod: Zaznacz cały

lspci -k

Kod: Zaznacz cały

00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 0136
	Kernel driver in use: agpgart-intel
	Kernel modules: intel-agp
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 0136
	Kernel modules: intelfb
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 0136
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 0136
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 0136
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 0136
	Kernel driver in use: ehci_hcd
	Kernel modules: ehci-hcd
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 0136
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 0136
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 0136
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 0136
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 0136
	Kernel driver in use: ehci_hcd
	Kernel modules: ehci-hcd
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 0136
	Kernel modules: iTCO_wdt
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 0136
	Kernel driver in use: PIIX_IDE
	Kernel modules: piix
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 0136
	Kernel driver in use: ata_piix
	Kernel modules: ata_piix
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
	Subsystem: Acer Incorporated [ALI] Device 0136
	Kernel driver in use: i801_smbus
	Kernel modules: i2c-i801
05:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)
	Subsystem: Acer Incorporated [ALI] Device 0136
	Kernel driver in use: tg3
	Kernel modules: tg3
06:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)
	Subsystem: AMBIT Microsystem Corp. AR5BXB63 802.11bg NIC
	Kernel driver in use: ath_pci
	Kernel modules: ath5k, ath_pci
Użyłem kilkakrotnie ,,dpkg-reconfigure'', oraz ,,X -configure''.

Po wykonaniu:

Kod: Zaznacz cały

X -config /sciezka do xorg.conf
pojawia się czarno-biała szachownica - te same komunikaty błędów (w ustawieniach tryb graficzny dla root jest nie dostępny).

Wynik polecenia:

Kod: Zaznacz cały

 dpkg -l xorg*

Kod: Zaznacz cały

||/ Nazwa                                Wersja                        Opis
+++-===========================-======================
ii  xorg                                 1:7.4+4                       X.Org X Window System
un  xorg-common                          <brak>                        (brak dostępnego opisu)
ii  xorg-dev                             1:7.4+4                       the X.Org X Window System development librar
un  xorg-docs                            <brak>                        (brak dostępnego opisu)
ii  xorg-docs-core                       1:1.4-5                       Core documentation for the X.org X Window Sy
un  xorg-driver-synaptics                <brak>                        (brak dostępnego opisu)
Proszę o pomoc w rozwiązaniu tego problemu.

Tak przypomniałem sobie że jak włączyłem przeglądarke to wczytywała się strona startowa a po wpisaniu adresu strony i zatwierdzeniu przeglądarka wyłączała się ( tak samo po kilku próbach) wtedy restart i już nie mogłem się zalogować w X. Nie ma bata żeby nie stwierdzić, że problem zaczął się od kiedy uruchomiłem aplikacje exe w WINE.
No to jest trochę informacji do analizy.

Jeśli coś jest nie jasne, postaram się udzielić szczegółowego wyjaśnienia.

Re: Błąd przy poleceniu startx kde 3.5.10, kdm

: 11 października 2009, 16:18
autor: adrikux
sihdi pisze:

Kod: Zaznacz cały

 /usr/sbin/cupsd : error while loading shared libraries: libgssapi_krb5.so.2: cannot open shared object file: No such file or directory (uruchamianie idzie dalej).
To nie ma nic wspólnego z zainicjowaniem graficznego systemu okienkowego. Ten komunikat dotyczy serwera wydruku CUPS. Nie masz biblioteki libgssapi_krb5.so.2.
Spróbuj ją doinstalować: apt-get install libgssapi_krb5.so.2
Jeżeli jej nie znajdzie to cóż, nie wiem dlaczego jej nie masz, w packages.debian nie znalazłem takiego pakietu. Jeżeli nie masz w domu drukarki to zainstaluj sobie pakiet rcconf, poczym uruchom go i wyłącz CUPS-a.

Odnośnie nie uruchamiania się xorga:

1. Przekonfiguruj ten pakiet:

Kod: Zaznacz cały

dpkg-reconfigure xserver-xorg
2. Utwórz plik xinitrc:

Kod: Zaznacz cały

xinit
poczym wykonaj : startx
3. Może uruchom bezpośrednio menedżer logowania:

Kod: Zaznacz cały

/etc/init.d/kdm start

Kod: Zaznacz cały

/etc/init.d/gdm start
Nic więcej mi do głowy nie przychodzi. Miałeś za sobą jakąś nieudaną instalację sterowników lub edytowałeś /etc/X11/xorg.conf?

: 11 października 2009, 16:52
autor: iria
Pakiet nazywa się

Kod: Zaznacz cały

libgssapi-krb5-2
,ale nie jest dostępny w Lennym. Nie mieszałeś przypadkiem wersji?
sihdi pisze:Podczas uruchamiania systemu w trybie ,,single user'' po dojściu do momentu podania hasła root, wybieram opcje uruchomienia trybu graficznego i pojawia komunikat o błędzie:
Dlaczego chcesz się zalogować do KDE, jako root?

: 11 października 2009, 16:57
autor: adrikux
Nawet jeżeli ma Lenny to pakiet libgssapi-krb5-2 może zainstalować w wersji dla Sida, w przypadku pojedynczych pakietów ich wymieszanie nie sprawi kłopotów.

: 11 października 2009, 18:26
autor: sihdi
iria pisze:sihdi napisał/a:
Podczas uruchamiania systemu w trybie ,,single user'' po dojściu do momentu podania hasła root, wybieram opcje uruchomienia trybu graficznego i pojawia komunikat o błędzie:


Dlaczego chcesz się zalogować do KDE, jako root?
Nie loguje się na root'a. Wciskam [ctrl] + D i uruchamia się ekran logowania.
adrikux pisze:2. Utwórz plik xinitrc:
Kod:
xinit
uruchamia się czarno-biała szachownica a w lewym górnym rogu konsola. Tam wpisuje

Kod: Zaznacz cały

startx
polecenie kończy się błedem:

Kod: Zaznacz cały

X: warning]

Więc ten plik usuwam i
[code] # startx 

Kod: Zaznacz cały

_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already running 
musze z root bo z $ wydziera się :

Kod: Zaznacz cały

xauth: error in locking authority file /home/arod/.Xauthority

A kiedy urchomie:

Kod: Zaznacz cały

 # /etc/init.d/kdm start
Starting K Display Manager: kdm already running
KDM uruchamia się przy starcie systemu. Mam ekran logowania. Po wpisaniu ekran znika ( w sensie jest czarny :-P ) na moment i pojawia się znowu ekran logowania.
Miałeś za sobą jakąś nieudaną instalację sterowników lub edytowałeś /etc/X11/xorg.conf?
_________________


Bawiłem się w xorg.conf ale to dawno i wszystko śmigało jak trzeba.

Tak jak napisałem w pierwszym poście zainstalowałem pakiet

Kod: Zaznacz cały

 xorg-dev 
i zaktualizowałem

Kod: Zaznacz cały

xorg
Dodam jeszcze, że:

Kod: Zaznacz cały

 echo $DISPLAY
:0.0

: 11 października 2009, 18:30
autor: adrikux
Spróbuj wydać polecenie:

Kod: Zaznacz cały

xinit
z konta zwykłego użytkownika. Potem pobróbuj startx z root lub ze zwykłego konta. Możesz też spróbować:

Kod: Zaznacz cały

startkde

: 11 października 2009, 18:55
autor: sihdi

Kod: Zaznacz cały

$xinit

Kod: Zaznacz cały

 # startx 
X: warning; process set to priority -1 instead of requested priority 0

Fatal server error:
Server is already active for display 0
       If this server is no longer running, remove /tmp/.X0-lock

Kod: Zaznacz cały

$startkde
startkde: Starting up...
kbuildsycoca running...
Reusing existing ksycoca
/tmp/kde-arod/kcminitvzvpAa.tmp:467:24: warning: missing terminating ' character
/tmp/kde-arod/kcminitvzvpAa.tmp:566:28: warning: missing terminating ' character
KDE uruchomiło się!

Poniższe komunikaty pojawiają się na bieżąco np. drugi gdy otworzyłem i zamknąłem drugą konsole.

Kod: Zaznacz cały

X Error: BadAccess (attempt to access private resources denied) 10
    Major opcode: 2
    Minor opcode: 0
    Resource id: 0x2a0000f
X Error: BadWindow (invalid Window parametr) 3
    Major opcode: 19
    Minor opcode: 0
    Resource id: 0x2c00006
Następnie:

Kod: Zaznacz cały

reboot
Dalej nie mogę się w zalogować za pomocą trybu graficznego.

Natomiast w konsoli:

Kod: Zaznacz cały

 $ xinit
          $ startkde
i jestem zalogowany poprawnie.

: 11 października 2009, 19:51
autor: adrikux
Możesz jeszcze spróbować automatycznego wygenerowania nowego xorg.conf:

Kod: Zaznacz cały

Xorg -configure
Następnie skopiuj go do /etc/X11:

Kod: Zaznacz cały

cp /root/xorg.conf.new /etc/X11/xorg.conf

: 11 października 2009, 22:55
autor: iria
adrikux pisze:Nawet jeżeli ma Lenny to pakiet libgssapi-krb5-2 może zainstalować w wersji dla Sida, w przypadku pojedynczych pakietów ich wymieszanie nie sprawi kłopotów.
Co Ty nie powiesz? Nie zastanowił Cię powód, dlaczego ten pakiet jest nagle wymagany, skoro w Lennym nie występuje?!

sihdi pisze:Podczas uruchamiania systemu w trybie ,,single user''
Dlaczego uruchamiasz system w ten sposób? Przy normalnym uruchamianiu też nie działa?

: 11 października 2009, 23:15
autor: Katiusha
adrikux pisze:Możesz jeszcze spróbować automatycznego wygenerowania nowego xorg.conf: Kod:
Xorg -configure
A nie przypadkiem:

Kod: Zaznacz cały

X -configure
?
Chyba że obydwa polecenia to to samo. Pierwszy raz widze to Twoje adrikux... :?: