Several issues with 396.24 under CentOS 7

Hi community,

We have several issues with the drivers 396.24 under CentOS 7. I have to admit that I’m not a Linux specialist, so forgive my detailed explanations below.

I have a Dell server, running CentOS 7/Linux kernel 3.10.0-693.17.1.el7.x86_64. It came with an onboard graphic chip. There is no screen connecteded, and I only connect remote (from Wndows via MobaXTerm) to the machine. I run a lot of MatLAB, and what to make use of GLX/direct rendering. That’s why we bought a Quadro M2000, more than one year ago. We never got it to work with the NVIDIA drivers, nouveau, or elrepo driver way back then. Recently we gave it another shot with the 396.24 drivers. This was installed by a part time sysadmin.I also think that all elrepo-stuff was removed.

Additionally, I updated the xorg.conf file to direct it to the correct card (via BusID option), and blacklisted (via install […] /bin/false) both the nouveau and mgag200 modules (the latter one is for the onboard chip). After these changes, the following issues persist:

  1. nvidia-settings does not come up, but reports “ERROR: Unable to load info from any available system”
  2. nvidia-smi seems to show that that the card is up and running (output attached). The installer log file (attached) reports that “libGLX” cannot be found, although the files (.so, .so.0) are in /usr/lib and /usr/lib64.
  3. glxinfo says “direct rendering: NO” (output attached), and no nvidia vendor string for the server side. Also, when I start matlab it tells me “Software OpenGL is used”. The client parts of glxinfo show my local (Windows) configuration.
  4. The machine comes up in runlevel 3, but can be manually switched to 5

In essence, it is confusing since I’m not even 100% sure that the drivers are working (nvidia-smi seems to show so, but why is nvidia-settings not working?), and I never know for sure how much I’m influenced by the remote connection. I just want to get GLX/direct rendering to work.

Any comments and advice is highly appreciated. I attach a couple of log and config files.

Thank you very much,

Michael


  1. nvidia-installer log
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Aug 17 15:12:48 2018
installer version: 396.24

PATH: /sbin:/bin:/usr/sbin:/usr/bin

nvidia-installer command line:
    ./nvidia-installer

Unable to load: nvidia-installer ncurses v6 user interface

Using: nvidia-installer ncurses user interface
-> Detected 112 CPUs online; setting concurrency level to 32.
-> Installing NVIDIA driver version 396.24.
-> Performing CC sanity check with CC="/bin/cc".
-> Kernel source path: '/lib/modules/3.10.0-693.17.1.el7.x86_64/source'
-> Kernel output path: '/lib/modules/3.10.0-693.17.1.el7.x86_64/build'
-> Performing Compiler check.
-> Performing Dom0 check.
-> Performing Xen check.
-> Performing PREEMPT_RT check.
-> Performing vgpu_kvm check.
-> Cleaning kernel module build directory.
   executing: 'cd ./kernel; /bin/make -k -j32 clean NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/3.10.0-693.17.1.el7.x86_64/source" SYSOUT="/lib/modules/3.10.0-693.17.1.el7.x86_64/build"'...
   rm -f -r conftest
   make[1]: Entering directory `/usr/src/kernels/3.10.0-693.17.1.el7.x86_64'
   make[1]: Leaving directory `/usr/src/kernels/3.10.0-693.17.1.el7.x86_64'
