Xorg под обычным пользователем

sysmouse
сделал все как советовали. ошибки ушли, но иксы вылетают. бит SUID вернул Xorg.
сгенерировал xorg.conf (обычно без него обходился)
вот xorg.conf:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
    Option "AIGLX" "false"
EndSection
Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc"
	FontPath     "/usr/share/fonts/100dpi:unscaled"
	FontPath     "/usr/share/fonts/75dpi:unscaled"
	FontPath     "/usr/share/fonts/TTF"
	FontPath     "/usr/share/fonts/Type1"
EndSection
Section "Module"
	Load  "dbe"
	Load  "extmod"
EndSection
Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
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
	Identifier  "Card0"
	Driver      "vboxvideo"
	VendorName  "InnoTek Systemberatung GmbH"
	BoardName   "VirtualBox Graphics Adapter"
	BusID       "PCI:0:2:0"
EndSection
Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

вот новый лог из под юзера, пришлось опять весь выкладывать, так как нет ни EE ни WW:

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
X.Org X Server 1.7.4.901 (1.7.5 RC 1)
Release Date: 2010-01-23
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-ARCH i686 
Current Operating System: Linux arch-host 2.6.32-ARCH #1 SMP PREEMPT Fri Jan 29 08:50:05 UTC 2010 i686
Kernel command line: root=/dev/disk/by-uuid/c5ba0791-fd22-46dd-8753-78424ff0ef46 ro
Build Date: 31 January 2010  11:40:13AM
 
Current version of pixman: 0.16.4
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb  4 02:04:51 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) Option "AIGLX" "false"
(==) Automatically adding devices
(==) Automatically enabling devices
(**) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/100dpi:unscaled,
	/usr/share/fonts/75dpi:unscaled,
	/usr/share/fonts/TTF,
	/usr/share/fonts/Type1,
	/usr/share/fonts/misc,
	/usr/share/fonts/100dpi:unscaled,
	/usr/share/fonts/75dpi:unscaled,
	/usr/share/fonts/TTF,
	/usr/share/fonts/Type1
(**) ModulePath set to "/usr/lib/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
	If no devices become available, reconfigure HAL or disable AutoAddDevices.
(II) Loader magic: 0x81e5100
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 6.0
	X.Org XInput driver : 7.0
	X.Org Server Extension : 2.0
