Headless server blank screen before login

Hi, I am running 2 tesla v100 gpus on the Centos 7 server. But cannot get the gui working via vnc and gdm. It just showed black screen before login.

Here’s some info I can provide.

Xorg.0.log:

[    29.399]
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[    29.399] Build Operating System:  3.10.0-957.1.3.el7.x86_64
[    29.399] Current Operating System: Linux gpu2 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64
[    29.399] Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-957.el7.x86_64 root=UUID=8790907b-afb3-4acf-be7c-94dc236759a7 ro nomodeset scsi_mod.scan=sync iommu=pt crashkernel=auto rhgb quiet LANG=en_US.UTF-8
[    29.399] Build Date: 04 January 2022  05:44:44PM
[    29.399] Build ID: xorg-x11-server 1.20.4-17.el7_9
[    29.399] Current version of pixman: 0.34.0
[    29.399]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    29.399] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    29.399] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 19 21:43:37 2022
[    29.399] (==) Using config file: "/etc/X11/xorg.conf"
[    29.399] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    29.399] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    29.399] (==) ServerLayout "Layout0"
[    29.399] (**) |-->Screen "Screen0" (0)
[    29.399] (**) |   |-->Monitor "Monitor0"
[    29.400] (**) |   |-->Device "Device0"
[    29.400] (**) |-->Screen "Screen1" (1)
[    29.400] (**) |   |-->Monitor "Monitor1"
[    29.400] (**) |   |-->Device "Device1"
[    29.400] (**) |-->Input Device "Keyboard0"
[    29.400] (**) |-->Input Device "Mouse0"
[    29.400] (==) Automatically adding devices
[    29.400] (==) Automatically enabling devices
[    29.400] (==) Automatically adding GPU devices
[    29.400] (==) Automatically binding GPU devices
[    29.400] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    29.400] (==) FontPath set to:
        catalogue:/etc/X11/fontpath.d,
        built-ins
[    29.400] (==) ModulePath set to "/usr/lib64/xorg/modules"
[    29.400] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    29.400] (WW) Disabling Keyboard0
[    29.400] (WW) Disabling Mouse0
[    29.400] (II) Loader magic: 0x55953a49f020
[    29.400] (II) Module ABI versions:
[    29.400]    X.Org ANSI C Emulation: 0.4
[    29.400]    X.Org Video Driver: 24.0
[    29.400]    X.Org XInput driver : 24.1
[    29.400]    X.Org Server Extension : 10.0
[    29.400] (II) xfree86: Adding drm device (/dev/dri/card0)
[    29.400] (II) Platform probe for /sys/devices/pci0000:3a/0000:3a:00.0/0000:3b:00.0/drm/card0
[    29.400] (II) xfree86: Adding drm device (/dev/dri/card1)
[    29.400] (II) Platform probe for /sys/devices/pci0000:85/0000:85:00.0/0000:86:00.0/drm/card1
[    29.410] (**) OutputClass "nvidia primary" setting /dev/dri/card0 as PrimaryGPU
[    29.419] (--) PCI: (3@0:0:0) 1a03:2000:1a03:2000 rev 65, Mem @ 0x9c000000/16777216, 0x9d000000/131072, I/O @ 0x00002000/128, BIOS @ 0x????????/131072
[    29.420] (--) PCI:*(59@0:0:0) 10de:1df6:10de:13d6 rev 161, Mem @ 0xb7000000/16777216, 0x1af000000000/34359738368, 0x1af800000000/33554432, BIOS @ 0x????????/65536
[    29.420] (--) PCI: (134@0:0:0) 10de:1df6:10de:13d6 rev 161, Mem @ 0xdf000000/16777216, 0x1df000000000/34359738368, 0x1df800000000/33554432, BIOS @ 0x????????/65536
[    29.420] (II) LoadModule: "glx"
[    29.434] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    30.164] (II) Module glx: vendor="NVIDIA Corporation"
[    30.164]    compiled for 4.0.2, module version = 1.0.0
[    30.164]    Module class: X.Org Server Extension
[    30.169] (II) NVIDIA GLX Module  390.116  Sun Jan 27 06:24:32 PST 2019
[    30.173] (II) LoadModule: "nvidia"
[    30.173] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[    30.174] (II) Module nvidia: vendor="NVIDIA Corporation"
[    30.174]    compiled for 4.0.2, module version = 1.0.0
[    30.174]    Module class: X.Org Video Driver
[    30.174] (II) NVIDIA dlloader X Driver  390.116  Sun Jan 27 05:57:42 PST 2019
[    30.174] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    30.174] (++) using VT number 1

