1 (09.02.2011 22:35:16 отредактировано White Nelud)

Я опять со своими вопросами, но что поделаешь...

Собственно на команду xhost да и на glxgears и в плеєрах тоже такое (когда из консоли запускать) выводит:

 Консоль:
No protocol specified
xhost:  unable to open display ":0.0"

xorg.conf:

+ открыть спойлер

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option         "Xinerama" "0"
EndSection

Section "Files"
    ModulePath      "/usr/lib64/xorg/modules"
    FontPath        "/usr/share/fonts/misc/"
    FontPath        "/usr/share/fonts/TTF/"
    FontPath        "/usr/share/fonts/OTF/"
    FontPath        "/usr/share/fonts/Type1/"
    FontPath        "/usr/share/fonts/100dpi/"
    FontPath        "/usr/share/fonts/75dpi/"
    FontPath        "/usr/share/fonts/ubuntu-font-family"
EndSection

Section "Module"

    #Load  "dri"
    #Load  "dri2"
    Load           "glx"
    Load           "dbe"
    Load           "extmod"
    Load           "record"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LGD"
    HorizSync       30.0 - 75.0
    VertRefresh     60.0
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    Option         "NoLogo" "true"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 260M"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "1600x900_60 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

/var/log/Xorg.0.log:

+ открыть спойлер

