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

Cannot open display ":0.0"

Добавлено: 2011-02-10 1:15:08
Leslie
Доброго времени суток, господа. Установил mesa, вроде настроил. Пытался проверить работоспособность. Столкнулся с такой проблемой:
при вводе или

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

setxkbmap -option terminate:ctrl_alt_bksp
выдает такое

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

No protocol specified
Cannot open display ":0.0"
не могу понять в чем дело.
ОС FreeBSD 8.1-release
xorg-server-1.7.5
Xorg.conf

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

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (root@leslie.maximuma.net)  Mon Sep 27 11:10:49 EEST 2010

Section "Extensions"
	Option "Composite"
EndSection
# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerFlags"
	#DontZap # disable <Ctrl><Alt><BS> (server abort)
	AllowMouseOpenFail # allows the server to start up even if the mouse does not work
	#DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection


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

Section "Files"
	ModulePath	  "/usr/local/lib/xorg/modules"
	FontPath		"/usr/fonts/misc/"
	FontPath		"/usr/fonts/TTF/"
	FontPath		"/usr/fonts/OTF"
	FontPath		"/usr/fonts/Type1/"
	FontPath		"/usr/fonts/100dpi/"
	FontPath		"/usr/fonts/75dpi/"
	FontPath		"/usr/fonts/terminus-font/"
	FontPath		"/usr/fonts/cyr-rfx-koi8-o/"
	FontPath		"/usr/fonts/webfonts/"
EndSection

Section "Module"
	Load		   "extmod"
	Load		   "record"
	Load		   "dbe"
	Load		   "glx"
	Load		   "dri2"
EndSection

Section "InputDevice"
	Identifier	 "Keyboard0"
	Driver		 "kbd"
	Option		 "XkbLayout" "us,ru(winkeys),ua"
	Option		 "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
	Option		 "XkbOptions" "terminate:ctrl_alt_bksp"   
EndSection

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

Section "Monitor"
	Identifier "monitor0"
	VendorName "Plug'n Play"
	ModelName "L1970HR "
	HorizSync 30-83
	VertRefresh 56-75
 
	# TV fullscreen mode or DVD fullscreen output.
	# 768x576 @ 79 Hz, 50 kHz hsync
	ModeLine "768x576"	 50.00  768  832  846 1000   576  590  595  630
	
	# 768x576 @ 100 Hz, 61.6 kHz hsync
	ModeLine "768x576"	 63.07  768  800  960 1024   576  578  590  616
EndSection
 
Section "Device"
	Identifier	 "Card0"
	Driver		 "nvidia"
	VendorName	 "nVidia Corporation"
	BoardName	  "NV18 [GeForce4 MX 440 AGP 8x]"
	Option "DPMS"
EndSection

Section "Screen"
	Identifier	 "Screen0"
	Device		 "Card0"
	Monitor		"Monitor0"
		DefaultColorDepth 24
	
	Subsection "Display"
		Depth 8
		Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
	EndSubsection
	
	Subsection "Display"
		Depth 15
		Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
	EndSubsection
	
	Subsection "Display"
		Depth 16
		Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
	EndSubsection
	
	Subsection "Display"
		Depth 24
		Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
	EndSubsection
EndSection
1. Не могу привинтить ОпенГЛ;
2. Не могу вернуть возможность презагрузки х-ов комбинацией ctrl_alt_bksp?
3. Скролл работает "через раз";
4. При выходе из графического окружения экран просто темнеет и машина "молчит", не срабатывает даже ctrl_alt_del;
hal не использую. В качестве менеджера входа использую kdm.
Может кто сталкивался, помогите с проблемой.
Заранее благодарен.

Re: Cannot open display ":0.0"

Добавлено: 2011-02-11 10:32:09
manefesto
не запускай под рутом

Re: Cannot open display ":0.0"

Добавлено: 2011-02-12 10:50:36
Leslie
не запускаю.

Re: Cannot open display ":0.0"

Добавлено: 2011-02-12 17:36:26
Leslie
упс, действительно. сорри, натупил.
тогда вопрос такой: что делать с этим??? инфы вроде много а по-сути, ничего толковго.

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

[leslie@leslie:~$]glxgears
Error: couldn't get an RGB, Double-buffered visual
[leslie@leslie:~$]glxinfo
name of display: :0.0
Error: couldn't find RGB GLX visual or fbconfig