-> Building kernel modules
   executing: 'cd ./kernel; /bin/make -k -j32  NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/3.10.0-693.17.1.el7.x86_64/source" SYSOUT="/lib/modules/3.10.0-693.17.1.el7.x86_64/build"'...
   make[1]: Entering directory `/usr/src/kernels/3.10.0-693.17.1.el7.x86_64'
     SYMLINK /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-modeset/nv-modeset-kernel.o
     SYMLINK /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-kernel.o
    CONFTEST: INIT_WORK
    CONFTEST: remap_pfn_range
    CONFTEST: hash__remap_4k_pfn
    CONFTEST: follow_pfn
    CONFTEST: vmap
    CONFTEST: set_pages_uc
    CONFTEST: set_memory_uc
    CONFTEST: set_memory_array_uc
    CONFTEST: change_page_attr
    CONFTEST: pci_get_class
    CONFTEST: pci_choose_state
    CONFTEST: vm_insert_page
    CONFTEST: acpi_device_id
    CONFTEST: console_lock
    CONFTEST: acquire_console_sem
    CONFTEST: kmem_cache_create
    CONFTEST: acpi_evaluate_integer
    CONFTEST: on_each_cpu
    CONFTEST: ioremap_cache
    CONFTEST: smp_call_function
    CONFTEST: ioremap_wc
    CONFTEST: acpi_walk_namespace
    CONFTEST: pci_domain_nr
    CONFTEST: pci_dma_mapping_error
    CONFTEST: sg_alloc_table
    CONFTEST: sg_init_table
    CONFTEST: get_num_physpages
    CONFTEST: efi_enabled
    CONFTEST: pci_get_domain_bus_and_slot
    CONFTEST: proc_create_data
    CONFTEST: pde_data
    CONFTEST: proc_remove
    CONFTEST: pm_vt_switch_required
    CONFTEST: xen_ioemu_inject_msi
    CONFTEST: phys_to_dma
    CONFTEST: get_dma_ops
    CONFTEST: write_cr4
    CONFTEST: of_get_property
    CONFTEST: of_find_node_by_phandle
    CONFTEST: of_node_to_nid
    CONFTEST: pnv_pci_get_npu_dev
    CONFTEST: of_get_ibm_chip_id
    CONFTEST: for_each_online_node
    CONFTEST: node_end_pfn
    CONFTEST: pci_remove_bus_device
    CONFTEST: pci_bus_address
    CONFTEST: pci_stop_and_remove_bus_device
    CONFTEST: request_threaded_irq
    CONFTEST: register_cpu_notifier
    CONFTEST: cpuhp_setup_state
    CONFTEST: dma_map_resource
    CONFTEST: backlight_device_register
    CONFTEST: timer_setup
    CONFTEST: register_acpi_notifier
    CONFTEST: remap_page_range
    CONFTEST: address_space_init_once
    CONFTEST: kbasename
    CONFTEST: fatal_signal_pending
    CONFTEST: list_cut_position
    CONFTEST: vzalloc
    CONFTEST: wait_on_bit_lock_argument_count
    CONFTEST: bitmap_clear
    CONFTEST: usleep_range
    CONFTEST: radix_tree_empty
    CONFTEST: radix_tree_replace_slot
    CONFTEST: pnv_npu2_init_context
    CONFTEST: drm_dev_unref
    CONFTEST: drm_reinit_primary_mode_group
    CONFTEST: drm_atomic_set_mode_for_crtc
    CONFTEST: drm_atomic_clean_old_fb
    CONFTEST: get_user_pages_remote
    CONFTEST: get_user_pages
    CONFTEST: drm_gem_object_lookup
    CONFTEST: drm_atomic_state_free
    CONFTEST: drm_driver_has_gem_prime_res_obj
    CONFTEST: drm_atomic_helper_disable_all
    CONFTEST: drm_atomic_helper_set_config
    CONFTEST: drm_atomic_helper_connector_dpms
    CONFTEST: is_export_symbol_gpl_of_node_to_nid
    CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
    CONFTEST: i2c_adapter
    CONFTEST: pm_message_t
    CONFTEST: irq_handler_t
    CONFTEST: acpi_device_ops
    CONFTEST: acpi_op_remove
    CONFTEST: outer_flush_all
    CONFTEST: proc_dir_entry
    CONFTEST: scatterlist
    CONFTEST: sg_table
    CONFTEST: file_operations
    CONFTEST: vm_operations_struct
    CONFTEST: atomic_long_type
    CONFTEST: pci_save_state
    CONFTEST: file_inode
    CONFTEST: task_struct
    CONFTEST: kuid_t
    CONFTEST: dma_ops
    CONFTEST: dma_map_ops
    CONFTEST: noncoherent_swiotlb_dma_ops
    CONFTEST: vm_fault_present
    CONFTEST: vm_fault_has_address
    CONFTEST: backlight_properties_type
    CONFTEST: fault_flags
    CONFTEST: atomic64_type
    CONFTEST: address_space
    CONFTEST: backing_dev_info
    CONFTEST: mm_context_t
    CONFTEST: vm_ops_fault_removed_vma_arg
    CONFTEST: drm_bus_present
    CONFTEST: drm_bus_has_bus_type
    CONFTEST: drm_bus_has_get_irq
    CONFTEST: drm_bus_has_get_name
    CONFTEST: drm_driver_has_legacy_dev_list
    CONFTEST: drm_driver_has_set_busid
    CONFTEST: drm_crtc_state_has_connectors_changed
    CONFTEST: drm_init_function_args
    CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg
    CONFTEST: drm_helper_mode_fill_fb_struct
    CONFTEST: drm_master_drop_has_from_release_arg
    CONFTEST: drm_driver_unload_has_int_return_type
    CONFTEST: kref_has_refcount_of_type_refcount_t
    CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
    CONFTEST: drm_crtc_helper_funcs_has_atomic_enable
    CONFTEST: drm_old_atomic_state_iterators_present
    CONFTEST: drm_mode_object_find_has_file_priv_arg
    CONFTEST: dom0_kernel_present
    CONFTEST: nvidia_vgpu_kvm_build
    CONFTEST: nvidia_grid_build
    CONFTEST: drm_available
    CONFTEST: drm_atomic_available
    CONFTEST: drm_atomic_modeset_nonblocking_commit_available
    CONFTEST: is_export_symbol_gpl_refcount_inc
    CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-drm/nvidia-drm.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-drm/nvidia-drm-drv.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-drm/nvidia-drm-utils.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-drm/nvidia-drm-crtc.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-drm/nvidia-drm-encoder.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-drm/nvidia-drm-connector.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-drm/nvidia-drm-gem.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-drm/nvidia-drm-fb.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-drm/nvidia-drm-modeset.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-drm/nvidia-drm-prime-fence.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-drm/nvidia-drm-linux.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-drm/nvidia-drm-helper.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-drm/nv-pci-table.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-drm/nvidia-drm-gem-user-memory.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-modeset/nvidia-modeset-linux.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm_utils.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm_common.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm_linux.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/nvstatus.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/nvCpuUuid.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_tools.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_global.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_gpu.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_gpu_isr.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_procfs.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_va_space.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_va_space_mm.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_gpu_semaphore.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_mem.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_rm_mem.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_channel.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_lock.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_hal.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_range_tree.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_range_allocator.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_va_range.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_va_block.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_range_group.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_gpu_access_counters.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_perf_events.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_perf_module.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_mmu.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_pte_batch.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_tlb_batch.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_push.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_pushbuffer.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_thread_context.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_tracker.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_kepler.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_kepler_ce.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_kepler_host.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_kepler_mmu.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_maxwell.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_maxwell_host.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_pascal.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_pascal_ce.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_pascal_host.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_pascal_mmu.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_volta_host.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_volta_mmu.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_volta.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_volta_fault_buffer.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_policy.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_perf_utils.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_kvmalloc.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_pmm_sysmem.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_pmm_gpu.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_migrate.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_map_external.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_user_channel.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_hmm.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_perf_heuristics.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_perf_thrashing.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_perf_prefetch.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_ats_ibm.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_ats_faults.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_test_rng.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_range_tree_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_range_allocator_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_mem_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_rm_mem_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_page_tree_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_tracker_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_push_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_channel_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_ce_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_lock_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_perf_utils_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_kvmalloc_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_pmm_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_perf_events_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_perf_module_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_mmu_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_va_block_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm/uvm8_range_group_tree_test.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-frontend.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-instance.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-acpi.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-chrdev.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-cray.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-dma.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-gvi.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-i2c.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-mempool.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-mmap.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-p2p.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-pat.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-procfs.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-usermap.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-vm.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-vtophys.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/os-interface.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/os-mlock.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/os-pci.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/os-registry.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/os-usermap.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-modeset-interface.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-pci-table.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-kthread-q.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-kthread-q-selftest.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-memdbg.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-ibmnpu.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-report-err.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-rsync.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv_uvm_interface.o
     CC [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nvlink_linux.o
   ld -r -o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-modeset/nv-modeset-interface.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-modeset/nvidia-modeset-linux.o
     LD [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia.o
     LD [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm.o
     LD [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-modeset.o
   ld -r -o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-interface.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-frontend.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-instance.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/ke
   rnel/nvidia/nv.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-acpi.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-chrdev.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-cray.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-dma.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-gvi.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-i2c.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-mempool.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-mmap.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-p2p.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-pat.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-procfs.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-usermap.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-vm.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-vtophys.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kerne
   l/nvidia/os-interface.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/os-mlock.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/os-pci.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/os-registry.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/os-usermap.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-modeset-interface.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-pci-table.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-kthread-q.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-kthread-q-selftest.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-memdbg.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-ibmnpu.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-report-err.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv-rsync.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia/nv_uvm_interface.o /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/n
   vidia/nvlink_linux.o
     LD [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-drm.o
     Building modules, stage 2.
     MODPOST 4 modules
     CC      /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-drm.mod.o
     CC      /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-modeset.mod.o
     CC      /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm.mod.o
     CC      /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia.mod.o
     LD [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-drm.ko
     LD [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-modeset.ko
     LD [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia-uvm.ko
     LD [M]  /tmp/selfgz71430/NVIDIA-Linux-x86_64-396.24/kernel/nvidia.ko
   make[1]: Leaving directory `/usr/src/kernels/3.10.0-693.17.1.el7.x86_64'
