页次: 1
报错如下:xf86open console:cannot open virtual console 1:permission denied
找的最小安装方式,装的openbox做桌面管理器,之前在虚拟机上未发现上述问题。虚拟机有虚拟显卡配置,此次实机只安装了显卡驱动。
另外请问笔记本 电源管理是这个应用吗?apcupsd?
log如下:
[ 42.210]
X.Org X Server 1.18.0
Release Date: 2015-11-09
[ 42.210] X Protocol Version 11, Revision 0
[ 42.210] Build Operating System: Linux 4.2.5-1-ARCH x86_64
[ 42.210] Current Operating System: Linux kkkarch 4.3.3-3-ARCH #1 SMP PREEMPT Wed Jan 20 08:12:23 CET 2016 x86_64
[ 42.210] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=77d6e483-da45-40ba-9cb2-349650835833 rw quiet
[ 42.210] Build Date: 08 January 2016 05:56:16PM
[ 42.210]
[ 42.210] Current version of pixman: 0.32.8
[ 42.211] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 42.211] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 42.211] (==) Log file: "/home/tux/.local/share/xorg/Xorg.0.log", Time: Sun Jan 31 05:03:15 2016
[ 42.212] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 42.213] (==) No Layout section. Using the first Screen section.
[ 42.213] (==) No screen section available. Using defaults.
[ 42.213] (**) |-->Screen "Default Screen Section" (0)
[ 42.213] (**) | |-->Monitor "<default monitor>"
[ 42.214] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 42.214] (==) Automatically adding devices
[ 42.214] (==) Automatically enabling devices
[ 42.214] (==) Automatically adding GPU devices
[ 42.214] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 42.219] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 42.219] Entry deleted from font path.
[ 42.220] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 42.220] Entry deleted from font path.
[ 42.220] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 42.220] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 42.220] Entry deleted from font path.
[ 42.220] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 42.220] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/
[ 42.220] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 42.220] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 42.220] (II) Loader magic: 0x819d40
[ 42.220] (II) Module ABI versions:
[ 42.220] X.Org ANSI C Emulation: 0.4
[ 42.220] X.Org Video Driver: 20.0
[ 42.220] X.Org XInput driver : 22.1
[ 42.220] X.Org Server Extension : 9.0
[ 42.221] (++) using VT number 1
[ 42.221] (--) controlling tty is VT number 1, auto-enabling KeepTty
[ 42.223] (EE) systemd-logind: TakeControl failed: Only owner of session may take control
[ 42.224] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 42.227] (--) PCI:*(0:0:2:0) 8086:2a02:17aa:20b5 rev 12, Mem @ 0xfa000000/1048576, 0xe0000000/268435456, I/O @ 0x00001800/8
[ 42.227] (--) PCI: (0:0:2:1) 8086:2a03:17aa:20b5 rev 12, Mem @ 0xfa100000/1048576
[ 42.227] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 42.228] (II) LoadModule: "glx"
[ 42.229] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 42.251] (II) Module glx: vendor="X.Org Foundation"
[ 42.251] compiled for 1.18.0, module version = 1.0.0
[ 42.251] ABI class: X.Org Server Extension, version 9.0
[ 42.251] (==) AIGLX enabled
[ 42.251] (==) Matched intel as autoconfigured driver 0
[ 42.251] (==) Matched intel as autoconfigured driver 1
[ 42.251] (==) Matched modesetting as autoconfigured driver 2
[ 42.251] (==) Matched fbdev as autoconfigured driver 3
[ 42.251] (==) Matched vesa as autoconfigured driver 4
[ 42.251] (==) Assigned the driver to the xf86ConfigLayout
[ 42.251] (II) LoadModule: "intel"
[ 42.252] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 42.260] (II) Module intel: vendor="X.Org Foundation"
[ 42.260] compiled for 1.18.0, module version = 2.99.917
[ 42.260] Module class: X.Org Video Driver
[ 42.260] ABI class: X.Org Video Driver, version 20.0
[ 42.260] (II) LoadModule: "modesetting"
[ 42.260] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 42.261] (II) Module modesetting: vendor="X.Org Foundation"
[ 42.261] compiled for 1.18.0, module version = 1.18.0
[ 42.261] Module class: X.Org Video Driver
[ 42.261] ABI class: X.Org Video Driver, version 20.0
[ 42.261] (II) LoadModule: "fbdev"
[ 42.262] (WW) Warning, couldn't open module fbdev
[ 42.262] (II) UnloadModule: "fbdev"
[ 42.262] (II) Unloading fbdev
[ 42.262] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 42.262] (II) LoadModule: "vesa"
[ 42.263] (WW) Warning, couldn't open module vesa
[ 42.263] (II) UnloadModule: "vesa"
[ 42.263] (II) Unloading vesa
[ 42.263] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 42.263] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 42.263] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 42.263] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 42.263] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 42.263] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 42.263] (EE)
Fatal server error:
[ 42.263] (EE) xf86OpenConsole: Cannot open virtual console 1 (Permission denied)
[ 42.263] (EE)
[ 42.264] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 42.264] (EE) Please also check the log file at "/home/tux/.local/share/xorg/Xorg.0.log" for additional information.
[ 42.264] (EE)
请大神解答感谢。
最近编辑记录 feileixj (2016-02-02 22:46:59)
离线
直接用tux登录就可以用了,用root登录su进tux就不行,而虚拟机则可以,请大神指导。
离线
https://wiki.archlinux.org/index.php/Xinitrc
By default, due to permissions on console devices, the X display needs to be on the same tty where the login occurred. This is handled by the default /etc/X11/xinit/xserverrc. See General troubleshooting#Session permissions for details.
离线
页次: 1