[    71.825]
X.Org X Server 1.9.2
Release Date: 2010-10-30
[    71.825] X Protocol Version 11, Revision 0
[    71.825] Build Operating System: Linux 2.6.35-22-generic x86_64 Gentoo
[    71.825] Current Operating System: Linux localhost 2.6.36-gentoo-r5 #1 SMP Sun Feb 6 13:22:01 EET 2011 x86_64
[    71.825] Kernel command line: root=/dev/ram0 real_root=/dev/sda5 vga=0x318
[    71.825] Build Date: 06 February 2011  09:32:09PM
[    71.825] 
[    71.825] Current version of pixman: 0.20.0
[    71.825]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[    71.825] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    71.825] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb  9 19:08:22 2011
[    71.906] (==) Using config file: "/etc/X11/xorg.conf"
[    71.906] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    71.937] (==) ServerLayout "X.org Configured"
[    71.937] (**) |-->Screen "Screen0" (0)
[    71.937] (**) |   |-->Monitor "Monitor0"
[    71.937] (**) |   |-->Device "Device0"
[    71.937] (**) |-->Input Device "Mouse0"
[    71.937] (**) |-->Input Device "Keyboard0"
[    71.937] (**) Option "Xinerama" "0"
[    71.937] (==) Automatically adding devices
[    71.937] (==) Automatically enabling devices
[    71.994] (**) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/OTF/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/,
    /usr/share/fonts/ubuntu-font-family,
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/OTF/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
[    71.994] (**) ModulePath set to "/usr/lib64/xorg/modules"
[    71.994] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    71.994] (WW) Disabling Mouse0
[    71.994] (WW) Disabling Keyboard0
[    71.994] (II) Loader magic: 0x7cb120
[    71.994] (II) Module ABI versions:
[    71.994]     X.Org ANSI C Emulation: 0.4
[    71.994]     X.Org Video Driver: 8.0
[    71.994]     X.Org XInput driver : 11.0
[    71.994]     X.Org Server Extension : 4.0
[    71.995] (--) PCI:*(0:1:0:0) 10de:0618:1043:202b rev 162, Mem @ 0xfd000000/16777216, 0xc0000000/268435456, 0xfa000000/33554432, I/O @ 0x0000ac00/128, BIOS @ 0x????????/131072
[    71.995] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[    71.995] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[    71.995] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    71.995] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
[    71.995] (II) "dri" will be loaded by default.
[    71.995] (II) "dri2" will be loaded by default.
[    71.995] (II) LoadModule: "glx"
[    72.155] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    73.075] (II) Module glx: vendor="NVIDIA Corporation"
[    73.081]     compiled for 4.0.2, module version = 1.0.0
[    73.081]     Module class: X.Org Server Extension
[    73.081] (II) NVIDIA GLX Module  260.19.29  Wed Dec  8 12:24:30 PST 2010
[    73.081] (II) Loading extension GLX
[    73.081] (II) LoadModule: "dbe"
[    73.081] (II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so
[    73.091] (II) Module dbe: vendor="X.Org Foundation"
[    73.091]     compiled for 1.9.2, module version = 1.0.0
[    73.091]     Module class: X.Org Server Extension
[    73.091]     ABI class: X.Org Server Extension, version 4.0
[    73.091] (II) Loading extension DOUBLE-BUFFER
[    73.091] (II) LoadModule: "extmod"
[    73.092] (II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so
[    73.107] (II) Module extmod: vendor="X.Org Foundation"
[    73.107]     compiled for 1.9.2, module version = 1.0.0
[    73.107]     Module class: X.Org Server Extension
[    73.107]     ABI class: X.Org Server Extension, version 4.0
[    73.107] (II) Loading extension MIT-SCREEN-SAVER
[    73.107] (II) Loading extension XFree86-VidModeExtension
[    73.107] (II) Loading extension XFree86-DGA
[    73.107] (II) Loading extension DPMS
[    73.107] (II) Loading extension XVideo
[    73.107] (II) Loading extension XVideo-MotionCompensation
[    73.107] (II) Loading extension X-Resource
[    73.107] (II) LoadModule: "record"
[    73.107] (II) Loading /usr/lib64/xorg/modules/extensions/librecord.so
[    73.117] (II) Module record: vendor="X.Org Foundation"
[    73.117]     compiled for 1.9.2, module version = 1.13.0
[    73.117]     Module class: X.Org Server Extension
[    73.117]     ABI class: X.Org Server Extension, version 4.0
[    73.117] (II) Loading extension RECORD
[    73.117] (II) LoadModule: "dri"
[    73.162] (WW) Warning, couldn't open module dri
[    73.162] (II) UnloadModule: "dri"
[    73.162] (EE) Failed to load module "dri" (module does not exist, 0)
[    73.162] (II) LoadModule: "dri2"
[    73.162] (WW) Warning, couldn't open module dri2
[    73.162] (II) UnloadModule: "dri2"
[    73.162] (EE) Failed to load module "dri2" (module does not exist, 0)
[    73.162] (II) LoadModule: "nvidia"
[    73.162] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[    73.242] (II) Module nvidia: vendor="NVIDIA Corporation"
[    73.261]     compiled for 4.0.2, module version = 1.0.0
[    73.261]     Module class: X.Org Video Driver
[    73.313] (II) NVIDIA dlloader X Driver  260.19.29  Wed Dec  8 12:10:14 PST 2010
[    73.313] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    73.313] (++) using VT number 7

[    73.414] (II) Loading sub module "fb"
[    73.414] (II) LoadModule: "fb"
[    73.414] (II) Loading /usr/lib64/xorg/modules/libfb.so
[    73.489] (II) Module fb: vendor="X.Org Foundation"
[    73.489]     compiled for 1.9.2, module version = 1.0.0
[    73.489]     ABI class: X.Org ANSI C Emulation, version 0.4
[    73.489] (II) Loading sub module "wfb"
[    73.489] (II) LoadModule: "wfb"
[    73.489] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[    73.508] (II) Module wfb: vendor="X.Org Foundation"
[    73.508]     compiled for 1.9.2, module version = 1.0.0
[    73.508]     ABI class: X.Org ANSI C Emulation, version 0.4
[    73.508] (II) Loading sub module "ramdac"
[    73.508] (II) LoadModule: "ramdac"
[    73.508] (II) Module "ramdac" already built-in
[    73.554] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[    73.554] (==) NVIDIA(0): RGB weight 888
[    73.554] (==) NVIDIA(0): Default visual is TrueColor
[    73.554] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    73.554] (**) NVIDIA(0): Option "TwinView" "0"
[    73.554] (**) NVIDIA(0): Option "MetaModes" "1600x900_60 +0+0"
[    73.559] (**) NVIDIA(0): Enabling RENDER acceleration
[    73.560] (II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
[    73.560] (II) NVIDIA(0):     enabled.
[    74.533] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 260M (G92) at PCI:1:0:0 (GPU-0)
[    74.533] (--) NVIDIA(0): Memory: 1048576 kBytes
[    74.533] (--) NVIDIA(0): VideoBIOS: 62.92.83.00.0a
[    74.533] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    74.533] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[    74.533] (--) NVIDIA(0): Connected display device(s) on GeForce GTX 260M at PCI:1:0:0
[    74.533] (--) NVIDIA(0):     LGD (DFP-0)
[    74.533] (--) NVIDIA(0): LGD (DFP-0): 330.0 MHz maximum pixel clock
[    74.533] (--) NVIDIA(0): LGD (DFP-0): Internal Dual Link LVDS
[    74.569] (II) NVIDIA(0): Assigned Display Device: DFP-0
[    74.569] (II) NVIDIA(0): Validated modes:
[    74.569] (II) NVIDIA(0):     "1600x900_60+0+0"
[    74.569] (II) NVIDIA(0): Virtual screen size determined to be 1600 x 900
[    75.639] (--) NVIDIA(0): DPI set to (106, 108); computed from "UseEdidDpi" X config
[    75.639] (--) NVIDIA(0):     option
[    75.639] (==) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
[    75.639] (--) Depth 24 pixmap format is 32 bpp
[    75.639] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
[    75.640] (II) NVIDIA(0): Initialized GPU GART.
[    75.645] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[    75.645] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[    75.645] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[    75.646] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[    75.646] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[    75.646] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[    75.646] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[    75.646] (II) NVIDIA(0):     Config Options in the README.
[    75.646] (II) NVIDIA(0): ACPI display change hotkey events enabled: the X server is new
[    75.646] (II) NVIDIA(0):     enough to receive ACPI hotkey events.
[    75.646] (II) NVIDIA(0): ACPI brightness change hotkey events enabled.
[    75.650] (II) NVIDIA(0): Setting mode "1600x900_60+0+0"
[    76.018] (II) Loading extension NV-GLX
[    76.063] (II) NVIDIA(0): Initialized OpenGL Acceleration
[    76.102] (==) NVIDIA(0): Disabling shared memory pixmaps
[    76.102] (II) NVIDIA(0): Initialized X Rendering Acceleration
[    76.102] (==) NVIDIA(0): Backing store disabled
[    76.102] (==) NVIDIA(0): Silken mouse enabled
[    76.113] (==) NVIDIA(0): DPMS enabled
[    76.126] (II) Loading extension NV-CONTROL
[    76.127] (II) Loading extension XINERAMA
[    76.127] (II) Loading sub module "dri2"
[    76.127] (II) LoadModule: "dri2"
[    76.127] (WW) Warning, couldn't open module dri2
[    76.127] (II) UnloadModule: "dri2"
[    76.127] (EE) NVIDIA: Failed to load module "dri2" (module does not exist, 0)
[    76.127] (II) NVIDIA(0): The X server will not be able to send the VDPAU driver name to
[    76.127] (II) NVIDIA(0):     libvdpau.
[    76.127] (==) RandR enabled
[    76.127] (II) Initializing built-in extension Generic Event Extension
[    76.127] (II) Initializing built-in extension SHAPE
[    76.127] (II) Initializing built-in extension MIT-SHM
[    76.127] (II) Initializing built-in extension XInputExtension
[    76.127] (II) Initializing built-in extension XTEST
[    76.127] (II) Initializing built-in extension BIG-REQUESTS
[    76.127] (II) Initializing built-in extension SYNC
[    76.127] (II) Initializing built-in extension XKEYBOARD
[    76.127] (II) Initializing built-in extension XC-MISC
[    76.127] (II) Initializing built-in extension XINERAMA
[    76.127] (II) Initializing built-in extension XFIXES
[    76.127] (II) Initializing built-in extension RENDER
[    76.127] (II) Initializing built-in extension RANDR
[    76.127] (II) Initializing built-in extension COMPOSITE
[    76.127] (II) Initializing built-in extension DAMAGE
[    76.128] (II) Initializing extension GLX
[    76.936] (II) config/udev: Adding input device Power Button (/dev/input/event8)
[    76.936] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    76.936] (II) LoadModule: "evdev"
[    76.936] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[    76.944] (II) Module evdev: vendor="X.Org Foundation"
[    76.944]     compiled for 1.9.2, module version = 2.5.0
[    76.944]     Module class: X.Org XInput Driver
[    76.944]     ABI class: X.Org XInput driver, version 11.0
[    76.944] (**) Power Button: always reports core events
[    76.944] (**) Power Button: Device: "/dev/input/event8"
[    77.000] (--) Power Button: Found keys
[    77.000] (II) Power Button: Configuring as keyboard
[    77.000] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
[    77.000] (**) Option "xkb_rules" "evdev"
[    77.000] (**) Option "xkb_model" "evdev"
[    77.000] (**) Option "xkb_layout" "us"
[    78.056] (II) config/udev: Adding input device Video Bus (/dev/input/event10)
[    78.056] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    78.056] (**) Video Bus: always reports core events
[    78.056] (**) Video Bus: Device: "/dev/input/event10"
[    78.100] (--) Video Bus: Found keys
[    78.100] (II) Video Bus: Configuring as keyboard
[    78.100] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD)
[    78.100] (**) Option "xkb_rules" "evdev"
[    78.100] (**) Option "xkb_model" "evdev"
[    78.100] (**) Option "xkb_layout" "us"
[    78.103] (II) config/udev: Adding input device Power Button (/dev/input/event7)
[    78.103] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    78.103] (**) Power Button: always reports core events
[    78.103] (**) Power Button: Device: "/dev/input/event7"
[    78.180] (--) Power Button: Found keys
[    78.180] (II) Power Button: Configuring as keyboard
[    78.180] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
[    78.180] (**) Option "xkb_rules" "evdev"
[    78.180] (**) Option "xkb_model" "evdev"
[    78.180] (**) Option "xkb_layout" "us"
[    78.180] (II) config/udev: Adding input device Lid Switch (/dev/input/event5)
[    78.180] (II) No input driver/identifier specified (ignoring)
[    78.180] (II) config/udev: Adding input device Sleep Button (/dev/input/event6)
[    78.180] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    78.180] (**) Sleep Button: always reports core events
[    78.180] (**) Sleep Button: Device: "/dev/input/event6"
[    78.230] (--) Sleep Button: Found keys
[    78.230] (II) Sleep Button: Configuring as keyboard
[    78.230] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD)
[    78.230] (**) Option "xkb_rules" "evdev"
[    78.230] (**) Option "xkb_model" "evdev"
[    78.230] (**) Option "xkb_layout" "us"
[    78.233] (II) config/udev: Adding input device Asus gaming Mouse (G112) (/dev/input/event2)
[    78.233] (**) Asus gaming Mouse (G112): Applying InputClass "evdev pointer catchall"
[    78.233] (**) Asus gaming Mouse (G112): always reports core events
[    78.233] (**) Asus gaming Mouse (G112): Device: "/dev/input/event2"
[    78.310] (--) Asus gaming Mouse (G112): Found 9 mouse buttons
[    78.310] (--) Asus gaming Mouse (G112): Found scroll wheel(s)
[    78.310] (--) Asus gaming Mouse (G112): Found relative axes
[    78.310] (--) Asus gaming Mouse (G112): Found x and y relative axes
[    78.310] (II) Asus gaming Mouse (G112): Configuring as mouse
[    78.310] (**) Asus gaming Mouse (G112): YAxisMapping: buttons 4 and 5
[    78.310] (**) Asus gaming Mouse (G112): EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    78.310] (II) XINPUT: Adding extended input device "Asus gaming Mouse (G112)" (type: MOUSE)
[    78.310] (**) Asus gaming Mouse (G112): (accel) keeping acceleration scheme 1
[    78.310] (**) Asus gaming Mouse (G112): (accel) acceleration profile 0
[    78.310] (**) Asus gaming Mouse (G112): (accel) acceleration factor: 2.000
[    78.310] (**) Asus gaming Mouse (G112): (accel) acceleration threshold: 4
[    78.310] (II) Asus gaming Mouse (G112): initialized for relative axes.
[    78.310] (II) config/udev: Adding input device Asus gaming Mouse (G112) (/dev/input/mouse1)
[    78.310] (II) No input driver/identifier specified (ignoring)
[    78.311] (II) config/udev: Adding input device Microsoft Comfort Curve Keyboard 2000 (/dev/input/event3)
[    78.311] (**) Microsoft Comfort Curve Keyboard 2000: Applying InputClass "evdev keyboard catchall"
[    78.311] (**) Microsoft Comfort Curve Keyboard 2000: always reports core events
[    78.311] (**) Microsoft Comfort Curve Keyboard 2000: Device: "/dev/input/event3"
[    78.360] (--) Microsoft Comfort Curve Keyboard 2000: Found keys
[    78.360] (II) Microsoft Comfort Curve Keyboard 2000: Configuring as keyboard
[    78.360] (II) XINPUT: Adding extended input device "Microsoft Comfort Curve Keyboard 2000" (type: KEYBOARD)
[    78.360] (**) Option "xkb_rules" "evdev"
[    78.360] (**) Option "xkb_model" "evdev"
[    78.360] (**) Option "xkb_layout" "us"
[    78.360] (II) config/udev: Adding input device Microsoft Comfort Curve Keyboard 2000 (/dev/input/event4)
[    78.360] (**) Microsoft Comfort Curve Keyboard 2000: Applying InputClass "evdev keyboard catchall"
[    78.360] (**) Microsoft Comfort Curve Keyboard 2000: always reports core events
[    78.360] (**) Microsoft Comfort Curve Keyboard 2000: Device: "/dev/input/event4"
[    78.440] (--) Microsoft Comfort Curve Keyboard 2000: Found 1 mouse buttons
[    78.440] (--) Microsoft Comfort Curve Keyboard 2000: Found scroll wheel(s)
[    78.440] (--) Microsoft Comfort Curve Keyboard 2000: Found relative axes
[    78.440] (--) Microsoft Comfort Curve Keyboard 2000: Found absolute axes
[    78.440] (--) Microsoft Comfort Curve Keyboard 2000: Found keys
[    78.440] (II) Microsoft Comfort Curve Keyboard 2000: Configuring as mouse
[    78.440] (II) Microsoft Comfort Curve Keyboard 2000: Configuring as keyboard
[    78.440] (**) Microsoft Comfort Curve Keyboard 2000: YAxisMapping: buttons 4 and 5
[    78.440] (**) Microsoft Comfort Curve Keyboard 2000: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    78.440] (II) XINPUT: Adding extended input device "Microsoft Comfort Curve Keyboard 2000" (type: KEYBOARD)
[    78.440] (**) Option "xkb_rules" "evdev"
[    78.440] (**) Option "xkb_model" "evdev"
[    78.440] (**) Option "xkb_layout" "us"
[    78.440] (EE) Microsoft Comfort Curve Keyboard 2000: failed to initialize for relative axes.
[    78.440] (II) Microsoft Comfort Curve Keyboard 2000: initialized for absolute axes.
[    78.444] (II) config/udev: Adding input device Asus Laptop extra buttons (/dev/input/event11)
[    78.444] (**) Asus Laptop extra buttons: Applying InputClass "evdev keyboard catchall"
[    78.444] (**) Asus Laptop extra buttons: always reports core events
[    78.444] (**) Asus Laptop extra buttons: Device: "/dev/input/event11"
[    78.520] (--) Asus Laptop extra buttons: Found keys
[    78.520] (II) Asus Laptop extra buttons: Configuring as keyboard
[    78.520] (II) XINPUT: Adding extended input device "Asus Laptop extra buttons" (type: KEYBOARD)
[    78.520] (**) Option "xkb_rules" "evdev"
[    78.520] (**) Option "xkb_model" "evdev"
[    78.520] (**) Option "xkb_layout" "us"
[    78.520] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[    78.520] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    78.520] (**) AT Translated Set 2 keyboard: always reports core events
[    78.520] (**) AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[    78.570] (--) AT Translated Set 2 keyboard: Found keys
[    78.570] (II) AT Translated Set 2 keyboard: Configuring as keyboard
[    78.570] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
[    78.570] (**) Option "xkb_rules" "evdev"
[    78.570] (**) Option "xkb_model" "evdev"
[    78.570] (**) Option "xkb_layout" "us"
[    78.570] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event1)
[    78.570] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[    78.570] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    78.570] (**) SynPS/2 Synaptics TouchPad: Device: "/dev/input/event1"
[    78.650] (--) SynPS/2 Synaptics TouchPad: Found 3 mouse buttons
[    78.650] (--) SynPS/2 Synaptics TouchPad: Found absolute axes
[    78.650] (--) SynPS/2 Synaptics TouchPad: Found x and y absolute axes
[    78.650] (--) SynPS/2 Synaptics TouchPad: Found absolute touchpad.
[    78.650] (II) SynPS/2 Synaptics TouchPad: Configuring as touchpad
[    78.650] (**) SynPS/2 Synaptics TouchPad: YAxisMapping: buttons 4 and 5
[    78.650] (**) SynPS/2 Synaptics TouchPad: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    78.650] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD)
[    78.650] (II) SynPS/2 Synaptics TouchPad: initialized for absolute axes.
[    78.650] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[    78.650] (II) No input driver/identifier specified (ignoring)
[    78.650] (II) config/udev: Adding input device PC Speaker (/dev/input/event9)
[    78.650] (II) No input driver/identifier specified (ignoring)

