Страница 1 из 1

Как исправит

Добавлено: 2008-06-25 14:20:59
XliN

Код: Выделить всё

saikov# lazarus
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Gtk-WARNING **: cannot open display: :0

Код: Выделить всё

saikov# cat xorg.conf
# Xorg.conf file generated for PC-BSD

Section "ServerLayout"
    Identifier     "XFree86 Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option         "Clone" "off"
EndSection

Section "Files"
    RgbPath         "/usr/local/lib/X11/rgb"
    ModulePath      "/usr/local/lib/xorg/modules"
    FontPath        "/Programs/fonts/"
    FontPath        "/usr/local/lib/X11/fonts/cyrillic/"
    FontPath        "/usr/local/lib/X11/fonts/TrueType/"
    FontPath        "/usr/local/lib/X11/fonts/webfonts/"
    FontPath        "/usr/local/lib/X11/fonts/misc/"
    FontPath        "/usr/local/lib/X11/fonts/TTF/"
    FontPath        "/usr/local/lib/X11/fonts/Type1/"
    FontPath        "/usr/local/lib/X11/fonts/CID/"
    FontPath        "/usr/local/lib/X11/fonts/75dpi/"
    FontPath        "/usr/local/lib/X11/fonts/100dpi/"
    FontPath        "/usr/local/lib/X11/fonts/dejavu/"
    FontPath        "/usr/local/lib/X11/fonts/local/"
EndSection

Section "Module"
    Load           "vnc"
    Load           "ddc"
    Load           "dbe"
    Load           "extmod"
    Load           "xtrap"
    Load           "freetype"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "keyboard"
    Option         "XkbModel" "microsoft"
    Option         "XkbLayout" "us,ru"
    Option         "XkbOptions" "grp:alt_shift_toggle,grp:lwin_switch,grp_led:scroll"
    Option         "XkbVariant" ",winkeys"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/sysmouse"
    Option         "Buttons" "6"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Generic Monitor"
    ModelName      "Generic"


EndSection


Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"          "True"  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "VideoKey"                  # <i>
        #Option     "FlatPanel"                 # [<bool>]
        #Option     "FPDither"                  # [<bool>]
        #Option     "CrtcNumber"                # <i>
        #Option     "FPScale"                   # [<bool>]
        #Option     "FPTweak"                   # <i>
    Option      "NoDDC" "Yes"
    Identifier     "Card0"
    Driver         "intel"
    VendorName     "Intel Video Driver"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    DefaultDepth   24
    Option         "SecurityTypes" "None"
    SubSection     "Display"
        Depth      24
        Modes      "1024x768"
    EndSubSection
EndSection

Re: Как исправит

Добавлено: 2008-06-25 20:05:28
Alex Keda

Код: Выделить всё

man xhost
или запускай не от рута

Re: Как исправит

Добавлено: 2008-06-25 20:07:42
Alex Keda
и тема про гуя. туда и переношу

Re: Как исправит

Добавлено: 2008-06-25 20:40:40
paradox_
а был вроде врапер для X
или уже убрали?