您尚未登录。

#1 2019-10-26 09:55:05

Dueot
会员
注册时间: 2019-10-26
帖子: 6

安装 i3 窗口管理器,使用 startx 启动出现错误。

我尝试安装 i3 窗口管理器,但它出现了一些错误。

问题
目前使用 startx 之后,会卡住一段时间,然后正常退出,不是重启或关机。
系统信息:

  • gpu::GTX 1050 Ti

  • nvidia version:435.21-13

  • 内核:5.3.7-arch1-1-ARCH

安装步骤:

  1. 首先安装xorg-serverxorg-xinit

  2. 然后cp /etc/X11/xinit/xinitrc ~/.xinitrc,并加入exec i3 -V >> ~/.config/i3/log/i3log-$(date +'%F-%k-%M-%S') 2>&1

  3. 安装 nvidia 显卡驱动;

  4. 重启并使用 nvidia-xconfig 生成 xorg.conf 文件;

  5. 安装 i3-gaps, i3lock, i3status, dmenu

  6. 重启并使用 startx 来启动服务。

以下是 ~/.xinitrc 中的内容
其中有部分内容疑惑,还请您解惑,谢谢。

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then

    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then

    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

##### 这部分是否需要禁用,还请诸位告知,谢谢#####
#twm &
#xclock -geometry 50x50-1+1 &
#xterm -geometry 80x50+494+51 &
#xterm -geometry 80x20+494-0 &
#exec xterm -geometry 80x66+0+0 -name login
##### 结束 #####
exec i3 -V >> ~/.config/i3/log/i3log-$(date + '%F-%k-%M-%S') 2 > &1

以下是 Xorg.0.log 中的日志

[   152.828] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[   152.830] 
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[   152.836] Build Operating System: Linux Arch Linux
[   152.838] Current Operating System: Linux archlinux 5.3.7-arch1-1-ARCH #1 SMP PREEMPT Fri Oct 18 00:17:03 UTC 2019 x86_64
[   152.838] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=2bdca4ea-81e0-4c7a-97bd-c664934cd4b7 rw loglevel=3 quiet
[   152.842] Build Date: 30 June 2019  09:52:01AM
[   152.844]  
[   152.845] Current version of pixman: 0.38.4
[   152.847] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   152.847] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   152.851] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Oct 26 08:24:21 2019
[   152.853] (==) Using config file: "/etc/X11/xorg.conf"
[   152.854] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   152.855] (==) ServerLayout "Layout0"
[   152.855] (**) |-->Screen "Screen0" (0)
[   152.855] (**) |   |-->Monitor "Monitor0"
[   152.855] (**) |   |-->Device "Device0"
[   152.855] (**) |-->Input Device "Keyboard0"
[   152.855] (**) |-->Input Device "Mouse0"
[   152.855] (==) Automatically adding devices
[   152.855] (==) Automatically enabling devices
[   152.855] (==) Automatically adding GPU devices
[   152.855] (==) Automatically binding GPU devices
[   152.855] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   152.856] (WW) The directory "/usr/share/fonts/misc" does not exist.
[   152.856] 	Entry deleted from font path.
[   152.858] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   152.858] 	Entry deleted from font path.
[   152.858] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[   152.858] 	Entry deleted from font path.
[   152.858] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[   152.858] 	Entry deleted from font path.
[   152.858] (==) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF
[   152.858] (==) ModulePath set to "/usr/lib/xorg/modules"
[   152.858] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   152.858] (WW) Disabling Keyboard0
[   152.858] (WW) Disabling Mouse0
[   152.858] (II) Module ABI versions:
[   152.858] 	X.Org ANSI C Emulation: 0.4
[   152.858] 	X.Org Video Driver: 24.0
[   152.858] 	X.Org XInput driver : 24.1
[   152.858] 	X.Org Server Extension : 10.0
[   152.858] (++) using VT number 1