Собственно фильмы воспроизводятся нормально, сгенерирован конфиг с помощью NVIDIA X SERVER SETINGS. Да и до генерации этой тулзой фильмы тоже воспроизводились нормально. Но вот мне захотелось компиз поставить. Система amd64.

2

Что говорит 'echo $DISPLAY' ?

3

HTaeD,

 Консоль:
:0.0

4

Не запускаются любые графические приложения из консоли или только 'xhost' и 'glxgears' ?

З.Ы.

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Этот кусок, по сути, бесполезен, т.к. всё равно используется evdev.

Section "Monitor"
          ...
    VertRefresh     60.0
EndSection

Здесь должны быть два значения. Можно взять из описания монитора.

5

koala, такие ошибки показывает при запуске от root'а или от обычного пользователя?

Был, был и весь вышел...

6

HTaeD, значения взял и добавил, только Vender изменил.

7

koala, добавьте в /etc/X11/xorg.conf строки

...
Section "Files"
        ModulePath      "/usr/lib64/xorg/modules"
        ModulePath      "/usr/lib64/opengl/nvidia" ### Добавить
        ModulePath      "/usr/lib64/opengl/xorg-x11/extensions" ### Добавить
...

Тогда исчезнут сообщения о невозможности загрузить модули:

koala пишет:

