Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате
Форум программистов > *NIX системы: Общие вопросы > ошибка Xlib


Автор: kindDevil 21.6.2007, 23:20
лог ошибки:
Код


Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Couldn't load driver gtk: Couldn't initialize gtk (cannot open display)
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Couldn't load driver sdl: Couldn't initialize SDL: No available video device
Error: Couldn't open any loading windows.



конфиг иксов (опустил конфиг устройств ввода):


Код

Section "Device"
        Identifier      "NVIDIA RIVA TNT2"
        Driver          "nvidia"
        BusID           "PCI:1:0:0"
EndSection

Section "Monitor"
        Identifier      "DELL P780"
        Option          "DPMS"
        HorizSync       30-92
        VertRefresh     50-85
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "NVIDIA RIVA TNT2"
        Monitor         "DELL P780"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection




такая ошибка возникает при запуске чуть ли не любого графического приложения.
как исправить?

Автор: nickless 22.6.2007, 00:39
Какая версия дров?
И покаже еще секцию "Module"

Автор: kindDevil 22.6.2007, 12:15
дрова Nvidia - NVIDIA-Linux-x86-1.0-7184-pkg1 с оффициального сайта

секция модулей:

Код

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


Добавлено через 13 минут и 13 секунд
решение проблемы:

1) rm ~/.Xauthority
2) sudo killall xdm
3) roooooot =)
4) xdm

 smile 
и все заработало

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)