-> done.
-> Kernel module compilation complete.
-> Unable to determine if Secure Boot is enabled: No such file or directory
-> Kernel messages:
[   27.279031] socperf2_0: SocPerf Driver about to register chrdev...
[   27.279034] socperf2_0: SocPerf Driver: result of alloc_chrdev_region is 0
[   27.279035] socperf2_0: SocPerf Driver: major number is 239
[   27.279037] socperf2_0: SocPerf Driver: detected 112 CPUs in lwpmudrv_Load
[   27.279040] socperf2_0: SocPerf Driver v2.0.0 has been loaded.
[   28.300925] sep4_0: PMU collection driver v4.0.0 has been loaded.
[   28.300930] sep4_0: Chipset support is enabled.
[   28.300931] sep4_0: Graphics support is enabled.
[   28.300933] sep4_0: IDT vector 0x21 will be used for handling PMU interrupts.
[   31.806505] vtss++ kernel module ("v1.8.73-486011 Intel(R) VTune(TM) Amplifier") registered
[  446.852663] nvidia 0000:41:00.0: irq 160 for MSI/MSI-X
[ 1306.287227] [drm] [nvidia-drm] [GPU ID 0x00004100] Unloading driver
[ 1306.305521] nvidia-modeset: Unloading
[ 1306.320076] nvidia-nvlink: Unregistered the Nvlink Core, major device number 243
[ 1318.399021] VFIO - User Level meta-driver version: 0.3
[ 1318.462023] nvidia-nvlink: Nvlink Core is being initialized, major device number 235
[ 1318.462827] vgaarb: device changed decodes: PCI:0000:41:00.0,olddecodes=none,decodes=none:owns=none
[ 1318.463141] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  396.24  Thu Apr 26 00:10:09 PDT 2018 (using threaded interrupts)
[ 1318.486364] nvidia-uvm: Loaded the UVM driver in 8 mode, major device number 234
[ 1318.491755] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  396.24  Wed Apr 25 23:54:18 PDT 2018
[ 1318.495712] [drm] [nvidia-drm] [GPU ID 0x00004100] Loading driver
[ 1318.499470] [drm] [nvidia-drm] [GPU ID 0x00004100] Unloading driver
[ 1318.504633] nvidia-modeset: Unloading
[ 1318.510305] nvidia-uvm: Unloaded the UVM driver in 8 mode
[ 1318.514632] nvidia-nvlink: Unregistered the Nvlink Core, major device number 235
-> Installing both new and classic TLS OpenGL libraries.
-> Installing both new and classic TLS 32bit OpenGL libraries.
-> Install NVIDIA's 32-bit compatibility libraries? (Answer: Yes)
-> Will install GLVND GLX client libraries.
-> Will install GLVND EGL client libraries.
-> Skipping GLX non-GLVND file: "libGL.so.396.24"
-> Skipping GLX non-GLVND file: "libGL.so.1"
-> Skipping GLX non-GLVND file: "libGL.so"
-> Skipping EGL non-GLVND file: "libEGL.so.396.24"
-> Skipping EGL non-GLVND file: "libEGL.so"
-> Skipping EGL non-GLVND file: "libEGL.so.1"
-> Skipping GLX non-GLVND file: "./32/libGL.so.396.24"
-> Skipping GLX non-GLVND file: "libGL.so.1"
-> Skipping GLX non-GLVND file: "libGL.so"
-> Skipping EGL non-GLVND file: "./32/libEGL.so.396.24"
-> Skipping EGL non-GLVND file: "libEGL.so"
-> Skipping EGL non-GLVND file: "libEGL.so.1"
Looking for install checker script at ./libglvnd_install_checker/check-libglvnd-install.sh
   executing: '/bin/sh ./libglvnd_install_checker/check-libglvnd-install.sh'...
   Checking for libglvnd installation.
   Checking libGLdispatch...
   Checking libGLdispatch dispatch table
   Checking call through libGLdispatch
   All OK
   libGLdispatch is OK
   Checking for libGLX
   Can't load libGLX from libGLX.so.0: libGLX.so.0: cannot open shared object file: No such file or directory
   Checking for libEGL
   eglInitialize failed
   Checking entrypoint library libOpenGL.so.0
   Checking call through libGLdispatch
   Checking call through library libOpenGL.so.0
   All OK
   Entrypoint library libOpenGL.so.0 is OK
   Checking entrypoint library libGL.so.1
   Checking call through libGLdispatch
   Checking call through library libGL.so.1
   glGetString was not called
   
   Found libglvnd libraries: libOpenGL.so.0 libGLdispatch.so.0 
   Missing libglvnd libraries: libGL.so.1 libEGL.so.1 libGLX.so.0 
   