73.117] (II) LoadModule: "dri"
[    73.162] (WW) Warning, couldn't open module dri
[    73.162] (II) UnloadModule: "dri"
[    73.162] (EE) Failed to load module "dri" (module does not exist, 0)
[    73.162] (II) LoadModule: "dri2"
[    73.162] (WW) Warning, couldn't open module dri2
[    73.162] (II) UnloadModule: "dri2"
[    73.162] (EE) Failed to load module "dri2" (module does not exist, 0)

Был, был и весь вышел...

8 (09.02.2011 23:49:54 отредактировано White Nelud)

Lupo Alberto, добавил, проблему решилась для простого пользователя. А вот если из под рута запустить glxinfo то вылезают те же ошибки.
Проблема решилась.

9

koala пишет:

А вот если из под рута запустить glxinfo то вылезают те же ошибки.

Это сделано в целях безопасности.
Покажите файлы /etc/X11/xinit/xserverrc и  /etc/X11/xinit/xinitrc.d/00-xhost

Был, был и весь вышел...

10

Lupo Alberto,

xserverrc:

#!/bin/sh
exec /usr/bin/X -nolisten tcp "$@"
#!/bin/sh
# Allow all local connections from the current UID
# This fixes issues with hostname changes (usually by dhcp clients)
# see bug 287498 for more info

[ -x /usr/bin/xhost ] && [ -x /usr/bin/id ] &&
    xhost +si:localuser:`id -un` > /dev/null 2>&1

Но по сути проблема решилась, все запускается. но из под рута gedit не хочет из консоли открывать файлы.

11 (10.02.2011 19:12:19 отредактировано mycetophylax)

koala пишет:

Но по сути проблема решилась, все запускается. но из под рута gedit не хочет из консоли открывать файлы.

Для этих целей в KDE существует kdesu. Аналогичная программа есть в Gnome. Если не ошибаюсь, она называется gksu.

12

mycetophylax, наверное sudo так как команда gksu не запустилась.

13

Её надо сначало установить.

$ eix -e gksu                                                                                                                                                                      ~ 
* x11-libs/gksu
     Available versions:  2.0.2 {doc gnome}
     Homepage:            http://www.nongnu.org/gksu/
     Description:         A gtk+ frontend for libgksu
$ eix -c kdesu                                                                                                                                                                     ~ 
[i] kde-base/kdesu (4.6.0(4.6)@02/04/2011): KDE: gui for su(1)
[N] kde-misc/kdesudo ((~)3.4.2.3(4)): A frontend for sudo. Unlike kdesu, it uses directly sudo as backend.