[   152.860] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[   152.860] (II) xfree86: Adding drm device (/dev/dri/card0)
[   152.861] (EE) systemd-logind: failed to take device /dev/dri/card0: Operation not permitted
[   152.861] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[   152.861] (**) OutputClass "nvidia" setting /dev/dri/card0 as PrimaryGPU
[   152.862] (--) PCI:*(1@0:0:0) 10de:1c82:1458:3733 rev 161, Mem @ 0xa2000000/16777216, 0x90000000/268435456, 0xa0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/131072
[   152.862] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   152.862] (II) LoadModule: "glx"
[   152.864] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   152.870] (II) Module glx: vendor="X.Org Foundation"
[   152.870] 	compiled for 1.20.5, module version = 1.0.0
[   152.870] 	ABI class: X.Org Server Extension, version 10.0
[   152.870] (II) LoadModule: "nvidia"
[   152.871] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   152.877] (II) Module nvidia: vendor="NVIDIA Corporation"
[   152.877] 	compiled for 1.6.99.901, module version = 1.0.0
[   152.877] 	Module class: X.Org Video Driver
[   152.878] (II) NVIDIA dlloader X Driver  435.21  Sun Aug 25 08:17:08 CDT 2019
[   152.878] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   152.879] (II) Loading sub module "fb"
[   152.879] (II) LoadModule: "fb"
[   152.879] (II) Loading /usr/lib/xorg/modules/libfb.so
[   152.880] (II) Module fb: vendor="X.Org Foundation"
[   152.880] 	compiled for 1.20.5, module version = 1.0.0
[   152.880] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   152.880] (II) Loading sub module "wfb"
[   152.880] (II) LoadModule: "wfb"
[   152.880] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   152.881] (II) Module wfb: vendor="X.Org Foundation"
[   152.881] 	compiled for 1.20.5, module version = 1.0.0
[   152.881] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   152.882] (II) Loading sub module "ramdac"
[   152.882] (II) LoadModule: "ramdac"
[   152.882] (II) Module "ramdac" already built-in
[   152.884] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[   152.884] (==) NVIDIA(0): RGB weight 888
[   152.884] (==) NVIDIA(0): Default visual is TrueColor
[   152.884] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   152.885] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[   152.885] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[   152.886] (**) NVIDIA(0): Enabling 2D acceleration
[   152.886] (II) Loading sub module "glxserver_nvidia"
[   152.886] (II) LoadModule: "glxserver_nvidia"
[   152.886] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[   152.940] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[   152.940] 	compiled for 1.6.99.901, module version = 1.0.0
[   152.940] 	Module class: X.Org Server Extension
[   152.941] (II) NVIDIA GLX Module  435.21  Sun Aug 25 08:14:27 CDT 2019
[   152.942] (II) NVIDIA: The X server does not support PRIME Render Offload.
[   153.576] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[   153.576] (--) NVIDIA(0):     DFP-0
[   153.576] (--) NVIDIA(0):     DFP-1 (boot)
[   153.576] (--) NVIDIA(0):     DFP-2
[   153.576] (--) NVIDIA(0):     DFP-3
[   153.576] (--) NVIDIA(0):     DFP-4
[   153.576] (--) NVIDIA(0):     DFP-5
[   153.577] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1050 Ti (GP107-A) at PCI:1:0:0 (GPU-0)
[   153.577] (--) NVIDIA(0): Memory: 4194304 kBytes
[   153.577] (--) NVIDIA(0): VideoBIOS: 86.07.39.00.56
[   153.577] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   153.577] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   153.577] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   153.577] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[   153.577] (--) NVIDIA(GPU-0): 
[   153.606] (--) NVIDIA(GPU-0): Samsung C24F390 (DFP-1): connected
[   153.606] (--) NVIDIA(GPU-0): Samsung C24F390 (DFP-1): Internal TMDS
[   153.606] (--) NVIDIA(GPU-0): Samsung C24F390 (DFP-1): 600.0 MHz maximum pixel clock
[   153.606] (--) NVIDIA(GPU-0): 
[   153.606] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   153.606] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[   153.606] (--) NVIDIA(GPU-0): DFP-2: 1440.0 MHz maximum pixel clock
[   153.606] (--) NVIDIA(GPU-0): 
[   153.606] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   153.606] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[   153.606] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[   153.606] (--) NVIDIA(GPU-0): 
[   153.606] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   153.606] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[   153.606] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[   153.606] (--) NVIDIA(GPU-0): 
[   153.606] (--) NVIDIA(GPU-0): DFP-5: disconnected
[   153.606] (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
[   153.606] (--) NVIDIA(GPU-0): DFP-5: 165.0 MHz maximum pixel clock
[   153.606] (--) NVIDIA(GPU-0): 
[   153.609] (==) NVIDIA(0): 
[   153.609] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[   153.609] (==) NVIDIA(0):     will be used as the requested mode.
[   153.609] (==) NVIDIA(0): 
[   153.609] (II) NVIDIA(0): Validated MetaModes:
[   153.609] (II) NVIDIA(0):     "DFP-1:nvidia-auto-select"
[   153.609] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[   153.612] (--) NVIDIA(0): DPI set to (93, 94); computed from "UseEdidDpi" X config
[   153.612] (--) NVIDIA(0):     option
[   153.612] (II) NVIDIA: Using 24576.00 MB of virtual memory for indirect memory
[   153.612] (II) NVIDIA:     access.
[   153.613] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   153.613] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   153.613] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   153.613] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   153.613] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   153.613] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   153.613] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   153.613] (II) NVIDIA(0):     Config Options in the README.
[   153.626] (II) NVIDIA(0): Setting mode "DFP-1:nvidia-auto-select"
[   153.657] (==) NVIDIA(0): Disabling shared memory pixmaps
[   153.657] (==) NVIDIA(0): Backing store enabled
[   153.657] (==) NVIDIA(0): Silken mouse disabled
[   153.657] (**) NVIDIA(0): DPMS enabled
[   153.658] (WW) NVIDIA(0): Option "PrimaryGPU" is not used
[   153.658] (II) Loading sub module "dri2"
[   153.658] (II) LoadModule: "dri2"
[   153.658] (II) Module "dri2" already built-in
[   153.658] (II) NVIDIA(0): [DRI2] Setup complete
[   153.658] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   153.658] (II) Initializing extension Generic Event Extension
[   153.658] (II) Initializing extension SHAPE
[   153.658] (II) Initializing extension MIT-SHM
[   153.658] (II) Initializing extension XInputExtension
[   153.658] (II) Initializing extension XTEST
[   153.658] (II) Initializing extension BIG-REQUESTS
[   153.658] (II) Initializing extension SYNC
[   153.658] (II) Initializing extension XKEYBOARD
[   153.658] (II) Initializing extension XC-MISC
[   153.658] (II) Initializing extension SECURITY
[   153.658] (II) Initializing extension XFIXES
[   153.658] (II) Initializing extension RENDER
[   153.658] (II) Initializing extension RANDR
[   153.658] (II) Initializing extension COMPOSITE
[   153.658] (II) Initializing extension DAMAGE
[   153.658] (II) Initializing extension MIT-SCREEN-SAVER
[   153.658] (II) Initializing extension DOUBLE-BUFFER
[   153.658] (II) Initializing extension RECORD
[   153.658] (II) Initializing extension DPMS
[   153.658] (II) Initializing extension Present
[   153.658] (II) Initializing extension DRI3
[   153.658] (II) Initializing extension X-Resource
[   153.658] (II) Initializing extension XVideo
[   153.658] (II) Initializing extension XVideo-MotionCompensation
[   153.658] (II) Initializing extension GLX
[   153.658] (II) Initializing extension GLX
[   153.658] (II) Indirect GLX disabled.
[   153.658] (II) GLX: Another vendor is already registered for screen 0
[   153.658] (II) Initializing extension XFree86-VidModeExtension
[   153.658] (II) Initializing extension XFree86-DGA
[   153.658] (II) Initializing extension XFree86-DRI
[   153.658] (II) Initializing extension DRI2
[   153.658] (II) Initializing extension NV-GLX
[   153.658] (II) Initializing extension NV-CONTROL
[   153.658] (II) Initializing extension XINERAMA
[   153.711] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[   153.711] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   153.711] (II) LoadModule: "libinput"
[   153.711] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   153.713] (II) Module libinput: vendor="X.Org Foundation"
[   153.713] 	compiled for 1.20.5, module version = 0.29.0
[   153.713] 	Module class: X.Org XInput Driver
[   153.713] 	ABI class: X.Org XInput driver, version 24.1
[   153.713] (II) Using input driver 'libinput' for 'Power Button'
[   153.714] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 31 paused 0
[   153.714] (**) Power Button: always reports core events
[   153.714] (**) Option "Device" "/dev/input/event2"
[   153.714] (**) Option "_source" "server/udev"
[   153.715] (II) event2  - Power Button: is tagged by udev as: Keyboard
[   153.715] (II) event2  - Power Button: device is a keyboard
[   153.715] (II) event2  - Power Button: device removed
[   153.715] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[   153.715] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   153.716] (II) event2  - Power Button: is tagged by udev as: Keyboard
[   153.716] (II) event2  - Power Button: device is a keyboard
[   153.717] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[   153.717] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   153.717] (II) Using input driver 'libinput' for 'Power Button'
[   153.717] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 34 paused 0
[   153.717] (**) Power Button: always reports core events
[   153.717] (**) Option "Device" "/dev/input/event1"
[   153.717] (**) Option "_source" "server/udev"
[   153.718] (II) event1  - Power Button: is tagged by udev as: Keyboard
[   153.718] (II) event1  - Power Button: device is a keyboard
[   153.718] (II) event1  - Power Button: device removed
[   153.718] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[   153.718] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[   153.719] (II) event1  - Power Button: is tagged by udev as: Keyboard
[   153.719] (II) event1  - Power Button: device is a keyboard
[   153.719] (II) config/udev: Adding input device Sleep Button (/dev/input/event0)
[   153.719] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[   153.719] (II) Using input driver 'libinput' for 'Sleep Button'
[   153.720] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 35 paused 0
[   153.720] (**) Sleep Button: always reports core events
[   153.720] (**) Option "Device" "/dev/input/event0"
[   153.720] (**) Option "_source" "server/udev"
[   153.721] (II) event0  - Sleep Button: is tagged by udev as: Keyboard
[   153.721] (II) event0  - Sleep Button: device is a keyboard
[   153.721] (II) event0  - Sleep Button: device removed
[   153.721] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0/event0"
[   153.721] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[   153.722] (II) event0  - Sleep Button: is tagged by udev as: Keyboard
[   153.722] (II) event0  - Sleep Button: device is a keyboard
[   153.722] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event22)
[   153.722] (II) No input driver specified, ignoring this device.
[   153.722] (II) This device may have been added with another device file.
[   153.722] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event25)
[   153.722] (II) No input driver specified, ignoring this device.
[   153.722] (II) This device may have been added with another device file.
[   153.723] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event26)
[   153.723] (II) No input driver specified, ignoring this device.
[   153.723] (II) This device may have been added with another device file.
[   153.723] (II) config/udev: Adding input device Razer Razer Abyssus 1800 (/dev/input/event3)
[   153.723] (**) Razer Razer Abyssus 1800: Applying InputClass "libinput pointer catchall"
[   153.723] (II) Using input driver 'libinput' for 'Razer Razer Abyssus 1800'
[   153.779] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 36 paused 0
[   153.779] (**) Razer Razer Abyssus 1800: always reports core events
[   153.779] (**) Option "Device" "/dev/input/event3"
[   153.779] (**) Option "_source" "server/udev"
[   153.783] (II) event3  - Razer Razer Abyssus 1800: is tagged by udev as: Mouse
[   153.784] (II) event3  - Razer Razer Abyssus 1800: device is a pointer
[   153.784] (II) event3  - Razer Razer Abyssus 1800: device removed
[   153.784] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:1532:0020.0001/input/input3/event3"
[   153.784] (II) XINPUT: Adding extended input device "Razer Razer Abyssus 1800" (type: MOUSE, id 9)
[   153.784] (**) Option "AccelerationScheme" "none"
[   153.784] (**) Razer Razer Abyssus 1800: (accel) selected scheme none/0
[   153.784] (**) Razer Razer Abyssus 1800: (accel) acceleration factor: 2.000
[   153.784] (**) Razer Razer Abyssus 1800: (accel) acceleration threshold: 4
[   153.788] (II) event3  - Razer Razer Abyssus 1800: is tagged by udev as: Mouse
[   153.789] (II) event3  - Razer Razer Abyssus 1800: device is a pointer
[   153.791] (II) config/udev: Adding input device Razer Razer Abyssus 1800 (/dev/input/mouse0)
[   153.791] (II) No input driver specified, ignoring this device.
[   153.791] (II) This device may have been added with another device file.
[   153.793] (II) config/udev: Adding input device Razer Razer Abyssus 1800 (/dev/input/event4)
[   153.793] (**) Razer Razer Abyssus 1800: Applying InputClass "libinput keyboard catchall"
[   153.793] (II) Using input driver 'libinput' for 'Razer Razer Abyssus 1800'
[   153.795] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 37 paused 0
[   153.795] (**) Razer Razer Abyssus 1800: always reports core events
[   153.795] (**) Option "Device" "/dev/input/event4"
[   153.795] (**) Option "_source" "server/udev"
[   153.799] (II) event4  - Razer Razer Abyssus 1800: is tagged by udev as: Keyboard
[   153.799] (II) event4  - Razer Razer Abyssus 1800: device is a keyboard
[   153.800] (II) event4  - Razer Razer Abyssus 1800: device removed
[   153.800] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/0003:1532:0020.0002/input/input4/event4"
[   153.800] (II) XINPUT: Adding extended input device "Razer Razer Abyssus 1800" (type: KEYBOARD, id 10)
[   153.804] (II) event4  - Razer Razer Abyssus 1800: is tagged by udev as: Keyboard
[   153.804] (II) event4  - Razer Razer Abyssus 1800: device is a keyboard
[   153.807] (II) config/udev: Adding input device Razer Razer Cyclosa (/dev/input/event5)
[   153.807] (**) Razer Razer Cyclosa: Applying InputClass "libinput keyboard catchall"
[   153.807] (II) Using input driver 'libinput' for 'Razer Razer Cyclosa'
[   153.809] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 38 paused 0
[   153.809] (**) Razer Razer Cyclosa: always reports core events
[   153.809] (**) Option "Device" "/dev/input/event5"
[   153.809] (**) Option "_source" "server/udev"
[   153.813] (II) event5  - Razer Razer Cyclosa: is tagged by udev as: Keyboard
[   153.813] (II) event5  - Razer Razer Cyclosa: device is a keyboard
[   153.814] (II) event5  - Razer Razer Cyclosa: device removed
[   153.814] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:1532:0110.0003/input/input5/event5"
[   153.814] (II) XINPUT: Adding extended input device "Razer Razer Cyclosa" (type: KEYBOARD, id 11)
[   153.818] (II) event5  - Razer Razer Cyclosa: is tagged by udev as: Keyboard
[   153.818] (II) event5  - Razer Razer Cyclosa: device is a keyboard
[   153.820] (II) config/udev: Adding input device Razer Razer Cyclosa Keyboard (/dev/input/event6)
[   153.821] (**) Razer Razer Cyclosa Keyboard: Applying InputClass "libinput keyboard catchall"
[   153.821] (II) Using input driver 'libinput' for 'Razer Razer Cyclosa Keyboard'
[   153.822] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 39 paused 0
[   153.822] (**) Razer Razer Cyclosa Keyboard: always reports core events
[   153.822] (**) Option "Device" "/dev/input/event6"
[   153.822] (**) Option "_source" "server/udev"
[   153.825] (II) event6  - Razer Razer Cyclosa Keyboard: is tagged by udev as: Keyboard
[   153.825] (II) event6  - Razer Razer Cyclosa Keyboard: device is a keyboard
[   153.825] (II) event6  - Razer Razer Cyclosa Keyboard: device removed
[   153.825] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:1532:0110.0004/input/input6/event6"
[   153.825] (II) XINPUT: Adding extended input device "Razer Razer Cyclosa Keyboard" (type: KEYBOARD, id 12)
[   153.827] (II) event6  - Razer Razer Cyclosa Keyboard: is tagged by udev as: Keyboard
[   153.827] (II) event6  - Razer Razer Cyclosa Keyboard: device is a keyboard
[   153.829] (II) config/udev: Adding input device Razer Razer Cyclosa Consumer Control (/dev/input/event7)
[   153.829] (**) Razer Razer Cyclosa Consumer Control: Applying InputClass "libinput keyboard catchall"
[   153.829] (II) Using input driver 'libinput' for 'Razer Razer Cyclosa Consumer Control'
[   153.830] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 40 paused 0
[   153.830] (**) Razer Razer Cyclosa Consumer Control: always reports core events
[   153.830] (**) Option "Device" "/dev/input/event7"
[   153.830] (**) Option "_source" "server/udev"
[   153.831] (II) event7  - Razer Razer Cyclosa Consumer Control: is tagged by udev as: Keyboard
[   153.832] (II) event7  - Razer Razer Cyclosa Consumer Control: device is a keyboard
[   153.832] (II) event7  - Razer Razer Cyclosa Consumer Control: device removed
[   153.832] (II) libinput: Razer Razer Cyclosa Consumer Control: needs a virtual subdevice
[   153.832] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:1532:0110.0004/input/input7/event7"
[   153.832] (II) XINPUT: Adding extended input device "Razer Razer Cyclosa Consumer Control" (type: MOUSE, id 13)
[   153.832] (**) Option "AccelerationScheme" "none"
[   153.832] (**) Razer Razer Cyclosa Consumer Control: (accel) selected scheme none/0
[   153.832] (**) Razer Razer Cyclosa Consumer Control: (accel) acceleration factor: 2.000
[   153.832] (**) Razer Razer Cyclosa Consumer Control: (accel) acceleration threshold: 4
[   153.834] (II) event7  - Razer Razer Cyclosa Consumer Control: is tagged by udev as: Keyboard
[   153.834] (II) event7  - Razer Razer Cyclosa Consumer Control: device is a keyboard
[   153.835] (II) config/udev: Adding input device Razer Razer Cyclosa System Control (/dev/input/event8)
[   153.835] (**) Razer Razer Cyclosa System Control: Applying InputClass "libinput keyboard catchall"
[   153.835] (II) Using input driver 'libinput' for 'Razer Razer Cyclosa System Control'
[   153.835] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 41 paused 0
[   153.835] (**) Razer Razer Cyclosa System Control: always reports core events
[   153.835] (**) Option "Device" "/dev/input/event8"
[   153.835] (**) Option "_source" "server/udev"
[   153.837] (II) event8  - Razer Razer Cyclosa System Control: is tagged by udev as: Keyboard
[   153.837] (II) event8  - Razer Razer Cyclosa System Control: device is a keyboard
[   153.837] (II) event8  - Razer Razer Cyclosa System Control: device removed
[   153.837] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:1532:0110.0004/input/input8/event8"
[   153.837] (II) XINPUT: Adding extended input device "Razer Razer Cyclosa System Control" (type: KEYBOARD, id 14)
[   153.838] (II) event8  - Razer Razer Cyclosa System Control: is tagged by udev as: Keyboard
[   153.838] (II) event8  - Razer Razer Cyclosa System Control: device is a keyboard
[   153.839] (II) config/udev: Adding input device Razer Razer Cyclosa (/dev/input/event9)
[   153.839] (II) No input driver specified, ignoring this device.
[   153.839] (II) This device may have been added with another device file.
[   153.840] (II) config/udev: Adding input device Razer Razer Cyclosa (/dev/input/event10)
[   153.840] (**) Razer Razer Cyclosa: Applying InputClass "libinput pointer catchall"
[   153.840] (II) Using input driver 'libinput' for 'Razer Razer Cyclosa'
[   153.896] (II) systemd-logind: got fd for /dev/input/event10 13:74 fd 42 paused 0
[   153.896] (**) Razer Razer Cyclosa: always reports core events
[   153.896] (**) Option "Device" "/dev/input/event10"
[   153.896] (**) Option "_source" "server/udev"
[   153.898] (II) event10 - Razer Razer Cyclosa: is tagged by udev as: Mouse
[   153.898] (II) event10 - Razer Razer Cyclosa: device is a pointer
[   153.898] (II) event10 - Razer Razer Cyclosa: device removed
[   153.898] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2/0003:1532:0110.0005/input/input10/event10"
[   153.898] (II) XINPUT: Adding extended input device "Razer Razer Cyclosa" (type: MOUSE, id 15)
[   153.899] (**) Option "AccelerationScheme" "none"
[   153.899] (**) Razer Razer Cyclosa: (accel) selected scheme none/0
[   153.899] (**) Razer Razer Cyclosa: (accel) acceleration factor: 2.000
[   153.899] (**) Razer Razer Cyclosa: (accel) acceleration threshold: 4
[   153.901] (II) event10 - Razer Razer Cyclosa: is tagged by udev as: Mouse
[   153.902] (II) event10 - Razer Razer Cyclosa: device is a pointer
[   153.903] (II) config/udev: Adding input device Razer Razer Cyclosa (/dev/input/mouse1)
[   153.903] (II) No input driver specified, ignoring this device.
[   153.903] (II) This device may have been added with another device file.
[   153.905] (II) config/udev: Adding input device Logitech K780 (/dev/input/event11)
[   153.905] (**) Logitech K780: Applying InputClass "libinput keyboard catchall"
[   153.905] (II) Using input driver 'libinput' for 'Logitech K780'
[   153.906] (II) systemd-logind: got fd for /dev/input/event11 13:75 fd 43 paused 0
[   153.906] (**) Logitech K780: always reports core events
[   153.906] (**) Option "Device" "/dev/input/event11"
[   153.906] (**) Option "_source" "server/udev"
[   153.910] (II) event11 - Logitech K780: is tagged by udev as: Keyboard
[   153.910] (II) event11 - Logitech K780: device is a keyboard
[   153.910] (II) event11 - Logitech K780: device removed
[   153.910] (II) libinput: Logitech K780: needs a virtual subdevice
[   153.910] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.2/0003:046D:C52B.0008/0003:046D:405B.000B/input/input47/event11"
[   153.910] (II) XINPUT: Adding extended input device "Logitech K780" (type: MOUSE, id 16)
[   153.911] (**) Option "AccelerationScheme" "none"
[   153.911] (**) Logitech K780: (accel) selected scheme none/0
[   153.911] (**) Logitech K780: (accel) acceleration factor: 2.000
[   153.911] (**) Logitech K780: (accel) acceleration threshold: 4
[   153.914] (II) event11 - Logitech K780: is tagged by udev as: Keyboard
[   153.914] (II) event11 - Logitech K780: device is a keyboard
[   153.916] (II) config/udev: Adding input device Logitech M585/M590 (/dev/input/event12)
[   153.916] (**) Logitech M585/M590: Applying InputClass "libinput pointer catchall"
[   153.916] (**) Logitech M585/M590: Applying InputClass "libinput keyboard catchall"
[   153.916] (II) Using input driver 'libinput' for 'Logitech M585/M590'
[   153.918] (II) systemd-logind: got fd for /dev/input/event12 13:76 fd 44 paused 0
[   153.918] (**) Logitech M585/M590: always reports core events
[   153.918] (**) Option "Device" "/dev/input/event12"
[   153.918] (**) Option "_source" "server/udev"
[   153.921] (II) event12 - Logitech M585/M590: is tagged by udev as: Keyboard Mouse
[   153.921] (II) event12 - Logitech M585/M590: device is a pointer
[   153.921] (II) event12 - Logitech M585/M590: device is a keyboard
[   153.922] (II) event12 - Logitech M585/M590: device removed
[   153.922] (II) libinput: Logitech M585/M590: needs a virtual subdevice
[   153.922] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.2/0003:046D:C52B.0008/0003:046D:406B.000C/input/input48/event12"
[   153.922] (II) XINPUT: Adding extended input device "Logitech M585/M590" (type: MOUSE, id 17)
[   153.922] (**) Option "AccelerationScheme" "none"
[   153.922] (**) Logitech M585/M590: (accel) selected scheme none/0
[   153.922] (**) Logitech M585/M590: (accel) acceleration factor: 2.000
[   153.922] (**) Logitech M585/M590: (accel) acceleration threshold: 4
[   153.926] (II) event12 - Logitech M585/M590: is tagged by udev as: Keyboard Mouse
[   153.926] (II) event12 - Logitech M585/M590: device is a pointer
[   153.926] (II) event12 - Logitech M585/M590: device is a keyboard
[   153.928] (II) config/udev: Adding input device Logitech M585/M590 (/dev/input/mouse2)
[   153.928] (II) No input driver specified, ignoring this device.
[   153.928] (II) This device may have been added with another device file.
[   153.930] (II) config/udev: Adding input device Logitech B330/M330/M331 (/dev/input/event13)
[   153.930] (**) Logitech B330/M330/M331: Applying InputClass "libinput pointer catchall"
[   153.930] (**) Logitech B330/M330/M331: Applying InputClass "libinput keyboard catchall"
[   153.930] (II) Using input driver 'libinput' for 'Logitech B330/M330/M331'
[   153.931] (II) systemd-logind: got fd for /dev/input/event13 13:77 fd 45 paused 0
[   153.931] (**) Logitech B330/M330/M331: always reports core events
[   153.931] (**) Option "Device" "/dev/input/event13"
[   153.931] (**) Option "_source" "server/udev"
[   153.933] (II) event13 - Logitech B330/M330/M331: is tagged by udev as: Keyboard Mouse
[   153.933] (II) event13 - Logitech B330/M330/M331: device is a pointer
[   153.933] (II) event13 - Logitech B330/M330/M331: device is a keyboard
[   153.934] (II) event13 - Logitech B330/M330/M331: device removed
[   153.934] (II) libinput: Logitech B330/M330/M331: needs a virtual subdevice
[   153.934] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.1/0003:046D:C52F.000A/0003:046D:4057.000D/input/input49/event13"
[   153.934] (II) XINPUT: Adding extended input device "Logitech B330/M330/M331" (type: MOUSE, id 18)
[   153.934] (**) Option "AccelerationScheme" "none"
[   153.934] (**) Logitech B330/M330/M331: (accel) selected scheme none/0
[   153.934] (**) Logitech B330/M330/M331: (accel) acceleration factor: 2.000
[   153.934] (**) Logitech B330/M330/M331: (accel) acceleration threshold: 4
[   153.936] (II) event13 - Logitech B330/M330/M331: is tagged by udev as: Keyboard Mouse
[   153.936] (II) event13 - Logitech B330/M330/M331: device is a pointer
[   153.936] (II) event13 - Logitech B330/M330/M331: device is a keyboard
[   153.937] (II) config/udev: Adding input device Logitech B330/M330/M331 (/dev/input/mouse3)
[   153.937] (II) No input driver specified, ignoring this device.
[   153.937] (II) This device may have been added with another device file.
[   153.938] (II) config/udev: Adding input device HDA Intel PCH Front Mic (/dev/input/event16)
[   153.938] (II) No input driver specified, ignoring this device.
[   153.938] (II) This device may have been added with another device file.
[   153.938] (II) config/udev: Adding input device HDA Intel PCH Rear Mic (/dev/input/event17)
[   153.938] (II) No input driver specified, ignoring this device.
[   153.938] (II) This device may have been added with another device file.
[   153.938] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event18)
[   153.938] (II) No input driver specified, ignoring this device.
[   153.938] (II) This device may have been added with another device file.
[   153.939] (II) config/udev: Adding input device HDA Intel PCH Line Out (/dev/input/event19)
[   153.939] (II) No input driver specified, ignoring this device.
[   153.939] (II) This device may have been added with another device file.
[   153.939] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event20)
[   153.939] (II) No input driver specified, ignoring this device.
[   153.939] (II) This device may have been added with another device file.
[   153.940] (II) config/udev: Adding input device PC Speaker (/dev/input/event15)
[   153.940] (II) No input driver specified, ignoring this device.
[   153.940] (II) This device may have been added with another device file.
[   153.944] (**) Razer Razer Cyclosa Consumer Control: Applying InputClass "libinput keyboard catchall"
[   153.944] (II) Using input driver 'libinput' for 'Razer Razer Cyclosa Consumer Control'
[   153.944] (II) systemd-logind: returning pre-existing fd for /dev/input/event7 13:71
[   153.944] (**) Razer Razer Cyclosa Consumer Control: always reports core events
[   153.944] (**) Option "Device" "/dev/input/event7"
[   153.944] (**) Option "_source" "_driver/libinput"
[   153.944] (II) libinput: Razer Razer Cyclosa Consumer Control: is a virtual subdevice
[   153.944] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:1532:0110.0004/input/input7/event7"
[   153.944] (II) XINPUT: Adding extended input device "Razer Razer Cyclosa Consumer Control" (type: KEYBOARD, id 19)
[   153.944] (**) Logitech K780: Applying InputClass "libinput keyboard catchall"
[   153.944] (II) Using input driver 'libinput' for 'Logitech K780'
[   153.944] (II) systemd-logind: returning pre-existing fd for /dev/input/event11 13:75
[   153.944] (**) Logitech K780: always reports core events
[   153.944] (**) Option "Device" "/dev/input/event11"
[   153.944] (**) Option "_source" "_driver/libinput"
[   153.944] (II) libinput: Logitech K780: is a virtual subdevice
[   153.944] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.2/0003:046D:C52B.0008/0003:046D:405B.000B/input/input47/event11"
[   153.944] (II) XINPUT: Adding extended input device "Logitech K780" (type: KEYBOARD, id 20)
[   153.944] (**) Logitech M585/M590: Applying InputClass "libinput pointer catchall"
[   153.944] (**) Logitech M585/M590: Applying InputClass "libinput keyboard catchall"
[   153.944] (II) Using input driver 'libinput' for 'Logitech M585/M590'
[   153.944] (II) systemd-logind: returning pre-existing fd for /dev/input/event12 13:76
[   153.944] (**) Logitech M585/M590: always reports core events
[   153.944] (**) Option "Device" "/dev/input/event12"
[   153.944] (**) Option "_source" "_driver/libinput"
[   153.944] (II) libinput: Logitech M585/M590: is a virtual subdevice
[   153.944] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.2/0003:046D:C52B.0008/0003:046D:406B.000C/input/input48/event12"
[   153.944] (II) XINPUT: Adding extended input device "Logitech M585/M590" (type: KEYBOARD, id 21)
[   153.944] (**) Logitech B330/M330/M331: Applying InputClass "libinput pointer catchall"
[   153.944] (**) Logitech B330/M330/M331: Applying InputClass "libinput keyboard catchall"
[   153.944] (II) Using input driver 'libinput' for 'Logitech B330/M330/M331'
[   153.944] (II) systemd-logind: returning pre-existing fd for /dev/input/event13 13:77
[   153.944] (**) Logitech B330/M330/M331: always reports core events
[   153.944] (**) Option "Device" "/dev/input/event13"
[   153.944] (**) Option "_source" "_driver/libinput"
[   153.944] (II) libinput: Logitech B330/M330/M331: is a virtual subdevice
[   153.944] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.1/0003:046D:C52F.000A/0003:046D:4057.000D/input/input49/event13"
[   153.944] (II) XINPUT: Adding extended input device "Logitech B330/M330/M331" (type: KEYBOARD, id 22)
[   153.963] (**) Option "fd" "31"
[   153.963] (II) event2  - Power Button: device removed
[   153.963] (**) Option "fd" "34"
[   153.963] (II) event1  - Power Button: device removed
[   153.963] (**) Option "fd" "35"
[   153.963] (II) event0  - Sleep Button: device removed
[   153.963] (**) Option "fd" "36"
[   153.963] (II) event3  - Razer Razer Abyssus 1800: device removed
[   153.964] (**) Option "fd" "37"
[   153.964] (II) event4  - Razer Razer Abyssus 1800: device removed
[   153.964] (**) Option "fd" "38"
[   153.964] (II) event5  - Razer Razer Cyclosa: device removed
[   153.964] (**) Option "fd" "39"
[   153.964] (II) event6  - Razer Razer Cyclosa Keyboard: device removed
[   153.964] (**) Option "fd" "40"
[   153.964] (**) Option "fd" "41"
[   153.964] (II) event8  - Razer Razer Cyclosa System Control: device removed
[   153.964] (**) Option "fd" "42"
[   153.964] (II) event10 - Razer Razer Cyclosa: device removed
[   153.964] (**) Option "fd" "43"
[   153.964] (**) Option "fd" "44"
[   153.964] (**) Option "fd" "45"
[   153.964] (**) Option "fd" "40"
[   153.964] (II) event7  - Razer Razer Cyclosa Consumer Control: device removed
[   153.964] (**) Option "fd" "43"
[   153.964] (II) event11 - Logitech K780: device removed
[   153.964] (**) Option "fd" "44"
[   153.964] (II) event12 - Logitech M585/M590: device removed
[   153.964] (**) Option "fd" "45"
[   153.964] (II) event13 - Logitech B330/M330/M331: device removed
[   153.969] (II) UnloadModule: "libinput"
[   153.969] (II) systemd-logind: not releasing fd for 13:77, still in use
[   153.969] (II) UnloadModule: "libinput"
[   153.969] (II) systemd-logind: not releasing fd for 13:76, still in use
[   153.969] (II) UnloadModule: "libinput"
[   153.969] (II) systemd-logind: not releasing fd for 13:75, still in use
[   153.969] (II) UnloadModule: "libinput"
[   153.969] (II) systemd-logind: not releasing fd for 13:71, still in use
[   153.969] (II) UnloadModule: "libinput"
[   153.969] (II) systemd-logind: releasing fd for 13:77
[   154.002] (II) UnloadModule: "libinput"
[   154.002] (II) systemd-logind: releasing fd for 13:76
[   154.029] (II) UnloadModule: "libinput"
[   154.029] (II) systemd-logind: releasing fd for 13:75
[   154.055] (II) UnloadModule: "libinput"
[   154.055] (II) systemd-logind: releasing fd for 13:74
[   154.135] (II) UnloadModule: "libinput"
[   154.135] (II) systemd-logind: releasing fd for 13:72
[   154.175] (II) UnloadModule: "libinput"
[   154.175] (II) systemd-logind: releasing fd for 13:71
[   154.215] (II) UnloadModule: "libinput"
[   154.215] (II) systemd-logind: releasing fd for 13:70
[   154.255] (II) UnloadModule: "libinput"
[   154.255] (II) systemd-logind: releasing fd for 13:69
[   154.292] (II) UnloadModule: "libinput"
[   154.292] (II) systemd-logind: releasing fd for 13:68
[   154.335] (II) UnloadModule: "libinput"
[   154.335] (II) systemd-logind: releasing fd for 13:67
[   154.389] (II) UnloadModule: "libinput"
[   154.389] (II) systemd-logind: releasing fd for 13:64
[   154.429] (II) UnloadModule: "libinput"
[   154.429] (II) systemd-logind: releasing fd for 13:65
[   154.471] (II) UnloadModule: "libinput"
[   154.471] (II) systemd-logind: releasing fd for 13:66