(--) using VT number 7
(--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 InnoTek Systemberatung GmbH VirtualBox Graphics Adapter rev 0, Mem @ 0xe0000000/134217728
(II) Open ACPI successful (/var/run/acpid.socket)
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded by default.
(II) "dri" will be loaded by default.
(II) "dri2" will be loaded by default.
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.7.4.901, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.7.4.901, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
	compiled for 1.7.4.901, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(**) AIGLX disabled
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.7.4.901, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
	compiled for 1.7.4.901, module version = 1.1.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "vboxvideo"
(II) Loading /usr/lib/xorg/modules/drivers/vboxvideo_drv.so
(II) Module vboxvideo: vendor="Sun Microsystems, Inc."
	compiled for 1.5.99.901, module version = 1.0.1
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 6.0
(**) Load address of symbol "VBOXVIDEO" is 0xb733e580
(II) VBoxVideo: guest driver for VirtualBox: vbox
(II) Primary Device is: PCI 00@00:02:0
(II) VBoxVideo(0): VirtualBox guest additions video driver version 3.1.2
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"
(II) Loading /usr/lib/xorg/modules/libvbe.so
(II) Module vbe: vendor="X.Org Foundation"
	compiled for 1.7.4.901, module version = 1.1.0
	ABI class: X.Org Video Driver, version 6.0
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/lib/xorg/modules/libint10.so
(II) Module int10: vendor="X.Org Foundation"
	compiled for 1.7.4.901, module version = 1.0.0
	ABI class: X.Org Video Driver, version 6.0
(II) VBoxVideo(0): initializing int10
(II) VBoxVideo(0): Primary V_BIOS segment is: 0xc000
(II) VBoxVideo(0): VESA BIOS detected
(II) VBoxVideo(0): VESA VBE Version 2.0
(II) VBoxVideo(0): VESA VBE Total Mem: 131072 kB
(II) VBoxVideo(0): VESA VBE OEM: VirtualBox VBE BIOS http://www.virtualbox.org/
(II) VBoxVideo(0): VESA VBE OEM Software Rev: 0.2
(II) VBoxVideo(0): VESA VBE OEM Vendor: Sun Microsystems, Inc.
(II) VBoxVideo(0): VESA VBE OEM Product: VirtualBox VBE Adapter
(II) VBoxVideo(0): VESA VBE OEM Product Rev: Sun VirtualBox Version 3.1.2
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
	compiled for 1.7.4.901, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "shadowfb"
(II) LoadModule: "shadowfb"
(II) Loading /usr/lib/xorg/modules/libshadowfb.so
(II) Module shadowfb: vendor="X.Org Foundation"
	compiled for 1.7.4.901, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/lib/xorg/modules/libvgahw.so
(II) Module vgahw: vendor="X.Org Foundation"
	compiled for 1.7.4.901, module version = 0.1.0
	ABI class: X.Org Video Driver, version 6.0
(==) VBoxVideo(0): Depth 24, (--) framebuffer bpp 32
(II) VBoxVideo(0): Output VBOX1 using monitor section Monitor0
(II) VBoxVideo(0): Output VBOX1 has no monitor section
(II) VBoxVideo(0): Output VBOX1 connected
(II) VBoxVideo(0): Using exact sizes for initial modes
(II) VBoxVideo(0): Output VBOX1 using initial mode 1024x768
(II) VBoxVideo(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
(==) VBoxVideo(0): RGB weight 888
(==) VBoxVideo(0): Default visual is TrueColor
(==) VBoxVideo(0): DPI set to (96, 96)
(II) Loading sub module "dri"
(II) LoadModule: "dri"
(II) Reloading /usr/lib/xorg/modules/extensions/libdri.so
(--) Depth 24 pixmap format is 32 bpp
(==) VBoxVideo(0): Default visual is TrueColor
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 14, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 14, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 14, (OK)
drmOpenByBusid: drmOpenMinor returns 14
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) [drm] DRM interface version 1.3
(II) [drm] DRM open master succeeded.
(II) VBoxVideo(0): [drm] Using the DRM lock SAREA also for drawables.
(II) VBoxVideo(0): [drm] framebuffer handle = 0xe0000000
(II) VBoxVideo(0): [drm] added 1 reserved context for kernel
(II) VBoxVideo(0): X context handle = 0x1
(II) VBoxVideo(0): [drm] installed DRM signal handler
(II) VBoxVideo(0): visual configurations initialized
(==) VBoxVideo(0): Backing store disabled
(II) VBoxVideo(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(==) VBoxVideo(0): DPMS enabled
(II) VBoxVideo(0): The VBox video extensions are now enabled.
(II) VBoxVideo(0): [DRI] installation complete
(--) RandR disabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) AIGLX: Loaded and initialized /usr/lib/xorg/modules/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(II) VBoxVideo(0): Setting screen physical size to 270 x 203
(II) config/hal: Adding input device Macintosh mouse button emulation
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
	compiled for 1.7.3, module version = 2.3.2
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 7.0
(**) Macintosh mouse button emulation: always reports core events
(**) Macintosh mouse button emulation: Device: "/dev/input/event0"
(II) Macintosh mouse button emulation: Found 3 mouse buttons
(II) Macintosh mouse button emulation: Found relative axes
(II) Macintosh mouse button emulation: Found x and y relative axes
(II) Macintosh mouse button emulation: Configuring as mouse
(**) Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
(**) Macintosh mouse button emulation: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Macintosh mouse button emulation" (type: MOUSE)
(**) Macintosh mouse button emulation: (accel) keeping acceleration scheme 1
(**) Macintosh mouse button emulation: (accel) acceleration profile 0
(II) Macintosh mouse button emulation: initialized for relative axes.
(II) config/hal: Adding input device ImExPS/2 Generic Explorer Mouse
(**) ImExPS/2 Generic Explorer Mouse: always reports core events
(**) ImExPS/2 Generic Explorer Mouse: Device: "/dev/input/event5"
(II) ImExPS/2 Generic Explorer Mouse: Found 9 mouse buttons
(II) ImExPS/2 Generic Explorer Mouse: Found scroll wheel(s)
(II) ImExPS/2 Generic Explorer Mouse: Found relative axes
(II) ImExPS/2 Generic Explorer Mouse: Found x and y relative axes
(II) ImExPS/2 Generic Explorer Mouse: Configuring as mouse
(**) ImExPS/2 Generic Explorer Mouse: YAxisMapping: buttons 4 and 5
(**) ImExPS/2 Generic Explorer Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "ImExPS/2 Generic Explorer Mouse" (type: MOUSE)
(**) ImExPS/2 Generic Explorer Mouse: (accel) keeping acceleration scheme 1
(**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration profile 0
(II) ImExPS/2 Generic Explorer Mouse: initialized for relative axes.
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event1"
(II) AT Translated Set 2 keyboard: Found keys
(II) AT Translated Set 2 keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device Sleep Button
(**) Sleep Button: always reports core events
(**) Sleep Button: Device: "/dev/input/event4"
(II) Sleep Button: Found keys
(II) Sleep Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device Power Button
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event3"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device VirtualBox Guest Service
(II) LoadModule: "vboxmouse"
(II) Loading /usr/lib/xorg/modules/input/vboxmouse_drv.so
(II) Module vboxmouse: vendor="Sun Microsystems Inc."
	compiled for 0.0.0, module version = 1.0.0
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 7.0
(**) Load address of symbol "VBOXMOUSE" is 0xaea13c20
(**) VirtualBox Guest Service: always reports core events
(**) VirtualBox Guest Service: Device: "/dev/vboxguest"
(II) XINPUT: Adding extended input device "VirtualBox Guest Service" (type: MOUSE)
(**) VirtualBox Guest Service: (accel) keeping acceleration scheme 1
(**) VirtualBox Guest Service: (accel) acceleration profile 0
(II) VirtualBox Guest Service: On.
(II) Macintosh mouse button emulation: Close
(II) UnloadModule: "evdev"
(II) ImExPS/2 Generic Explorer Mouse: Close
(II) UnloadModule: "evdev"
(II) AT Translated Set 2 keyboard: Close
(II) UnloadModule: "evdev"
(II) Sleep Button: Close
(II) UnloadModule: "evdev"
(II) Power Button: Close
(II) UnloadModule: "evdev"
(II) VirtualBox Guest Service: Off.
(II) VirtualBox Guest Service: Close
(II) UnloadModule: "vboxmouse"
(II) VBoxVideo(0): [drm] removed 1 reserved context for kernel
(II) VBoxVideo(0): [drm] unmapping 8192 bytes of SAREA 0xf800b000 at 0xaf167000
(II) VBoxVideo(0): [drm] Closed DRM master.

что самое обидное, вот ЭТО сообщение я написал из под firefox запущенного в гноме. правда под рутом….
А может все гораздо проще? Проблемы с иксами, мне кажется, нет никакой, так как:

если создать пользователя, добавить менеджер загрузки gdm|kdm в автозагрузку - входит под пользователем - тоже все отлично.

rgv1985, попробуйте изменить Ваш /home/ваш_пользователь/.xinitrc
# exec gnome-session
# dbus-launch gnome-session
# exec startkde
# exec startxfce4

Насколько я помню, при свежей установке эти строчки там есть, но закомментированы. Просто раскомментируйте подходящую Вам, или добавьте их туда. Для Gnome обязательны 2 первые строки.
tnnunix
вот оно! спасибо тебе добрый человек! :)
я ж знал, что все работает и был уверен, что решение должно быть простым.
тему можно закрывать.
иксы вылетают
Так вылетают или просто черный экран? :3
sysmouse
именно вылетают.
а причина простая:
файл .xinitrc сначала забыл положить в домашнюю директорию пользователя. потом его туда положил, но под рутом (соответственно Xorg access denied выдавать начал при запуске через этот скрипт, права то от рута). Потом права назначил от users и забыл тупо раскомменить в .xinirc - что собссно запустить хочу. w00zy мне правильно посоветовал в самом начале, но тогда я его не понял.
тема не зря создана в “Новичкам” :) потому что вопрос был изначально глупый - невнимательно прочитал Beginners Guide из Вики
Молодец. Не отступился, не стал кричать “арч какашка” :)
Вообще, на будущеее, все дот-файлы (с точкой вначале) находятся (ну в основном) в директории пользователя. Так что если напишут лентяи, типа меня, правь .bashrc то правь его в $HOME.
И привыкай сразу работать из под пользователя. Нечаянно установленные неправильно права могут дать долгий и продолжительный гиморой. Для правки общесистемных конфигов - sudo, все остальные нормальные программы (99%) создают и хранят свое окружение в $HOME.
w00zy
вот здесь ты прав, я все никак от виндовой привычки не отошел - под админом сидеть. хотя и там тоже пользователя бы надо делать, если уж по правилам безопасности…
я арч несколько месяцев изучаю неспешно, смотрел несколько других дистрибутивов, но так и остался на арче. нравится мне его архитектура.
за пояснение про пользователя и домашние папки огромное спасибо, теперь все встало на свои места :)
 
Зарегистрироваться или войдите чтобы оставить сообщение.