[SOLVED] startx command gives error "xinit: connection to X server lost"
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[root@S]# startx
xauth: file /root/.serverauth.7983 does not exist
xauth: (stdin):2: unknown command "21a698b67cbb9bfeb92ed8b52da88234"
xauth: (stdin):3: unknown command "21a698b67cbb9bfeb92ed8b52da88234"
X.Org X Server 1.20.1
X Protocol Version 11, Revision 0
Build Operating System: 3.10.0-693.17.1.el7.x86_64
Current Operating System: Linux S 4.20.11-1.el7.elrepo.x86_64 #1 SMP Wed Feb 20 09:00:53 EST 2019 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-4.20.11-1.el7.elrepo.x86_64 root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet LANG=en_US.UTF-8 nouveau.modeset=0 rd.driver.blacklist=nouveau plymouth.ignore-udev intel_iommu=on
Build Date: 29 January 2019 06:03:26PM
Build ID: xorg-x11-server 1.20.1-5.2.el7_6
Current version of pixman: 0.34.0
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.1.log", Time: Sun Feb 24 02:27:00 2019
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xinit: connection to X server lost
waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.
/var/log/Xorg.1.log file
Quote:
>># cat /var/log/Xorg.1.log
[ 22695.280]
X.Org X Server 1.20.1
X Protocol Version 11, Revision 0
[ 22695.280] Build Operating System: 3.10.0-693.17.1.el7.x86_64
[ 22695.280] Current Operating System: Linux S 4.20.11-1.el7.elrepo.x86_64 #1 SMP Wed Feb 20 09:00:53 EST 2019 x86_64
[ 22695.280] Kernel command line: BOOT_IMAGE=/vmlinuz-4.20.11-1.el7.elrepo.x86_64 root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet LANG=en_US.UTF-8 nouveau.modeset=0 rd.driver.blacklist=nouveau plymouth.ignore-udev intel_iommu=on
[ 22695.280] Build Date: 29 January 2019 06:03:26PM
[ 22695.280] Build ID: xorg-x11-server 1.20.1-5.2.el7_6
[ 22695.280] Current version of pixman: 0.34.0
[ 22695.280] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 22695.280] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 22695.280] (==) Log file: "/var/log/Xorg.1.log", Time: Sun Feb 24 02:35:55 2019
[ 22695.280] (==) Using config file: "/etc/X11/xorg.conf"
[ 22695.280] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 22695.280] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 22695.280] (==) No Layout section. Using the first Screen section.
[ 22695.280] (==) No screen section available. Using defaults.
[ 22695.280] (**) |-->Screen "Default Screen Section" (0)
[ 22695.280] (**) | |-->Monitor "<default monitor>"
[ 22695.280] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 22695.280] (**) | |-->Device "Intel Card"
[ 22695.280] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 22695.280] (==) Automatically adding devices
[ 22695.280] (==) Automatically enabling devices
[ 22695.280] (==) Automatically adding GPU devices
[ 22695.280] (==) Automatically binding GPU devices
[ 22695.280] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 22695.280] (==) FontPath set to:
catalogue:/etc/X11/fontpath.d,
built-ins
[ 22695.280] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 22695.280] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 22695.280] (II) Loader magic: 0x5613bb176020
[ 22695.280] (II) Module ABI versions:
[ 22695.280] X.Org ANSI C Emulation: 0.4
[ 22695.280] X.Org Video Driver: 24.0
[ 22695.280] X.Org XInput driver : 24.1
[ 22695.280] X.Org Server Extension : 10.0
[ 22695.281] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 22695.281] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[ 22695.281] (II) Platform PCI device at pci:0000:00:02.0
[ 22695.283] (--) PCI:*(0@0:2:0) 8086:3e92:1043:8694 rev 0, Mem @ 0x2ffe000000/16777216, 0xd0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[ 22695.283] (--) PCI: (1@0:0:0) 10de:1e07:1043:866a rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 22695.283] (II) LoadModule: "glx"
[ 22695.283] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 22695.293] (II) Module glx: vendor="X.Org Foundation"
[ 22695.293] compiled for 1.20.1, module version = 1.0.0
[ 22695.293] ABI class: X.Org Server Extension, version 10.0
[ 22695.293] (II) LoadModule: "intel"
[ 22695.293] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[ 22695.294] (II) Module intel: vendor="X.Org Foundation"
[ 22695.294] compiled for 1.20.1, module version = 2.99.917
[ 22695.294] Module class: X.Org Video Driver
[ 22695.294] ABI class: X.Org Video Driver, version 24.0
[ 22695.294] (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
[ 22695.294] (II) intel: Driver for Intel(R) HD Graphics
[ 22695.294] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 22695.294] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 22695.294] (--) using VT number 2
[ 22695.501] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20180921
[ 22695.518] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics
[ 22695.518] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 6 threads
[ 22695.518] (II) intel(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 22695.518] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 22695.518] (==) intel(0): RGB weight 888
[ 22695.518] (==) intel(0): Default visual is TrueColor
[ 22695.520] (II) intel(0): Output DP1 has no monitor section
[ 22695.520] (II) intel(0): Enabled output DP1
[ 22695.520] (II) intel(0): Output HDMI1 has no monitor section
[ 22695.521] (II) intel(0): Enabled output HDMI1
[ 22695.521] (II) intel(0): Output HDMI2 has no monitor section
[ 22695.521] (II) intel(0): Enabled output HDMI2
[ 22695.521] (II) intel(0): Output HDMI3 has no monitor section
[ 22695.522] (II) intel(0): Enabled output HDMI3
[ 22695.522] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[ 22695.522] (II) intel(0): Output VIRTUAL1 has no monitor section
[ 22695.522] (II) intel(0): Enabled output VIRTUAL1
[ 22695.522] (--) intel(0): Output HDMI2 using initial mode 1280x720 on pipe 0
[ 22695.522] (==) intel(0): TearFree enabled
[ 22695.523] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[ 22695.523] (==) intel(0): DPI set to (96, 96)
[ 22695.523] (II) Loading sub module "dri3"
[ 22695.523] (II) LoadModule: "dri3"
[ 22695.523] (II) Module "dri3" already built-in
[ 22695.523] (II) Loading sub module "dri2"
[ 22695.523] (II) LoadModule: "dri2"
[ 22695.523] (II) Module "dri2" already built-in
[ 22695.523] (II) Loading sub module "present"
[ 22695.523] (II) LoadModule: "present"
[ 22695.523] (II) Module "present" already built-in
[ 22695.523] (II) intel(0): SNA initialized with Coffeelake (gen9) backend
[ 22695.523] (==) intel(0): Backing store enabled
[ 22695.523] (==) intel(0): Silken mouse enabled
[ 22695.523] (II) intel(0): HW Cursor enabled
[ 22695.524] (==) intel(0): DPMS enabled
[ 22695.524] (==) intel(0): Display hotplug detection enabled
[ 22695.524] (II) intel(0): [DRI2] Setup complete
[ 22695.524] (II) intel(0): [DRI2] DRI driver: i965
[ 22695.524] (II) intel(0): [DRI2] VDPAU driver: va_gl
[ 22695.524] (II) intel(0): direct rendering: DRI2 DRI3 enabled
[ 22695.524] (II) intel(0): hardware support for Present enabled
[ 22695.524] (II) Initializing extension Generic Event Extension
[ 22695.525] (II) Initializing extension SHAPE
[ 22695.525] (II) Initializing extension MIT-SHM
[ 22695.526] (II) Initializing extension XInputExtension
[ 22695.526] (II) Initializing extension XTEST
[ 22695.527] (II) Initializing extension BIG-REQUESTS
[ 22695.527] (II) Initializing extension SYNC
[ 22695.528] (II) Initializing extension XKEYBOARD
[ 22695.528] (II) Initializing extension XC-MISC
[ 22695.528] (II) Initializing extension SECURITY
[ 22695.529] (II) Initializing extension XFIXES
[ 22695.529] (II) Initializing extension RENDER
[ 22695.530] (II) Initializing extension RANDR
[ 22695.531] (II) Initializing extension COMPOSITE
[ 22695.531] (II) Initializing extension DAMAGE
[ 22695.532] (II) Initializing extension MIT-SCREEN-SAVER
[ 22695.532] (II) Initializing extension DOUBLE-BUFFER
[ 22695.532] (II) Initializing extension RECORD
[ 22695.533] (II) Initializing extension DPMS
[ 22695.533] (II) Initializing extension Present
[ 22695.534] (II) Initializing extension DRI3
[ 22695.534] (II) Initializing extension X-Resource
[ 22695.535] (II) Initializing extension XVideo
[ 22695.535] (II) Initializing extension XVideo-MotionCompensation
[ 22695.535] (II) Initializing extension SELinux
[ 22695.535] (II) SELinux: Disabled by boolean
[ 22695.535] (II) Initializing extension GLX
[ 22695.552] (II) AIGLX: Loaded and initialized i965
[ 22695.552] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 22695.552] (II) Initializing extension XFree86-VidModeExtension
[ 22695.552] (II) Initializing extension XFree86-DGA
[ 22695.552] (II) Initializing extension XFree86-DRI
[ 22695.552] (II) Initializing extension DRI2
[ 22695.554] (II) intel(0): switch to mode 1280x720@60.0 on HDMI2 using pipe 0, position (0, 0), rotation normal, reflection none
[ 22695.563] (II) intel(0): Setting screen physical size to 338 x 190
[ 22695.582] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 22695.582] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 22695.582] (**) Power Button: Applying InputClass "system-keyboard"
[ 22695.582] (II) LoadModule: "evdev"
[ 22695.582] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[ 22695.582] (II) Module evdev: vendor="X.Org Foundation"
[ 22695.582] compiled for 1.20.1, module version = 2.10.6
[ 22695.582] Module class: X.Org XInput Driver
[ 22695.582] ABI class: X.Org XInput driver, version 24.1
[ 22695.582] (II) Using input driver 'evdev' for 'Power Button'
[ 22695.582] (**) Power Button: always reports core events
[ 22695.582] (**) evdev: Power Button: Device: "/dev/input/event2"
[ 22695.582] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 22695.582] (--) evdev: Power Button: Found keys
[ 22695.582] (II) evdev: Power Button: Configuring as keyboard
[ 22695.582] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[ 22695.582] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 22695.582] (**) Option "xkb_rules" "evdev"
[ 22695.582] (**) Option "xkb_layout" "us"
[ 22695.583] (II) config/udev: Adding input device Video Bus (/dev/input/event3)
[ 22695.583] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[ 22695.583] (**) Video Bus: Applying InputClass "system-keyboard"
[ 22695.583] (II) Using input driver 'evdev' for 'Video Bus'
[ 22695.583] (**) Video Bus: always reports core events
[ 22695.583] (**) evdev: Video Bus: Device: "/dev/input/event3"
[ 22695.583] (--) evdev: Video Bus: Vendor 0 Product 0x6
[ 22695.583] (--) evdev: Video Bus: Found keys
[ 22695.583] (II) evdev: Video Bus: Configuring as keyboard
[ 22695.583] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input3/event3"
[ 22695.583] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[ 22695.583] (**) Option "xkb_rules" "evdev"
[ 22695.583] (**) Option "xkb_layout" "us"
[ 22695.583] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[ 22695.583] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 22695.583] (**) Power Button: Applying InputClass "system-keyboard"
[ 22695.583] (II) Using input driver 'evdev' for 'Power Button'
[ 22695.583] (**) Power Button: always reports core events
[ 22695.583] (**) evdev: Power Button: Device: "/dev/input/event1"
[ 22695.583] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 22695.583] (--) evdev: Power Button: Found keys
[ 22695.583] (II) evdev: Power Button: Configuring as keyboard
[ 22695.583] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[ 22695.583] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[ 22695.583] (**) Option "xkb_rules" "evdev"
[ 22695.583] (**) Option "xkb_layout" "us"
[ 22695.583] (II) config/udev: Adding input device Sleep Button (/dev/input/event0)
[ 22695.583] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[ 22695.583] (**) Sleep Button: Applying InputClass "system-keyboard"
[ 22695.583] (II) Using input driver 'evdev' for 'Sleep Button'
[ 22695.583] (**) Sleep Button: always reports core events
[ 22695.583] (**) evdev: Sleep Button: Device: "/dev/input/event0"
[ 22695.583] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[ 22695.583] (--) evdev: Sleep Button: Found keys
[ 22695.583] (II) evdev: Sleep Button: Configuring as keyboard
[ 22695.583] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0/event0"
[ 22695.583] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[ 22695.583] (**) Option "xkb_rules" "evdev"
[ 22695.583] (**) Option "xkb_layout" "us"
[ 22695.584] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event4)
[ 22695.584] (**) Logitech USB Receiver: Applying InputClass "evdev keyboard catchall"
[ 22695.584] (**) Logitech USB Receiver: Applying InputClass "system-keyboard"
[ 22695.584] (II) Using input driver 'evdev' for 'Logitech USB Receiver'
[ 22695.584] (**) Logitech USB Receiver: always reports core events
[ 22695.584] (**) evdev: Logitech USB Receiver: Device: "/dev/input/event4"
[ 22695.584] (--) evdev: Logitech USB Receiver: Vendor 0x46d Product 0xc534
[ 22695.584] (--) evdev: Logitech USB Receiver: Found keys
[ 22695.584] (II) evdev: Logitech USB Receiver: Configuring as keyboard
[ 22695.584] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/usb5/5-2/5-2:1.0/0003:046D:C534.0003/input/input4/event4"
[ 22695.584] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD, id 10)
[ 22695.584] (**) Option "xkb_rules" "evdev"
[ 22695.584] (**) Option "xkb_layout" "us"
[ 22695.584] (II) config/udev: Adding input device Logitech USB Receiver Mouse (/dev/input/event5)
[ 22695.584] (**) Logitech USB Receiver Mouse: Applying InputClass "evdev pointer catchall"
[ 22695.584] (II) Using input driver 'evdev' for 'Logitech USB Receiver Mouse'
[ 22695.584] (**) Logitech USB Receiver Mouse: always reports core events
[ 22695.584] (**) evdev: Logitech USB Receiver Mouse: Device: "/dev/input/event5"
[ 22695.584] (--) evdev: Logitech USB Receiver Mouse: Vendor 0x46d Product 0xc534
[ 22695.584] (--) evdev: Logitech USB Receiver Mouse: Found 20 mouse buttons
[ 22695.584] (--) evdev: Logitech USB Receiver Mouse: Found scroll wheel(s)
[ 22695.584] (--) evdev: Logitech USB Receiver Mouse: Found relative axes
[ 22695.584] (--) evdev: Logitech USB Receiver Mouse: Found x and y relative axes
[ 22695.584] (II) evdev: Logitech USB Receiver Mouse: Configuring as mouse
[ 22695.584] (II) evdev: Logitech USB Receiver Mouse: Adding scrollwheel support
[ 22695.584] (**) evdev: Logitech USB Receiver Mouse: YAxisMapping: buttons 4 and 5
[ 22695.584] (**) evdev: Logitech USB Receiver Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 22695.584] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/usb5/5-2/5-2:1.1/0003:046D:C534.0004/input/input5/event5"
[ 22695.584] (II) XINPUT: Adding extended input device "Logitech USB Receiver Mouse" (type: MOUSE, id 11)
[ 22695.584] (II) evdev: Logitech USB Receiver Mouse: initialized for relative axes.
[ 22695.584] (**) Logitech USB Receiver Mouse: (accel) keeping acceleration scheme 1
[ 22695.584] (**) Logitech USB Receiver Mouse: (accel) acceleration profile 0
[ 22695.584] (**) Logitech USB Receiver Mouse: (accel) acceleration factor: 2.000
[ 22695.584] (**) Logitech USB Receiver Mouse: (accel) acceleration threshold: 4
[ 22695.584] (II) config/udev: Adding input device Logitech USB Receiver Mouse (/dev/input/mouse0)
[ 22695.585] (II) No input driver specified, ignoring this device.
[ 22695.585] (II) This device may have been added with another device file.
[ 22695.585] (II) config/udev: Adding input device Logitech USB Receiver Consumer Control (/dev/input/event6)
[ 22695.585] (**) Logitech USB Receiver Consumer Control: Applying InputClass "evdev keyboard catchall"
[ 22695.585] (**) Logitech USB Receiver Consumer Control: Applying InputClass "system-keyboard"
[ 22695.585] (II) Using input driver 'evdev' for 'Logitech USB Receiver Consumer Control'
[ 22695.585] (**) Logitech USB Receiver Consumer Control: always reports core events
[ 22695.585] (**) evdev: Logitech USB Receiver Consumer Control: Device: "/dev/input/event6"
[ 22695.585] (--) evdev: Logitech USB Receiver Consumer Control: Vendor 0x46d Product 0xc534
[ 22695.585] (--) evdev: Logitech USB Receiver Consumer Control: Found 1 mouse buttons
[ 22695.585] (--) evdev: Logitech USB Receiver Consumer Control: Found scroll wheel(s)
[ 22695.585] (--) evdev: Logitech USB Receiver Consumer Control: Found relative axes
[ 22695.585] (II) evdev: Logitech USB Receiver Consumer Control: Forcing relative x/y axes to exist.
[ 22695.585] (--) evdev: Logitech USB Receiver Consumer Control: Found absolute axes
[ 22695.585] (II) evdev: Logitech USB Receiver Consumer Control: Forcing absolute x/y axes to exist.
[ 22695.585] (--) evdev: Logitech USB Receiver Consumer Control: Found keys
[ 22695.585] (II) evdev: Logitech USB Receiver Consumer Control: Configuring as mouse
[ 22695.585] (II) evdev: Logitech USB Receiver Consumer Control: Configuring as keyboard
[ 22695.585] (II) evdev: Logitech USB Receiver Consumer Control: Adding scrollwheel support
[ 22695.585] (**) evdev: Logitech USB Receiver Consumer Control: YAxisMapping: buttons 4 and 5
[ 22695.585] (**) evdev: Logitech USB Receiver Consumer Control: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 22695.585] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/usb5/5-2/5-2:1.1/0003:046D:C534.0004/input/input6/event6"
[ 22695.585] (II) XINPUT: Adding extended input device "Logitech USB Receiver Consumer Control" (type: KEYBOARD, id 12)
[ 22695.585] (**) Option "xkb_rules" "evdev"
[ 22695.585] (**) Option "xkb_layout" "us"
[ 22695.585] (II) evdev: Logitech USB Receiver Consumer Control: initialized for relative axes.
[ 22695.585] (WW) evdev: Logitech USB Receiver Consumer Control: ignoring absolute axes.
[ 22695.585] (**) Logitech USB Receiver Consumer Control: (accel) keeping acceleration scheme 1
[ 22695.585] (**) Logitech USB Receiver Consumer Control: (accel) acceleration profile 0
[ 22695.585] (**) Logitech USB Receiver Consumer Control: (accel) acceleration factor: 2.000
[ 22695.585] (**) Logitech USB Receiver Consumer Control: (accel) acceleration threshold: 4
[ 22695.585] (II) config/udev: Adding input device Logitech USB Receiver System Control (/dev/input/event7)
[ 22695.585] (**) Logitech USB Receiver System Control: Applying InputClass "evdev keyboard catchall"
[ 22695.585] (**) Logitech USB Receiver System Control: Applying InputClass "system-keyboard"
[ 22695.585] (II) Using input driver 'evdev' for 'Logitech USB Receiver System Control'
[ 22695.585] (**) Logitech USB Receiver System Control: always reports core events
[ 22695.585] (**) evdev: Logitech USB Receiver System Control: Device: "/dev/input/event7"
[ 22695.585] (--) evdev: Logitech USB Receiver System Control: Vendor 0x46d Product 0xc534
[ 22695.585] (--) evdev: Logitech USB Receiver System Control: Found keys
[ 22695.585] (II) evdev: Logitech USB Receiver System Control: Configuring as keyboard
[ 22695.585] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/usb5/5-2/5-2:1.1/0003:046D:C534.0004/input/input7/event7"
[ 22695.585] (II) XINPUT: Adding extended input device "Logitech USB Receiver System Control" (type: KEYBOARD, id 13)
[ 22695.585] (**) Option "xkb_rules" "evdev"
[ 22695.585] (**) Option "xkb_layout" "us"
[ 22695.586] (II) config/udev: Adding input device HDA Intel PCH Front Mic (/dev/input/event10)
[ 22695.586] (II) No input driver specified, ignoring this device.
[ 22695.586] (II) This device may have been added with another device file.
[ 22695.586] (II) config/udev: Adding input device HDA Intel PCH Rear Mic (/dev/input/event11)
[ 22695.586] (II) No input driver specified, ignoring this device.
[ 22695.586] (II) This device may have been added with another device file.
[ 22695.586] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event12)
[ 22695.586] (II) No input driver specified, ignoring this device.
[ 22695.586] (II) This device may have been added with another device file.
[ 22695.586] (II) config/udev: Adding input device HDA Intel PCH Line Out Front (/dev/input/event13)
[ 22695.586] (II) No input driver specified, ignoring this device.
[ 22695.586] (II) This device may have been added with another device file.
[ 22695.586] (II) config/udev: Adding input device HDA Intel PCH Line Out Surround (/dev/input/event14)
[ 22695.586] (II) No input driver specified, ignoring this device.
[ 22695.586] (II) This device may have been added with another device file.
[ 22695.586] (II) config/udev: Adding input device HDA Intel PCH Line Out CLFE (/dev/input/event15)
[ 22695.586] (II) No input driver specified, ignoring this device.
[ 22695.586] (II) This device may have been added with another device file.
[ 22695.586] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event16)
[ 22695.586] (II) No input driver specified, ignoring this device.
[ 22695.586] (II) This device may have been added with another device file.
[ 22695.587] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event17)
[ 22695.587] (II) No input driver specified, ignoring this device.
[ 22695.587] (II) This device may have been added with another device file.
[ 22695.587] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event18)
[ 22695.587] (II) No input driver specified, ignoring this device.
[ 22695.587] (II) This device may have been added with another device file.
[ 22695.587] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event19)
[ 22695.587] (II) No input driver specified, ignoring this device.
[ 22695.587] (II) This device may have been added with another device file.
[ 22695.587] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event20)
[ 22695.587] (II) No input driver specified, ignoring this device.
[ 22695.587] (II) This device may have been added with another device file.
[ 22695.587] (II) config/udev: Adding input device Eee PC WMI hotkeys (/dev/input/event9)
[ 22695.587] (**) Eee PC WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[ 22695.587] (**) Eee PC WMI hotkeys: Applying InputClass "system-keyboard"
[ 22695.587] (II) Using input driver 'evdev' for 'Eee PC WMI hotkeys'
[ 22695.587] (**) Eee PC WMI hotkeys: always reports core events
[ 22695.587] (**) evdev: Eee PC WMI hotkeys: Device: "/dev/input/event9"
[ 22695.587] (--) evdev: Eee PC WMI hotkeys: Vendor 0 Product 0
[ 22695.587] (--) evdev: Eee PC WMI hotkeys: Found keys
[ 22695.587] (II) evdev: Eee PC WMI hotkeys: Configuring as keyboard
[ 22695.587] (**) Option "config_info" "udev:/sys/devices/platform/eeepc-wmi/input/input19/event9"
[ 22695.587] (II) XINPUT: Adding extended input device "Eee PC WMI hotkeys" (type: KEYBOARD, id 14)
[ 22695.587] (**) Option "xkb_rules" "evdev"
[ 22695.587] (**) Option "xkb_layout" "us"
[ 22695.587] (II) config/udev: Adding input device PC Speaker (/dev/input/event8)
[ 22695.587] (II) No input driver specified, ignoring this device.
[ 22695.587] (II) This device may have been added with another device file.
[ 22696.118] (II) evdev: Eee PC WMI hotkeys: Close
[ 22696.118] (II) UnloadModule: "evdev"
[ 22696.118] (II) evdev: Logitech USB Receiver System Control: Close
[ 22696.118] (II) UnloadModule: "evdev"
[ 22696.118] (II) evdev: Logitech USB Receiver Consumer Control: Close
[ 22696.118] (II) UnloadModule: "evdev"
[ 22696.118] (II) evdev: Logitech USB Receiver Mouse: Close
[ 22696.118] (II) UnloadModule: "evdev"
[ 22696.118] (II) evdev: Logitech USB Receiver: Close
[ 22696.118] (II) UnloadModule: "evdev"
[ 22696.118] (II) evdev: Sleep Button: Close
[ 22696.118] (II) UnloadModule: "evdev"
[ 22696.118] (II) evdev: Power Button: Close
[ 22696.118] (II) UnloadModule: "evdev"
[ 22696.118] (II) evdev: Video Bus: Close
[ 22696.118] (II) UnloadModule: "evdev"
[ 22696.118] (II) evdev: Power Button: Close
[ 22696.118] (II) UnloadModule: "evdev"
[ 22696.187] (II) Server terminated successfully (0). Closing log file.
what does .xinitrc look like? is it trying to start anything, do you even have one?
copy of mine,
Code:
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
I have an onboard card (CPU card), and an NVidia card.
I have disabled the nouveau driver. NVidia has set up PCI passthrough.
Run GNOME Desktop with an onboard card.
what can i do ?
Based on the 'Section "Device"' above, it seems you wish to use the Intel gfx, but your language makes that unclear. Also, I'm a little lost here, because I haven't touched CentOS in years, haven't tried Gnome in two decades, have never used pass-through, and can't remember whether I ever had success trying to use onboard Intel gfx while any add-on gfxcard was installed. "Startx" failure is what lured me here. Nevertheless, I do have suggestions, depending on what you actually want, and hardware you actually have.
I'd be surprised if this has anything to do with Yum or Gnome or any of its dependencies, but more likely with mixing a generated xorg.conf with Intel gfx, if not broken pass-through. IME, inappropriate xorg.conf settings are a good way to generate a server lost or xinit auth failure. What else is in it besides the 5 line device section? IOW, please post the whole file.
ISTR wrong permissions on /usr/bin/Xorg used to be able to cause server lost, if not still. What are yours?
Please share your CPU & gfx hardware. "Intel" and "NVidia" don't really tell us anything.
Code:
inxi -GxxCM
would be ideal, if X was running. It still might be enough. Absent exact model names, PCI IDs are my interest here, which you could cull from hwinfo or lspci.
With server 1.20.1 and nothing in a PCIeX16 slot, automagic should make any non-ancient Intel gfx over six months old just work, no xorg.conf needed. If some special admin (your own manually created) config is actually needed for pass-through, I'd put it in /etc/X11/xorg.conf.d/, only using /etc/X11/xorg.conf for a proprietary driver.
Have you tried using the (much) newer (default) "modesetting" driver? It's provided by servers 1.17.0 and up, not a separate driver package, unless CentOS is very different from Fedora or Debian or any other distro I've used post-1.16.x, none of which used a kernel as old as 3.10. If the separate Intel DDX driver, which has been in maintenance mode since its last official release 4 years ago, is installed, the default driver that Intel's paid gfx driver writers put most of their effort into is overrided. I don't let that happen here. Maybe it's what you or pass-through want?
1.I want to start GNOME Desktop using Intel's GPU. NVIDIA GPU set up PCI passthrough. PCI passthrough is set up according to this document. PCI passthrough via OVMF
2.The xorg.conf file is complete but I modified it. Before using this issue, when installing Gnome Desktop using yum, he automatically created an nVIDIA configuration file in "/etc/X11/xorg.conf.d/99-nvidia.conf ". I deleted this file and solved this error."
I tried to modify xorg.conf according to this document. Make Xorg ignore both nouveau and nVIDIA?
3.
Quote:
ISTR wrong permissions on /usr/bin/Xorg used to be able to cause server lost, if not still. What are yours?
With server 1.20.1 and nothing in a PCIeX16 slot, automagic should make any non-ancient Intel gfx over six months old just work, no xorg.conf needed. If some special admin (your own manually created) config is actually needed for pass-through, I'd put it in /etc/X11/xorg.conf.d/, only using /etc/X11/xorg.conf for a proprietary driver.
I have tried to unplug the graphics card's power cord because it is inconvenient to remove the graphics card.
After starting the server, I use lspci to make sure the graphics card is not listed.
Running startx failed.
If I have to unplug my graphics card.
I put it to the last try.
6.
Finally I tried to use the "modesetting" driver and modified xorg.conf.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.