以下是 xorg.conf 中的内容

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 435.21


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

非常感谢您的帮助,谢谢。

离线

#2 2019-10-26 13:26:04

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,460
个人网站

Re: 安装 i3 窗口管理器,使用 startx 启动出现错误。

请查看 ~/.config/i3/log/i3log-$(date + '%F-%k-%M-%S') 里的内容。另外这句命令有点问题:

2 > &1 是错误的。应该是 2>&1。另外重定向目标里可能不会进行 $( ) 扩展,所以应该这么写:

logfile=$HOME/.config/i3/log/i3log-$(date + '%F-%k-%M-%S')
exec i3 -V >> $logfile 2>&1

当然你还得保证日志文件所在的目录已经存在。

最后,不推荐使用古老的 startx。lightdm 这样的登录管理器是更现代和科学的选择。

nvidia 也不太需要手动配置了。非双显卡的话装上应该就可以自动使用了(nvidia-utils 有带配置文件)。

离线

#3 2019-10-26 17:37:41

Dueot
会员
注册时间: 2019-10-26
帖子: 6

Re: 安装 i3 窗口管理器,使用 startx 启动出现错误。

非常感谢您的帮助,它是有效的。
修复问题后切换到了 lightdm ,它确实很现代,很科学。
再次感谢您的帮助和建议。

离线

页脚