[    30.178] (II) Loading sub module "fb"
[    30.178] (II) LoadModule: "fb"
[    30.178] (II) Loading /usr/lib64/xorg/modules/libfb.so
[    30.178] (II) Module fb: vendor="X.Org Foundation"
[    30.178]    compiled for 1.20.4, module version = 1.0.0
[    30.178]    ABI class: X.Org ANSI C Emulation, version 0.4
[    30.178] (II) Loading sub module "wfb"
[    30.178] (II) LoadModule: "wfb"
[    30.178] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[    30.178] (II) Module wfb: vendor="X.Org Foundation"
[    30.178]    compiled for 1.20.4, module version = 1.0.0
[    30.178]    ABI class: X.Org ANSI C Emulation, version 0.4
[    30.178] (II) Loading sub module "ramdac"
[    30.178] (II) LoadModule: "ramdac"
[    30.178] (II) Module "ramdac" already built-in
[    30.179] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[    30.179] (==) NVIDIA(0): RGB weight 888
[    30.179] (==) NVIDIA(0): Default visual is TrueColor
[    30.179] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    30.179] (II) Applying OutputClass "nvidia primary" options to /dev/dri/card0
[    30.179] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration" "True"
[    30.179] (**) NVIDIA(0): Option "UseDisplayDevice" "None"
[    30.179] (**) NVIDIA(0): Enabling 2D acceleration
[    30.179] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
[    30.179] (**) NVIDIA(0):     mode
[    31.551] (II) NVIDIA(0): NVIDIA GPU Graphics Device (GV100GL-B) at PCI:59:0:0 (GPU-0)
[    31.551] (--) NVIDIA(0): Memory: 33554432 kBytes
[    31.551] (--) NVIDIA(0): VideoBIOS: 88.00.98.00.01
[    31.551] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    31.551] (II) NVIDIA(0): Validated MetaModes:
[    31.551] (II) NVIDIA(0):     "NULL"
[    31.551] (**) NVIDIA(0): Virtual screen size configured to be 1920 x 1200
[    31.551] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[    31.551] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[    31.551] (**) NVIDIA(1): Depth 24, (--) framebuffer bpp 32
[    31.551] (==) NVIDIA(1): RGB weight 888
[    31.551] (==) NVIDIA(1): Default visual is TrueColor
[    31.551] (==) NVIDIA(1): Using gamma correction (1.0, 1.0, 1.0)
[    31.551] (II) Applying OutputClass "nvidia primary" options to /dev/dri/card1
[    31.551] (**) NVIDIA(1): Option "AllowEmptyInitialConfiguration" "True"
[    31.551] (**) NVIDIA(1): Option "UseDisplayDevice" "None"
[    31.551] (**) NVIDIA(1): Enabling 2D acceleration
[    31.551] (**) NVIDIA(1): Option "UseDisplayDevice" set to "none"; enabling NoScanout
[    31.551] (**) NVIDIA(1):     mode
[    32.671] (II) NVIDIA(1): NVIDIA GPU Graphics Device (GV100GL-B) at PCI:134:0:0 (GPU-1)
[    32.671] (--) NVIDIA(1): Memory: 33554432 kBytes
[    32.671] (--) NVIDIA(1): VideoBIOS: 88.00.98.00.01
[    32.671] (II) NVIDIA(1): Detected PCI Express Link width: 16X
[    32.671] (II) NVIDIA(1): Validated MetaModes:
[    32.671] (II) NVIDIA(1):     "NULL"
[    32.671] (**) NVIDIA(1): Virtual screen size configured to be 1920 x 1200
[    32.671] (WW) NVIDIA(1): Unable to get display device for DPI computation.
[    32.671] (==) NVIDIA(1): DPI set to (75, 75); computed from built-in default
[    32.671] (II) NVIDIA: Using 24576.00 MB of virtual memory for indirect memory
[    32.671] (II) NVIDIA:     access.
[    32.676] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[    32.676] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[    32.676] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[    32.676] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[    32.676] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[    32.676] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[    32.676] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[    32.676] (II) NVIDIA(0):     Config Options in the README.
[    32.701] (II) NVIDIA(0): Setting mode "NULL"
[    32.706] (==) NVIDIA(0): Disabling shared memory pixmaps
[    32.706] (==) NVIDIA(0): Backing store enabled
[    32.706] (==) NVIDIA(0): Silken mouse enabled
[    32.707] (**) NVIDIA(0): DPMS enabled
[    32.707] (WW) NVIDIA(0): Option "PrimaryGpu" is not used
[    32.707] (II) Loading sub module "dri2"
[    32.707] (II) LoadModule: "dri2"
[    32.707] (II) Module "dri2" already built-in
[    32.707] (II) NVIDIA(0): [DRI2] Setup complete
[    32.707] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    32.711] (II) NVIDIA(1): ACPI: failed to connect to the ACPI event daemon; the daemon
[    32.711] (II) NVIDIA(1):     may not be running or the "AcpidSocketPath" X
[    32.711] (II) NVIDIA(1):     configuration option may not be set correctly.  When the
[    32.711] (II) NVIDIA(1):     ACPI event daemon is available, the NVIDIA X driver will
[    32.711] (II) NVIDIA(1):     try to use it to receive ACPI event notifications.  For
[    32.711] (II) NVIDIA(1):     details, please see the "ConnectToAcpid" and
[    32.711] (II) NVIDIA(1):     "AcpidSocketPath" X configuration options in Appendix B: X
[    32.711] (II) NVIDIA(1):     Config Options in the README.
[    32.735] (II) NVIDIA(1): Setting mode "NULL"
[    32.740] (==) NVIDIA(1): Disabling shared memory pixmaps
[    32.740] (==) NVIDIA(1): Backing store enabled
[    32.740] (==) NVIDIA(1): Silken mouse enabled
[    32.740] (**) NVIDIA(1): DPMS enabled
[    32.740] (WW) NVIDIA(1): Option "PrimaryGpu" is not used
[    32.740] (II) Loading sub module "dri2"
[    32.740] (II) LoadModule: "dri2"
[    32.740] (II) Module "dri2" already built-in
[    32.740] (II) NVIDIA(1): [DRI2] Setup complete
[    32.740] (II) NVIDIA(1): [DRI2]   VDPAU driver: nvidia
[    32.740] (II) Initializing extension Generic Event Extension
[    32.740] (II) Initializing extension SHAPE
[    32.740] (II) Initializing extension MIT-SHM
[    32.740] (II) Initializing extension XInputExtension
[    32.741] (II) Initializing extension XTEST
[    32.741] (II) Initializing extension BIG-REQUESTS
[    32.741] (II) Initializing extension SYNC
[    32.741] (II) Initializing extension XKEYBOARD
[    32.741] (II) Initializing extension XC-MISC
[    32.741] (II) Initializing extension SECURITY
[    32.741] (II) Initializing extension XFIXES
[    32.741] (II) Initializing extension RENDER
[    32.742] (II) Initializing extension RANDR
[    32.742] (II) Initializing extension COMPOSITE
[    32.742] (II) Initializing extension DAMAGE
[    32.742] (II) Initializing extension MIT-SCREEN-SAVER
[    32.742] (II) Initializing extension DOUBLE-BUFFER
[    32.742] (II) Initializing extension RECORD
[    32.742] (II) Initializing extension DPMS
[    32.742] (II) Initializing extension Present
[    32.743] (II) Initializing extension DRI3
[    32.743] (II) Initializing extension X-Resource
[    32.743] (II) Initializing extension XVideo
[    32.743] (II) Initializing extension XVideo-MotionCompensation
[    32.743] (II) Initializing extension SELinux
[    32.743] (II) SELinux: Disabled on system
[    32.743] (II) Initializing extension XFree86-VidModeExtension
[    32.743] (II) Initializing extension XFree86-DGA
[    32.743] (II) Initializing extension XFree86-DRI
[    32.743] (II) Initializing extension DRI2
[    32.743] (II) Initializing extension GLX
[    32.743] (II) Initializing extension GLX
[    32.743] (II) Initializing extension NV-GLX
[    32.743] (II) Initializing extension NV-CONTROL
[    32.977] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[    32.977] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    32.977] (**) Power Button: Applying InputClass "system-keyboard"
[    32.977] (II) LoadModule: "evdev"
[    32.978] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[    32.978] (II) Module evdev: vendor="X.Org Foundation"
[    32.978]    compiled for 1.20.1, module version = 2.10.6
[    32.978]    Module class: X.Org XInput Driver
[    32.978]    ABI class: X.Org XInput driver, version 24.1
[    32.978] (II) Using input driver 'evdev' for 'Power Button'
[    32.978] (**) Power Button: always reports core events
[    32.978] (**) evdev: Power Button: Device: "/dev/input/event0"
[    32.978] (--) evdev: Power Button: Vendor 0 Product 0x1
[    32.978] (--) evdev: Power Button: Found keys
[    32.978] (II) evdev: Power Button: Configuring as keyboard
[    32.978] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0/event0"
[    32.978] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    32.978] (**) Option "xkb_rules" "evdev"
[    32.978] (**) Option "xkb_layout" "us"
[    32.978] (II) config/udev: Adding input device American Megatrends Inc. Virtual Keyboard and Mouse (/dev/input/event1)
[    32.978] (**) American Megatrends Inc. Virtual Keyboard and Mouse: Applying InputClass "evdev keyboard catchall"
[    32.978] (**) American Megatrends Inc. Virtual Keyboard and Mouse: Applying InputClass "system-keyboard"
[    32.978] (II) Using input driver 'evdev' for 'American Megatrends Inc. Virtual Keyboard and Mouse'
[    32.978] (**) American Megatrends Inc. Virtual Keyboard and Mouse: always reports core events
[    32.978] (**) evdev: American Megatrends Inc. Virtual Keyboard and Mouse: Device: "/dev/input/event1"
[    32.978] (--) evdev: American Megatrends Inc. Virtual Keyboard and Mouse: Vendor 0x46b Product 0xff10
[    32.978] (--) evdev: American Megatrends Inc. Virtual Keyboard and Mouse: Found keys
[    32.979] (II) evdev: American Megatrends Inc. Virtual Keyboard and Mouse: Configuring as keyboard
[    32.979] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14.4/1-14.4:1.0/input/input1/event1"
[    32.979] (II) XINPUT: Adding extended input device "American Megatrends Inc. Virtual Keyboard and Mouse" (type: KEYBOARD, id 7)
[    32.979] (**) Option "xkb_rules" "evdev"
[    32.979] (**) Option "xkb_layout" "us"
[    32.979] (II) config/udev: Adding input device American Megatrends Inc. Virtual Keyboard and Mouse (/dev/input/event2)
[    32.979] (**) American Megatrends Inc. Virtual Keyboard and Mouse: Applying InputClass "evdev pointer catchall"
[    32.979] (II) Using input driver 'evdev' for 'American Megatrends Inc. Virtual Keyboard and Mouse'
[    32.979] (**) American Megatrends Inc. Virtual Keyboard and Mouse: always reports core events
[    32.979] (**) evdev: American Megatrends Inc. Virtual Keyboard and Mouse: Device: "/dev/input/event2"
[    33.030] (--) evdev: American Megatrends Inc. Virtual Keyboard and Mouse: Vendor 0x46b Product 0xff10
[    33.030] (--) evdev: American Megatrends Inc. Virtual Keyboard and Mouse: Found 3 mouse buttons
[    33.030] (--) evdev: American Megatrends Inc. Virtual Keyboard and Mouse: Found scroll wheel(s)
[    33.030] (--) evdev: American Megatrends Inc. Virtual Keyboard and Mouse: Found relative axes
[    33.030] (--) evdev: American Megatrends Inc. Virtual Keyboard and Mouse: Found absolute axes
[    33.030] (--) evdev: American Megatrends Inc. Virtual Keyboard and Mouse: Found x and y absolute axes
[    33.030] (--) evdev: American Megatrends Inc. Virtual Keyboard and Mouse: Found absolute touchscreen
[    33.030] (II) evdev: American Megatrends Inc. Virtual Keyboard and Mouse: Configuring as touchscreen
[    33.030] (II) evdev: American Megatrends Inc. Virtual Keyboard and Mouse: Adding scrollwheel support
[    33.030] (**) evdev: American Megatrends Inc. Virtual Keyboard and Mouse: YAxisMapping: buttons 4 and 5
[    33.030] (**) evdev: American Megatrends Inc. Virtual Keyboard and Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    33.030] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14.4/1-14.4:1.1/input/input2/event2"
[    33.030] (II) XINPUT: Adding extended input device "American Megatrends Inc. Virtual Keyboard and Mouse" (type: TOUCHSCREEN, id 8)
[    33.030] (WW) evdev: American Megatrends Inc. Virtual Keyboard and Mouse: touchpads, tablets and touchscreens ignore relative axes.
[    33.030] (II) evdev: American Megatrends Inc. Virtual Keyboard and Mouse: initialized for absolute axes.
[    33.030] (**) American Megatrends Inc. Virtual Keyboard and Mouse: (accel) keeping acceleration scheme 1
[    33.030] (**) American Megatrends Inc. Virtual Keyboard and Mouse: (accel) acceleration profile 0
[    33.030] (**) American Megatrends Inc. Virtual Keyboard and Mouse: (accel) acceleration factor: 2.000
[    33.030] (**) American Megatrends Inc. Virtual Keyboard and Mouse: (accel) acceleration threshold: 4
[    33.030] (II) config/udev: Adding input device American Megatrends Inc. Virtual Keyboard and Mouse (/dev/input/js0)
[    33.030] (II) No input driver specified, ignoring this device.
[    33.030] (II) This device may have been added with another device file.
[    33.030] (II) config/udev: Adding input device American Megatrends Inc. Virtual Keyboard and Mouse (/dev/input/mouse0)
[    33.030] (II) No input driver specified, ignoring this device.
[    33.030] (II) This device may have been added with another device file.
[    33.030] (II) config/udev: Adding input device PC Speaker (/dev/input/event3)
[    33.030] (II) No input driver specified, ignoring this device.
[    33.030] (II) This device may have been added with another device file.
[    33.036] AUDIT: Tue Apr 19 21:43:40 2022: 2188: client 1 connected from local host ( uid=0 gid=0 pid=2883 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    33.036] AUDIT: Tue Apr 19 21:43:40 2022: 2188: client 1 disconnected
[    33.038] AUDIT: Tue Apr 19 21:43:40 2022: 2188: client 1 connected from local host ( uid=0 gid=0 pid=2884 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    33.038] AUDIT: Tue Apr 19 21:43:40 2022: 2188: client 1 disconnected
[    33.040] AUDIT: Tue Apr 19 21:43:40 2022: 2188: client 1 connected from local host ( uid=0 gid=0 pid=2886 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    33.040] AUDIT: Tue Apr 19 21:43:40 2022: 2188: client 1 disconnected
[    33.043] AUDIT: Tue Apr 19 21:43:40 2022: 2188: client 1 connected from local host ( uid=0 gid=0 pid=2127 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    33.124] AUDIT: Tue Apr 19 21:43:40 2022: 2188: client 2 connected from local host ( uid=42 gid=42 pid=2894 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    33.189] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 3 connected from local host ( uid=42 gid=42 pid=2899 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    33.204] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 4 connected from local host ( uid=42 gid=42 pid=2901 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    33.237] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 5 connected from local host ( uid=42 gid=42 pid=2901 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    33.237] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 5 disconnected
[    33.240] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 5 connected from local host ( uid=42 gid=42 pid=2903 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    33.240] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 5 disconnected
[    33.246] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 5 connected from local host ( uid=42 gid=42 pid=2903 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    33.246] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 5 disconnected
[    33.250] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 5 connected from local host ( uid=42 gid=42 pid=2911 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    33.250] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 6 connected from local host ( uid=42 gid=42 pid=2910 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    33.250] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 6 disconnected
[    33.251] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 6 connected from local host ( uid=42 gid=42 pid=2910 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    33.458] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 5 disconnected
[    33.465] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 4 disconnected
[    33.919] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 4 connected from local host ( uid=42 gid=42 pid=2930 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    33.953] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 5 connected from local host ( uid=42 gid=42 pid=2930 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    33.953] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 5 disconnected
[    34.060] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 5 connected from local host ( uid=42 gid=42 pid=2930 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    34.065] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 7 connected from local host ( uid=42 gid=42 pid=2930 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    34.066] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 7 disconnected
[    34.106] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 7 connected from local host ( uid=42 gid=42 pid=2930 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    34.106] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 7 disconnected
[    34.117] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 7 connected from local host ( uid=42 gid=42 pid=2960 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    34.117] AUDIT: Tue Apr 19 21:43:41 2022: 2188: client 7 disconnected
[    34.943] AUDIT: Tue Apr 19 21:43:42 2022: 2188: client 7 connected from local host ( uid=42 gid=42 pid=3024 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    34.948] AUDIT: Tue Apr 19 21:43:42 2022: 2188: client 8 connected from local host ( uid=42 gid=42 pid=3024 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    34.948] AUDIT: Tue Apr 19 21:43:42 2022: 2188: client 8 disconnected
[    35.187] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 8 connected from local host ( uid=42 gid=42 pid=2930 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    35.187] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 8 disconnected
[    35.253] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 8 connected from local host ( uid=42 gid=42 pid=3054 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    35.254] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 9 connected from local host ( uid=42 gid=42 pid=3057 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    35.258] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 10 connected from local host ( uid=42 gid=42 pid=3054 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    35.258] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 10 disconnected
[    35.259] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 10 connected from local host ( uid=42 gid=42 pid=3057 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    35.259] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 10 disconnected
[    35.259] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 10 connected from local host ( uid=42 gid=42 pid=3058 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    35.260] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 11 connected from local host ( uid=42 gid=42 pid=3065 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    35.263] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 12 connected from local host ( uid=42 gid=42 pid=3058 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    35.263] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 12 disconnected
[    35.264] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 12 connected from local host ( uid=42 gid=42 pid=3065 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    35.264] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 12 disconnected
[    35.265] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 12 connected from local host ( uid=42 gid=42 pid=3068 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    35.265] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 13 connected from local host ( uid=42 gid=42 pid=3072 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    35.269] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 14 connected from local host ( uid=42 gid=42 pid=3054 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    35.269] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 14 disconnected
[    35.270] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 14 connected from local host ( uid=42 gid=42 pid=3068 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    35.270] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 15 connected from local host ( uid=42 gid=42 pid=3072 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    35.270] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 14 disconnected
[    35.270] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 15 disconnected
[    35.272] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 14 connected from local host ( uid=42 gid=42 pid=3094 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    35.276] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 15 connected from local host ( uid=42 gid=42 pid=3094 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    35.276] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 15 disconnected
[    35.279] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 15 connected from local host ( uid=42 gid=42 pid=3054 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    35.279] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 15 disconnected
[    35.286] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 15 connected from local host ( uid=42 gid=42 pid=3130 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    35.287] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 16 connected from local host ( uid=42 gid=42 pid=3129 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    35.287] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 15 disconnected
[    35.287] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 16 disconnected
[    35.347] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 15 connected from local host ( uid=42 gid=42 pid=3068 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    35.347] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 15 disconnected
[    35.391] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 15 connected from local host ( uid=42 gid=42 pid=3054 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 871
[    35.392] AUDIT: Tue Apr 19 21:43:43 2022: 2188: client 15 disconnected
[    83.617] (II) NVIDIA(0): Setting mode "NULL"
[    83.617] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[    83.617] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[    83.617] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[    83.617] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[    83.617] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[    83.617] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[    83.617] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[    83.617] (II) NVIDIA(0):     Config Options in the README.
[    83.632] (II) NVIDIA(1): Setting mode "NULL"
[    83.632] (II) NVIDIA(1): ACPI: failed to connect to the ACPI event daemon; the daemon
[    83.632] (II) NVIDIA(1):     may not be running or the "AcpidSocketPath" X
[    83.632] (II) NVIDIA(1):     configuration option may not be set correctly.  When the
[    83.632] (II) NVIDIA(1):     ACPI event daemon is available, the NVIDIA X driver will
[    83.632] (II) NVIDIA(1):     try to use it to receive ACPI event notifications.  For
[    83.632] (II) NVIDIA(1):     details, please see the "ConnectToAcpid" and
[    83.632] (II) NVIDIA(1):     "AcpidSocketPath" X configuration options in Appendix B: X
[    83.632] (II) NVIDIA(1):     Config Options in the README.
[    87.552] (II) NVIDIA(0): Setting mode "NULL"

xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 390.116  (buildmeister@swio-display-x64-rhel04-14)  Sun Jan 27 07:47:55 PST 2019


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    Screen      1  "Screen1" RightOf "Screen0"
    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/input/mice"
    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"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Graphics Device"
    BusID          "PCI:59:0:0"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Graphics Device"
    BusID          "PCI:134:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AllowEmptyInitialConfiguration" "True"
    Option         "UseDisplayDevice" "None"
    SubSection     "Display"
        Virtual     1920 1200
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "AllowEmptyInitialConfiguration" "True"
    Option         "UseDisplayDevice" "None"
    SubSection     "Display"
        Virtual     1920 1200
        Depth       24
    EndSubSection
EndSection

nvidia-bug-report.log.gz (171.8 KB)

Any help is appreciated!

I found this in the forum. So maybe its not possible to get the GUI working?

That has nothing to do with your issue, also it’s possible but fiddly.

I don’t know what you did so far but I guess that you simply ran vncserver and then connected to it, then you saw a black screen. Correct?
vncserver does not connect to the real Xserver running on the nvidia gpu but spawns a virtual Xserver running in software. Without further config, this won’t run a desktop or anything but you will see a naked Xserver, a black screen.
If you want to connect to the real Xserver, you’d have to use x11vnc/vnc0server.

Thanks for the reply.

I guess that you simply ran vncserver and then connected to it, then you saw a black screen. Correct?

Yes that’s exactly what I did.

I will have a try with x11vnc/vnc0server. Cheers!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.