-> An incomplete installation of libglvnd was found. Do you want to install a full copy of libglvnd? This will overwrite any existing libglvnd libraries. (Answer: Install and overwrite existing files)
Will install libglvnd libraries.
Will install libEGL vendor library config file to /usr/share/glvnd/egl_vendor.d
-> Searching for conflicting files:
-> done.
-> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86_64' (396.24):
   executing: '/sbin/ldconfig'...
   executing: '/sbin/depmod -a '...
-> done.
-> Driver file installation is complete.
-> Running post-install sanity check:
-> done.
-> Post-install sanity check passed.
-> Running runtime sanity check:
-> done.
-> Runtime sanity check passed.
-> Would you like to run the nvidia-xconfig utility to automatically update your X configuration file so that the NVIDIA X driver will be used when you restart X?  Any pre-existing X configuration file will be backed up. (Answer: Yes)
-> Your X configuration file has been successfully updated.  Installation of the NVIDIA Accelerated Graphics Driver for Linux-x86_64 (version: 396.24) is now complete.

  1. xorg.conf file
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 396.24  (buildmeister@swio-display-x64-rhel04-13)  Thu Apr 26 01:13:52 PDT 2018

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

Section "Files"
    FontPath        "/usr/share/fonts/default/Type1"
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 "Device"
    Identifier     "Device0"
    Driver         "nvidia"	
    BusID          "PCI:65:0:0"
    Option         "AllowEmptyInitialConfiguration" "on"
    VendorName     "NVIDIA Corporation"
EndSection

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

  1. xorg.5.log file
[ 84068.099] 
X.Org X Server 1.17.2
Release Date: 2015-06-16
[ 84068.099] X Protocol Version 11, Revision 0
[ 84068.099] Build Operating System:  2.6.32-573.18.1.el6.x86_64 
[ 84068.099] Current Operating System: Linux vienna.ou.edu 3.10.0-693.17.1.el7.x86_64 #1 SMP Thu Jan 25 20:13:58 UTC 2018 x86_64
[ 84068.099] Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-693.17.1.el7.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
[ 84068.099] Build Date: 06 November 2016  12:43:39AM
[ 84068.099] Build ID: xorg-x11-server 1.17.2-22.el7 
[ 84068.099] Current version of pixman: 0.34.0
[ 84068.099] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 84068.099] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 84068.099] (==) Log file: "/var/log/Xorg.5.log", Time: Sat Aug 18 14:38:14 2018
[ 84068.099] (==) Using config file: "/etc/X11/xorg.conf"
[ 84068.099] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 84068.099] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 84068.099] (==) ServerLayout "Layout0"
[ 84068.099] (**) |-->Screen "Screen0" (0)
[ 84068.099] (**) |   |-->Monitor "Monitor0"
[ 84068.099] (**) |   |-->Device "Device0"
[ 84068.099] (**) |-->Input Device "Keyboard0"
[ 84068.099] (**) |-->Input Device "Mouse0"
[ 84068.099] (==) Automatically adding devices
[ 84068.099] (==) Automatically enabling devices
[ 84068.099] (==) Automatically adding GPU devices
[ 84068.099] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 84068.099] (**) FontPath set to:
	/usr/share/fonts/default/Type1,
	catalogue:/etc/X11/fontpath.d,
	built-ins
[ 84068.099] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 84068.099] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 84068.099] (WW) Disabling Keyboard0
[ 84068.099] (WW) Disabling Mouse0
[ 84068.099] (II) Loader magic: 0x560cc5f1c020
[ 84068.099] (II) Module ABI versions:
[ 84068.099] 	X.Org ANSI C Emulation: 0.4
[ 84068.099] 	X.Org Video Driver: 19.0
[ 84068.099] 	X.Org XInput driver : 21.0
[ 84068.099] 	X.Org Server Extension : 9.0
[ 84068.100] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 84068.100] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 84068.119] (--) PCI:*(0:9:0:0) 102b:0534:1028:06bc rev 0, Mem @ 0x90000000/16777216, 0x91800000/16384, 0x91000000/8388608, BIOS @ 0x????????/131072
[ 84068.119] (--) PCI: (0:65:0:0) 10de:1430:10de:1190 rev 161, Mem @ 0xac000000/16777216, 0xdffe0000000/268435456, 0xdfff0000000/33554432, I/O @ 0x00008000/128, BIOS @ 0x????????/524288
[ 84068.119] (II) LoadModule: "glx"
[ 84068.119] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 84068.124] (II) Module glx: vendor="NVIDIA Corporation"
[ 84068.124] 	compiled for 4.0.2, module version = 1.0.0
[ 84068.124] 	Module class: X.Org Server Extension
[ 84068.124] (II) NVIDIA GLX Module  396.24  Wed Apr 25 23:17:01 PDT 2018
[ 84068.124] (II) LoadModule: "nvidia"
[ 84068.124] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 84068.124] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 84068.124] 	compiled for 4.0.2, module version = 1.0.0
[ 84068.124] 	Module class: X.Org Video Driver
[ 84068.125] (II) NVIDIA dlloader X Driver  396.24  Wed Apr 25 22:53:34 PDT 2018
[ 84068.125] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 84068.125] (++) using VT number 1

[ 84068.126] (EE) No devices detected.
[ 84068.126] (EE) 
Fatal server error:
[ 84068.126] (EE) no screens found(EE) 
[ 84068.126] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[ 84068.126] (EE) Please also check the log file at "/var/log/Xorg.5.log" for additional information.
[ 84068.126] (EE)

  1. Outputs of lspci for the two GPUs:
09:00.0 VGA compatible controller [0300]: Matrox Electronics Systems Ltd. G200eR2 [102b:0534] (prog-if 00 [VGA controller])
41:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM206GL [Quadro M2000] [10de:1430] (rev a1) (prog-if 00 [VGA controller])

41:00.0 VGA compatible controller: NVIDIA Corporation GM206GL [Quadro M2000] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: NVIDIA Corporation Device 1190
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 149
	NUMA node: 1
	Region 0: Memory at ac000000 (32-bit, non-prefetchable) 
	Region 1: Memory at dffe0000000 (64-bit, prefetchable) 
	Region 3: Memory at dfff0000000 (64-bit, prefetchable) 
	Region 5: I/O ports at 8000 
	[virtual] Expansion ROM at ad080000 [disabled] 
	Capabilities: <access denied>
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia

09:00.0 VGA compatible controller: Matrox Electronics Systems Ltd. G200eR2 (prog-if 00 [VGA controller])
	Subsystem: Dell Device 06bc
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64 (4000ns min, 8000ns max), Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 18
	NUMA node: 0
	Region 0: Memory at 90000000 (32-bit, prefetchable) 
	Region 1: Memory at 91800000 (32-bit, non-prefetchable) 
	Region 2: Memory at 91000000 (32-bit, non-prefetchable) 
	Expansion ROM at <unassigned> [disabled]
	Capabilities: <access denied>
	Kernel driver in use: mgag200
	Kernel modules: mgag200

  1. Outputs of glxinfo:
name of display: localhost:10.0
display: localhost:10  screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info, 
    GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGI_make_current_read, GLX_SGI_swap_control
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
    GLX_ARB_context_flush_control, GLX_ARB_create_context, 
    GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile, 
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, 
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_buffer_age, 
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile, 
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB, 
    GLX_EXT_import_context, GLX_EXT_stereo_tree, GLX_EXT_swap_control, 
    GLX_EXT_swap_control_tear, GLX_EXT_texture_from_pixmap, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_NV_copy_buffer, 
    GLX_NV_copy_image, GLX_NV_delay_before_swap, GLX_NV_float_buffer, 
    GLX_NV_multisample_coverage, GLX_NV_present_video, 
    GLX_NV_robustness_video_memory_purge, GLX_NV_swap_group, 
    GLX_NV_video_capture, GLX_NV_video_out, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGI_swap_control
OpenGL vendor string: Intel
OpenGL renderer string: Intel(R) HD Graphics 620
OpenGL version string: 1.4 (4.4.0 - Build 21.20.16.4550)
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program, 
    GL_ARB_fragment_program_shadow, GL_ARB_multisample, GL_ARB_multitexture, 
    GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_point_sprite, 
    GL_ARB_shadow, GL_ARB_texture_border_clamp, GL_ARB_texture_compression, 
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add, 
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar, 
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat, 
    GL_ARB_texture_non_power_of_two, GL_ARB_transpose_matrix, 
    GL_ARB_vertex_program, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, 
    GL_EXT_blend_color, GL_EXT_blend_equation_separate, 
    GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract, 
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_object, 
    GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_rescale_normal, 
    GL_EXT_secondary_color, GL_EXT_separate_specular_color, 
    GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, 
    GL_EXT_texture3D, GL_EXT_texture_compression_s3tc, 
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, 
    GL_EXT_texture_env_combine, GL_EXT_texture_filter_anisotropic, 
    GL_EXT_texture_lod_bias, GL_IBM_texture_mirrored_repeat, 
    GL_NV_blend_square, GL_NV_texgen_reflection, GL_SGIS_generate_mipmap, 
    GL_SGIS_texture_lod

58 GLX Visuals
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x021 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x07c 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x07d 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16  0 0 None
0x07e 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x07f 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x080 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 16  0  0  0  0  0  0 0 None
0x081 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 16  0 16 16 16 16  0 0 None
0x082 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16  0 0 None
0x083 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 16  0 16 16 16 16  0 0 None
0x084 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  2 1 None
0x085 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16  2 1 None
0x086 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 16  0  0  0  0  0  2 1 None
0x087 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 16  0 16 16 16 16  2 1 None
0x088 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  2 1 None
0x089 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  2 1 None
0x08a 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  2 1 None
0x08b 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16  2 1 None
0x08c 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 16  0  0  0  0  0  2 1 None
0x08d 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 16  0 16 16 16 16  2 1 None
0x08e 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  2 1 None
0x08f 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  2 1 None
0x090 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  4 1 None
0x091 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16  4 1 None
0x092 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 16  0  0  0  0  0  4 1 None
0x093 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 16  0 16 16 16 16  4 1 None
0x094 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  4 1 None
0x095 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  4 1 None
0x096 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  4 1 None
0x097 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16  4 1 None
0x098 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 16  0  0  0  0  0  4 1 None
0x099 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 16  0 16 16 16 16  4 1 None
0x09a 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  4 1 None
0x09b 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  4 1 None
0x09c 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  4 1 None
0x09d 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  8 1 None
0x09e 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16  8 1 None
0x09f 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 16  0  0  0  0  0  8 1 None
0x0a0 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 16  0 16 16 16 16  8 1 None
0x0a1 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  8 1 None
0x0a2 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  8 1 None
0x0a3 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  8 1 None
0x0a4 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16  8 1 None
0x0a5 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 16  0  0  0  0  0  8 1 None
0x0a6 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 16  0 16 16 16 16  8 1 None
0x0a7 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  8 1 None
0x0a8 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  8 1 None
0x0a9 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0 16 1 None
0x0aa 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16 16 1 None
0x0ab 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 16  0  0  0  0  0 16 1 None
0x0ac 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 16  0 16 16 16 16 16 1 None
0x0ad 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0 16 1 None
0x0ae 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16 16 1 None
0x0af 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0 16 1 None
0x0b0 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16 16 1 None
0x0b1 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 16  0  0  0  0  0 16 1 None
0x0b2 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 16  0 16 16 16 16 16 1 None
0x0b3 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0 16 1 None
0x041 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None

58 GLXFBConfigs:
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x042 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x043 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16  0 0 None
0x044 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x045 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x046 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x047 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 16  0  0  0  0  0  0 0 None
0x048 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 16  0 16 16 16 16  0 0 None
0x049 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16  0 0 None
0x04a 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 16  0 16 16 16 16  0 0 None
0x04b 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None
0x04c 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  2 1 None
0x04d 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16  2 1 None
0x04e 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 16  0  0  0  0  0  2 1 None
0x04f 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 16  0 16 16 16 16  2 1 None
0x050 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  2 1 None
0x051 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  2 1 None
0x052 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  2 1 None
0x053 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16  2 1 None
0x054 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 16  0  0  0  0  0  2 1 None
0x055 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 16  0 16 16 16 16  2 1 None
0x056 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  2 1 None
0x057 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  2 1 None
0x058 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  4 1 None
0x059 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16  4 1 None
0x05a 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 16  0  0  0  0  0  4 1 None
0x05b 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 16  0 16 16 16 16  4 1 None
0x05c 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  4 1 None
0x05d 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  4 1 None
0x05e 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  4 1 None
0x05f 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16  4 1 None
0x060 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 16  0  0  0  0  0  4 1 None
0x061 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 16  0 16 16 16 16  4 1 None
0x062 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  4 1 None
0x063 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  4 1 None
0x064 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  4 1 None
0x065 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  8 1 None
0x066 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16  8 1 None
0x067 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 16  0  0  0  0  0  8 1 None
0x068 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 16  0 16 16 16 16  8 1 None
0x069 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  8 1 None
0x06a 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  8 1 None
0x06b 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  8 1 None
0x06c 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16  8 1 None
0x06d 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 16  0  0  0  0  0  8 1 None
0x06e 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 16  0 16 16 16 16  8 1 None
0x06f 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  8 1 None
0x070 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  8 1 None
0x071 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0 16 1 None
0x072 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16 16 1 None
0x073 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 16  0  0  0  0  0 16 1 None
0x074 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 16  0 16 16 16 16 16 1 None
0x075 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0 16 1 None
0x076 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16 16 1 None
0x077 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0 16 1 None
0x078 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16 16 1 None
0x079 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 16  0  0  0  0  0 16 1 None
0x07a 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 16  0 16 16 16 16 16 1 None
0x07b 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0 16 1 None

  1. Output of nvidia-smi
Mon Aug 20 15:28:35 2018       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 396.24                 Driver Version: 396.24                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Quadro M2000        Off  | 00000000:41:00.0 Off |                  N/A |
| 56%   30C    P8     7W /  75W |     24MiB /  4043MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0     28266      G   /usr/bin/Xorg                                 12MiB |
|    0     28354      G   gnome-shell                                    9MiB |
+-----------------------------------------------------------------------------+

You’re using remote X with indirectGL which means that everything is rendered on your client so the server local Nvidia gfx will never be used.
To get that, run an Xserver on the Nvidia, then use x11vnc to share the screen and use any vnc client to connect to it.
e.g. on the server, login as user, create a
~/.xinitrc

x11vnc -forever &
exec gnome-session

then run
startx – :4

Then on your client, use vnc and connect.
Warning: it’s a simple example not using password protection, see x11vnc manual for options. Gnome-shell might be a bit overload in regard to speed, e.g. you could try replacing gnome-session with openbox.

Thanks a lot for reply.

If I do this, I get the error / message:
mbehm@vienna:~$ startx --:4
xauth: file /home/mbehm/.serverauth.45430 does not exist

(EE)
Fatal server error:
(EE) PAM authentication failed, cannot start X server.
Perhaps you do not have console ownership?
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE)

^Cxinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: unexpected signal 2
Couldn’t get a file descriptor referring to the console


So I’m wondering what should I put into the serverauth file? Or is the error related to something else?

I tried to run the same command with as root with sudo in front, then I get the reply

xauth: file /root/.serverauth.45465 does not exist

X.Org X Server 1.17.2
Release Date: 2015-06-16
X Protocol Version 11, Revision 0
Build Operating System: 2.6.32-573.18.1.el6.x86_64
Current Operating System: Linux vienna.ou.edu 3.10.0-693.17.1.el7.x86_64 #1 SMP Thu Jan 25 20:13:58 UTC 2018 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-693.17.1.el7.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
Build Date: 06 November 2016 12:43:39AM
Build ID: xorg-x11-server 1.17.2-22.el7
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: Fri Aug 24 10:46:51 2018
(==) 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”
xterm: bad command line option “–:4”


Final question: Is the error that nvidia-settings does not come up related to this, or something else again (what I suppose)?

Thank you very much

To add, I just realized that /root had no .xinirc file when I did this. However, I like to run the vnc-session as regular user anyway.

There’s a between – and :4 that you’re missing.

startx  --  :4

nvidia-settings only starts when the xserver is running on the nvidia gpu, so it didn’t start before when you where running it in MobaXterm.
About the error message when starting as user, did you log in as root and the su to the user? Then the console is still owned by root, you’ll have to log in as user.

Hmmm…

Yes now it seems to start/run, but ps -adef | grep vnc does not show any vnc server running?

Also, when I try to start VNC session in mobaxterm, I can only specify sever and pw, but not a specific user. So I’m wondering how can I connect to “my” vnc session which I started as a specific user.

nvidia-settings worked (e.g. the GUI came up) before we changed to 396.24, although it did not show the card.

Like said in my first post, this is a simple setup, not password protected. So for now, only the server name is needed to connect.
If everything started up right, in the ssh window where you used startx, the x11vnc messages should be visible like

The VNC desktop is:      host:0
PORT=5900

******************************************************************************
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?

if not, check if the .xinitrc really exists in your home directory.

Thanks again. I need to change the port since our firewall opens ports 5901 to 5910 for VNC only.

.xinitrc does exist, but I still don’t see anything with ps - grep vnc.

Should the successful vnc startup or failure be reported in the xorg - log file?

All messages should be shown in the ssh window. Please post them.

Check if x11vnc is installed at all:
which x11vnc
otherwise, install it.
dnf install x11vnc
or
yum install x11vnc

I’ve installed x11vnc successfully.

When I do startx – :4 now, I get the error message (I’m directly logged in and not via su):

startx – 4:
xauth: file /home/mbehm/.serverauth.52434 does not exist

(EE)
Fatal server error:
(EE) PAM authentication failed, cannot start X server.
Perhaps you do not have console ownership?
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE)

xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn’t get a file descriptor referring to the console

starting x11vnc directly from the command line, I get these reports (and ps - grep vnc still does not show anything):

x11vnc -forever &
[1] 52798
mbehm@vienna:~$ ###############################################################
#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#
#@                                                           @#
#@  **  WARNING  **  WARNING  **  WARNING  **  WARNING  **   @#
#@                                                           @#
#@        YOU ARE RUNNING X11VNC WITHOUT A PASSWORD!!        @#
#@                                                           @#
#@  This means anyone with network access to this computer   @#
#@  may be able to view and control your desktop.            @#
#@                                                           @#
#@ >>> If you did not mean to do this Press CTRL-C now!! <<< @#
#@                                                           @#
#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#
#@                                                           @#
#@  You can create an x11vnc password file by running:       @#
#@                                                           @#
#@       x11vnc -storepasswd password /path/to/passfile      @#
#@  or   x11vnc -storepasswd /path/to/passfile               @#
#@  or   x11vnc -storepasswd                                 @#
#@                                                           @#
#@  (the last one will use ~/.vnc/passwd)                    @#
#@                                                           @#
#@  and then starting x11vnc via:                            @#
#@                                                           @#
#@      x11vnc -rfbauth /path/to/passfile                    @#
#@                                                           @#
#@  an existing ~/.vnc/passwd file from another VNC          @#
#@  application will work fine too.                          @#
#@                                                           @#
#@  You can also use the -passwdfile or -passwd options.     @#
#@  (note -passwd is unsafe if local users are not trusted)  @#
#@                                                           @#
#@  Make sure any -rfbauth and -passwdfile password files    @#
#@  cannot be read by untrusted users.                       @#
#@                                                           @#
#@  Use x11vnc -usepw to automatically use your              @#
#@  ~/.vnc/passwd or ~/.vnc/passwdfile password files.       @#
#@  (and prompt you to create ~/.vnc/passwd if neither       @#
#@  file exists.)  Under -usepw, x11vnc will exit if it      @#
#@  cannot find a password to use.                           @#
#@                                                           @#
#@                                                           @#
#@  Even with a password, the subsequent VNC traffic is      @#
#@  sent in the clear.  Consider tunnelling via ssh(1):      @#
#@                                                           @#
#@    http://www.karlrunge.com/x11vnc/#tunnelling            @#
#@                                                           @#
#@  Or using the x11vnc SSL options: -ssl and -stunnel       @#
#@                                                           @#
#@  Please Read the documention for more info about          @#
#@  passwords, security, and encryption.                     @#
#@                                                           @#
#@    http://www.karlrunge.com/x11vnc/faq.html#faq-passwd    @#
#@                                                           @#
#@  To disable this warning use the -nopw option, or put     @#
#@  'nopw' on a line in your ~/.x11vncrc file.               @#
#@                                                           @#
#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#
###############################################################
24/08/2018 15:39:23 x11vnc version: 0.9.13 lastmod: 2011-08-10  pid: 52798
24/08/2018 15:39:23
24/08/2018 15:39:23 WARNING: DISPLAY starts with localhost: 'localhost:10.0'
24/08/2018 15:39:23 WARNING: Is this an SSH X11 port forwarding?  You most
24/08/2018 15:39:23 WARNING: likely don't want x11vnc to use that DISPLAY.
24/08/2018 15:39:23 WARNING: You probably should supply something
24/08/2018 15:39:23 WARNING: like: -display :0  to access the physical
24/08/2018 15:39:23 WARNING: X display on the machine where x11vnc is running.
24/08/2018 15:39:23
24/08/2018 15:39:24 Using X display localhost:10.0
24/08/2018 15:39:24 rootwin: 0x356 reswin: 0x800001 dpy: 0xce2750
24/08/2018 15:39:24
24/08/2018 15:39:24 ------------------ USEFUL INFORMATION ------------------
24/08/2018 15:39:24 X DAMAGE available on display, using it for polling hints.
24/08/2018 15:39:24   To disable this behavior use: '-noxdamage'
24/08/2018 15:39:24
24/08/2018 15:39:24   Most compositing window managers like 'compiz' or 'beryl'
24/08/2018 15:39:24   cause X DAMAGE to fail, and so you may not see any screen
24/08/2018 15:39:24   updates via VNC.  Either disable 'compiz' (recommended) or
24/08/2018 15:39:24   supply the x11vnc '-noxdamage' command line option.
24/08/2018 15:39:24
24/08/2018 15:39:24 Wireframing: -wireframe mode is in effect for window moves.
24/08/2018 15:39:24   If this yields undesired behavior (poor response, painting
24/08/2018 15:39:24   errors, etc) it may be disabled:
24/08/2018 15:39:24    - use '-nowf' to disable wireframing completely.
24/08/2018 15:39:24    - use '-nowcr' to disable the Copy Rectangle after the
24/08/2018 15:39:24      moved window is released in the new position.
24/08/2018 15:39:24   Also see the -help entry for tuning parameters.
24/08/2018 15:39:24   You can press 3 Alt_L's (Left "Alt" key) in a row to
24/08/2018 15:39:24   repaint the screen, also see the -fixscreen option for
24/08/2018 15:39:24   periodic repaints.
24/08/2018 15:39:24
24/08/2018 15:39:24 XFIXES available on display, resetting cursor mode
24/08/2018 15:39:24   to: '-cursor most'.
24/08/2018 15:39:24   to disable this behavior use: '-cursor arrow'
24/08/2018 15:39:24   or '-noxfixes'.
24/08/2018 15:39:24 using XFIXES for cursor drawing.
24/08/2018 15:39:24 GrabServer control via XTEST.
24/08/2018 15:39:28
24/08/2018 15:39:28 Scroll Detection: -scrollcopyrect mode is in effect to
24/08/2018 15:39:28   use RECORD extension to try to detect scrolling windows
24/08/2018 15:39:28   (induced by either user keystroke or mouse input).
24/08/2018 15:39:28   If this yields undesired behavior (poor response, painting
24/08/2018 15:39:28   errors, etc) it may be disabled via: '-noscr'
24/08/2018 15:39:28   Also see the -help entry for tuning parameters.
24/08/2018 15:39:28   You can press 3 Alt_L's (Left "Alt" key) in a row to
24/08/2018 15:39:28   repaint the screen, also see the -fixscreen option for
24/08/2018 15:39:28   periodic repaints.
24/08/2018 15:39:28
24/08/2018 15:39:28 warning: XShm extension is not available.
24/08/2018 15:39:28 For best performance the X Display should be local. (i.e.
24/08/2018 15:39:28 the x11vnc and X server processes should be running on
24/08/2018 15:39:28 the same machine.)
24/08/2018 15:39:28 Restart with -noshm to override this.

[1]+  Exit 1                  x11vnc -forever
mbehm@vienna:~$ ps
   PID TTY          TIME CMD
 52298 pts/0    00:00:00 bash
 52808 pts/0    00:00:00 ps
mbehm@vienna:~$ ps -adef|grep vnc
mbehm     52811  52298  0 15:39 pts/0    00:00:00 grep --color=auto vnc
mbehm@vienna:~$ ps -adef|grep vnc

Did you login over ssh as user or used su to change from root to user?

No, I login as user.

It is strange because I did not get this message before I’ve installed x11vnc?

Seems that RHEL/Centos has more strict security settings, only allowing on user at a time use the console.
See if this helps:
http://www.pkill-9.com/allowing-user-start-session/

No, I don’t think that is an issue - it worked before I did install x11vnc?

But I get some progress. I started (directly from the command line)

x11vnc -rfbport 5901 -noshm &

and this thime x11vnc stays alive (yeah!), and I can login via mobaxterm VNC. However, I only see the open gedit window (open at the server), I can move the mouse, but keyboard functions or mouse clicks are not reponsive.

There is an old gnome-shell running (at least nvidia-smi is telling me so), but I don’t see any graphic desktop. Remember, I started x11vnc from teh command line and not via startx / .xinitrc.

I also remember in earlier times we had tigerVNC running, and the issue was the same (could see centos login screen, and could navigate the mouse, but no response to keys/clicks).

And I also made some progress with the startx.

Yes, your hint with console ownership was right. I changed this, but now I get a new error. I do “startx – :4” out of runlevel 3, and I’ve removed /tmp/.X4-lock, but still it fails:

xauth: file /home/mbehm/.serverauth.77747 does not exist

_XSERVTransSocketINETCreateListener: …SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
(EE)
Fatal server error:
(EE) Cannot establish any listening sockets - Make sure an X server isn’t already running(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at “/var/log/Xorg.4.log” for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
Invalid MIT-MAGIC-COOKIE-1 keyxinit: giving up
xinit: unable to connect to X server: Resource temporarily unavailable
xinit: server error
Couldn’t get a file descriptor referring to the console

Update: I am now able to start x11vnc and exec gnome-session from the console. Howver, the latter just returns the image “oops - something went wrong - the system can’t recover”, and the VNC response is still the same.

if you used startx – :4 and get the error
Cannot establish any listening sockets - Make sure an X server isn’t already running(EE)
this means there’s already an xserver at :4 running. Stop that or use :5 or else.

I was able to kill the existing X server, and then it works from command line (but using startx does not seem to work, when it loads x11nvc (with “&” specified at teh end of the line), it never returns to the console.
As said, the issues are now the non-working gnome session and the non-response of the vnc screen.

For one of my other issues (nvidia-settings not coming up): Would it help to run nvidia-prime and specify the card explicitely? If so, how can I install nvidia-prime? I tried yum install nvidia-prime, but it does not find the package. Is it in a specific repository?

Thanks again, very much,.

This is of course expected. If you run any application (in this case the xserver) the console will only return to the prompt when the application terminates (logout at the xserver) or you press ctrl+c (thus killing the xserver).
So, if you use the startx method and then connect via vnc, does gnome display the ‘oh no’ message, too?