You are not logged in.

#1 2023-04-24 13:01:33

worbgge
Member
Registered: 2021-07-18
Posts: 48

[solved] Unable to connect to X server: Connection Refused

Hello, recently i got my arch install to boot again after a grub issue but now i'm having an issue with Xorg.

xinit: giving up
xinit: Unable to connect to X server: Connection Refused
xinit: server error

and the log

[  2780.757] 
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
[  2780.757] Current Operating System: Linux alu 6.2.11-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Thu, 13 Apr 2023 16:59:00 +0000 x86_64
[  2780.757] Kernel command line: BOOT_IMAGE=/vmlinuz-linux-zen root=UUID=58c791fe-d539-42e3-a973-66ce32cf4038 rw nvidia-drm.modeset=1 loglevel=3 quiet
[  2780.757]  
[  2780.757] Current version of pixman: 0.42.2
[  2780.757] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  2780.757] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2780.758] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Apr 24 13:58:50 2023
[  2780.759] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2780.759] (==) No Layout section.  Using the first Screen section.
[  2780.759] (==) No screen section available. Using defaults.
[  2780.759] (**) |-->Screen "Default Screen Section" (0)
[  2780.759] (**) |   |-->Monitor "<default monitor>"
[  2780.759] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  2780.759] (==) Automatically adding devices
[  2780.759] (==) Automatically enabling devices
[  2780.759] (==) Automatically adding GPU devices
[  2780.759] (==) Automatically binding GPU devices
[  2780.759] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  2780.759] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  2780.759] 	Entry deleted from font path.
[  2780.759] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[  2780.759] (==) ModulePath set to "/usr/lib/xorg/modules"
[  2780.759] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  2780.759] (II) Module ABI versions:
[  2780.759] 	X.Org ANSI C Emulation: 0.4
[  2780.759] 	X.Org Video Driver: 25.2
[  2780.759] 	X.Org XInput driver : 24.4
[  2780.759] 	X.Org Server Extension : 10.0
[  2780.759] (++) using VT number 1

[  2780.760] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_34
[  2780.763] (--) PCI:*(7@0:0:0) 10de:1c82:1043:862a rev 161, Mem @ 0xf5000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[  2780.763] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  2780.763] (II) LoadModule: "glx"
[  2780.763] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  2780.764] (II) Module glx: vendor="X.Org Foundation"
[  2780.764] 	compiled for 1.21.1.8, module version = 1.0.0
[  2780.764] 	ABI class: X.Org Server Extension, version 10.0
[  2780.764] (==) Matched nouveau as autoconfigured driver 0
[  2780.764] (==) Matched nv as autoconfigured driver 1
[  2780.764] (==) Matched modesetting as autoconfigured driver 2
[  2780.764] (==) Matched fbdev as autoconfigured driver 3
[  2780.764] (==) Matched vesa as autoconfigured driver 4
[  2780.764] (==) Assigned the driver to the xf86ConfigLayout
[  2780.764] (II) LoadModule: "nouveau"
[  2780.764] (WW) Warning, couldn't open module nouveau
[  2780.764] (EE) Failed to load module "nouveau" (module does not exist, 0)
[  2780.764] (II) LoadModule: "nv"
[  2780.764] (WW) Warning, couldn't open module nv
[  2780.764] (EE) Failed to load module "nv" (module does not exist, 0)
[  2780.764] (II) LoadModule: "modesetting"
[  2780.764] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  2780.765] (II) Module modesetting: vendor="X.Org Foundation"
[  2780.765] 	compiled for 1.21.1.8, module version = 1.21.1
[  2780.765] 	Module class: X.Org Video Driver
[  2780.765] 	ABI class: X.Org Video Driver, version 25.2
[  2780.765] (II) LoadModule: "fbdev"
[  2780.765] (WW) Warning, couldn't open module fbdev
[  2780.765] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  2780.765] (II) LoadModule: "vesa"
[  2780.765] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[  2780.765] (II) Module vesa: vendor="X.Org Foundation"
[  2780.765] 	compiled for 1.21.1.4, module version = 2.6.0
[  2780.765] 	Module class: X.Org Video Driver
[  2780.765] 	ABI class: X.Org Video Driver, version 25.2
[  2780.765] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  2780.765] (II) VESA: driver for VESA chipsets: vesa
[  2780.765] (EE) open /dev/dri/card0: No such file or directory
[  2780.765] (WW) Falling back to old probe method for modesetting
[  2780.765] (EE) open /dev/dri/card0: No such file or directory
[  2780.765] vesa: Refusing to run, Framebuffer or dri device present
[  2780.765] (EE) Screen 0 deleted because of no matching config section.
[  2780.765] (II) UnloadModule: "modesetting"
[  2780.765] (EE) Device(s) detected, but none match those in the config file.
[  2780.765] (EE) 
Fatal server error:
[  2780.765] (EE) no screens found(EE) 
[  2780.765] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  2780.765] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  2780.765] (EE) 
[  2780.767] (EE) Server terminated with error (1). Closing log file.

Also, i used to have 2 monitors but since have got rid of one and thought that could be the issue. I have also been using windows so it has installed some drivers probably from there.

Last edited by worbgge (2023-04-24 15:10:59)

Offline

#2 2023-04-24 13:14:06

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,349

Re: [solved] Unable to connect to X server: Connection Refused

[  2780.765] (EE) open /dev/dri/card0: No such file or directory
pacman -Qs nvidia
lspci -k
dmesg | grep -iE '(nvidia|nvrm)'

and in doubt see the ibt=off remark in https://wiki.archlinux.org/title/NVIDIA#Installation

Offline

#3 2023-04-24 13:19:20

worbgge
Member
Registered: 2021-07-18
Posts: 48

Re: [solved] Unable to connect to X server: Connection Refused

pacman -Qs nvidia
local/egl-wayland 2:1.1.11-4
    EGLStream-based Wayland external platform
local/ffnvcodec-headers 12.0.16.0-1
    FFmpeg version of headers required to interface with Nvidias codec APIs
local/lib32-libvdpau 1.5-1
    Nvidia VDPAU library
local/lib32-nvidia-utils 530.41.03-1
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.5-1
    Nvidia VDPAU library
local/libxnvctrl 530.41.03-1
    NVIDIA NV-CONTROL X extension
local/nvidia-dkms 530.41.03-1
    NVIDIA drivers - module sources
local/nvidia-settings 530.41.03-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 530.41.03-1
    NVIDIA drivers utilities
lspci -k
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Root Complex
	Subsystem: ASUSTeK Computer Inc. Device 8747
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O Memory Management Unit
	Subsystem: ASUSTeK Computer Inc. Device 8747
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge
	Subsystem: ASUSTeK Computer Inc. Device 8747
	Kernel driver in use: pcieport
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
	DeviceName:  Onboard IGD
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge
	Subsystem: ASUSTeK Computer Inc. Device 8747
	Kernel driver in use: pcieport
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B
	Subsystem: ASUSTeK Computer Inc. Device 8747
	Kernel driver in use: pcieport
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B
	Subsystem: ASUSTeK Computer Inc. Device 8747
	Kernel driver in use: pcieport
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 59)
	Subsystem: ASUSTeK Computer Inc. Device 8747
	Kernel driver in use: piix4_smbus
	Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
	Subsystem: ASUSTeK Computer Inc. Device 8747
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3
	Kernel driver in use: k10temp
	Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7
01:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 43bc (rev 02)
	Subsystem: ASMedia Technology Inc. Device 1142
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
01:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] Device 43b8 (rev 02)
	Subsystem: ASMedia Technology Inc. Device 1062
	Kernel driver in use: ahci
01:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b3 (rev 02)
	Subsystem: ASMedia Technology Inc. Device 0201
	Kernel driver in use: pcieport
02:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
	Subsystem: ASMedia Technology Inc. Device 3306
	Kernel driver in use: pcieport
02:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
	Subsystem: ASMedia Technology Inc. Device 3306
	Kernel driver in use: pcieport
02:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
	Subsystem: ASMedia Technology Inc. Device 3306
	Kernel driver in use: pcieport
02:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
	Subsystem: ASMedia Technology Inc. Device 3306
	Kernel driver in use: pcieport
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
	Subsystem: ASUSTeK Computer Inc. PRIME B450M-A Motherboard
	Kernel driver in use: r8169
	Kernel modules: r8169
06:00.0 Network controller: Ralink corp. RT5392 PCIe Wireless Network Adapter
	Subsystem: Ralink corp. RT5392 PCIe Wireless Network Adapter
	Kernel driver in use: rt2800pci
	Kernel modules: rt2800pci
07:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)
	Subsystem: ASUSTeK Computer Inc. Device 862a
	Kernel modules: nouveau
07:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1)
	Subsystem: ASUSTeK Computer Inc. Device 862a
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
08:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function
	Subsystem: ASUSTeK Computer Inc. Device 8747
08:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor (PSP) 3.0 Device
	Subsystem: ASUSTeK Computer Inc. Device 8747
	Kernel driver in use: ccp
	Kernel modules: ccp
08:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Zeppelin USB 3.0 xHCI Compliant Host Controller
	Subsystem: ASUSTeK Computer Inc. Device 8747
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
09:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Renoir PCIe Dummy Function
	Subsystem: ASUSTeK Computer Inc. Device 8747
09:00.2 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
	Subsystem: ASUSTeK Computer Inc. Device 8747
	Kernel driver in use: ahci
09:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller
	Subsystem: ASUSTeK Computer Inc. Device 86c7
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
dmesg | grep -iE '(nvidia|nvrm)'
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux-zen root=UUID=58c791fe-d539-42e3-a973-66ce32cf4038 rw nvidia-drm.modeset=1 loglevel=3 quiet
[    0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-linux-zen root=UUID=58c791fe-d539-42e3-a973-66ce32cf4038 rw nvidia-drm.modeset=1 loglevel=3 quiet
[   17.977474] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card0/input4
[   17.977565] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card0/input5
[   17.977628] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card0/input6
[   17.977709] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card0/input7

Offline

#4 2023-04-24 13:22:55

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [solved] Unable to connect to X server: Connection Refused

Did the module actually build when you installed nvidia-dkms?

Offline

#5 2023-04-24 13:23:25

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,255

Re: [solved] Unable to connect to X server: Connection Refused

Are linux-zen-headers installed? The driver module will only get built by nvidia-dkms for kernels whose headers are installed.

Offline

#6 2023-04-24 13:31:21

worbgge
Member
Registered: 2021-07-18
Posts: 48

Re: [solved] Unable to connect to X server: Connection Refused

Scimmia wrote:

Did the module actually build when you installed nvidia-dkms?

I believe it did since it does the command

dkms install --no-depmod nvidia/530.41.03 -k 6.2.11-arch-1
V1del wrote:

Are linux-zen-headers installed? The driver module will only get built by nvidia-dkms for kernels whose headers are installed.

I don't believe they are. i've installed them now but it said

ERROR: Missing 6.2.12-zen1-1-zen kernel modules tree for module nvidia/530.41.03.
ERROR: Missing 6.2.12-zen1-1-zen kernel modules tree for module v412loopback/0.12.7.

Offline

#7 2023-04-24 13:32:19

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,349

Re: [solved] Unable to connect to X server: Connection Refused

You've the 6.2.11 kernel, kernel and headers need to match.
Don't conduct partial updates.

Offline

#8 2023-04-24 13:46:05

worbgge
Member
Registered: 2021-07-18
Posts: 48

Re: [solved] Unable to connect to X server: Connection Refused

seth wrote:

You've the 6.2.11 kernel, kernel and headers need to match.
Don't conduct partial updates.

i did pacman -Syu and rebooted after but still having issues.
cat /var/log/Xorg.0.log

[    73.473] 
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
[    73.473] Current Operating System: Linux alu 6.2.12-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Thu, 20 Apr 2023 16:11:27 +0000 x86_64
[    73.474] Kernel command line: BOOT_IMAGE=/vmlinuz-linux-zen root=UUID=58c791fe-d539-42e3-a973-66ce32cf4038 rw nvidia-drm.modeset=1 loglevel=3 quiet
[    73.474]  
[    73.474] Current version of pixman: 0.42.2
[    73.474] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    73.474] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    73.474] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Apr 24 14:44:15 2023
[    73.480] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    73.492] (==) No Layout section.  Using the first Screen section.
[    73.492] (==) No screen section available. Using defaults.
[    73.492] (**) |-->Screen "Default Screen Section" (0)
[    73.492] (**) |   |-->Monitor "<default monitor>"
[    73.492] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    73.492] (==) Automatically adding devices
[    73.492] (==) Automatically enabling devices
[    73.492] (==) Automatically adding GPU devices
[    73.492] (==) Automatically binding GPU devices
[    73.492] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    73.565] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    73.565] 	Entry deleted from font path.
[    73.572] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[    73.572] (==) ModulePath set to "/usr/lib/xorg/modules"
[    73.572] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    73.572] (II) Module ABI versions:
[    73.572] 	X.Org ANSI C Emulation: 0.4
[    73.572] 	X.Org Video Driver: 25.2
[    73.572] 	X.Org XInput driver : 24.4
[    73.572] 	X.Org Server Extension : 10.0
[    73.573] (++) using VT number 1

[    73.574] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_33
[    73.581] (--) PCI:*(7@0:0:0) 10de:1c82:1043:862a rev 161, Mem @ 0xf5000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[    73.581] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    73.581] (II) LoadModule: "glx"
[    73.590] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    73.639] (II) Module glx: vendor="X.Org Foundation"
[    73.639] 	compiled for 1.21.1.8, module version = 1.0.0
[    73.639] 	ABI class: X.Org Server Extension, version 10.0
[    73.639] (==) Matched nouveau as autoconfigured driver 0
[    73.639] (==) Matched nv as autoconfigured driver 1
[    73.639] (==) Matched modesetting as autoconfigured driver 2
[    73.639] (==) Matched fbdev as autoconfigured driver 3
[    73.639] (==) Matched vesa as autoconfigured driver 4
[    73.639] (==) Assigned the driver to the xf86ConfigLayout
[    73.639] (II) LoadModule: "nouveau"
[    73.639] (WW) Warning, couldn't open module nouveau
[    73.639] (EE) Failed to load module "nouveau" (module does not exist, 0)
[    73.639] (II) LoadModule: "nv"
[    73.639] (WW) Warning, couldn't open module nv
[    73.639] (EE) Failed to load module "nv" (module does not exist, 0)
[    73.639] (II) LoadModule: "modesetting"
[    73.640] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    73.672] (II) Module modesetting: vendor="X.Org Foundation"
[    73.672] 	compiled for 1.21.1.8, module version = 1.21.1
[    73.672] 	Module class: X.Org Video Driver
[    73.672] 	ABI class: X.Org Video Driver, version 25.2
[    73.672] (II) LoadModule: "fbdev"
[    73.672] (WW) Warning, couldn't open module fbdev
[    73.672] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    73.672] (II) LoadModule: "vesa"
[    73.672] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    73.681] (II) Module vesa: vendor="X.Org Foundation"
[    73.681] 	compiled for 1.21.1.4, module version = 2.6.0
[    73.681] 	Module class: X.Org Video Driver
[    73.681] 	ABI class: X.Org Video Driver, version 25.2
[    73.681] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    73.681] (II) VESA: driver for VESA chipsets: vesa
[    73.682] (EE) open /dev/dri/card0: No such file or directory
[    73.682] (WW) Falling back to old probe method for modesetting
[    73.682] (EE) open /dev/dri/card0: No such file or directory
[    73.682] vesa: Refusing to run, Framebuffer or dri device present
[    73.682] (EE) Screen 0 deleted because of no matching config section.
[    73.682] (II) UnloadModule: "modesetting"
[    73.682] (EE) Device(s) detected, but none match those in the config file.
[    73.682] (EE) 
Fatal server error:
[    73.682] (EE) no screens found(EE) 
[    73.682] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    73.682] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    73.682] (EE) 
[    73.684] (EE) Server terminated with error (1). Closing log file.

Last edited by worbgge (2023-04-24 13:46:59)

Offline

#9 2023-04-24 13:52:28

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,349

Re: [solved] Unable to connect to X server: Connection Refused

dkms status

and post the dkms build log.

Offline

#10 2023-04-24 13:54:55

worbgge
Member
Registered: 2021-07-18
Posts: 48

Re: [solved] Unable to connect to X server: Connection Refused

seth wrote:
dkms status
nvidia/530.41.03, 6.2.12-arch1-1, x86_64: installed
v4l2loopback/0.12.7, 6.2.12-arch1-1, x86_64: installed

Offline

#11 2023-04-24 13:57:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,349

Re: [solved] Unable to connect to X server: Connection Refused

There's no module for the zen kernel

pacman -Qs linux

and post the dkms build log

Offline

#12 2023-04-24 14:02:45

worbgge
Member
Registered: 2021-07-18
Posts: 48

Re: [solved] Unable to connect to X server: Connection Refused

seth wrote:

There's no module for the zen kernel

pacman -Qs linux
local/alsa-lib 1.2.8-1
    An alternative implementation of Linux sound support
local/android-udev 20230303-1
    Udev rules to connect Android devices to your linux box
local/archlinux-java-run 9-1
    Java Application Launcher for Arch Linux
local/archlinux-keyring 20230320-1
    Arch Linux PGP keyring
local/avahi 0.8+22+gfd482a7-3
    Service Discovery for Linux using mDNS/DNS-SD -- compatible with Bonjour
local/base 3-1
    Minimal package set to define a basic Arch Linux installation
local/bashtop 0.9.25-1
    Linux resource monitor
local/brltty 6.5-3
    Braille display driver for Linux/Unix
local/efibootmgr 18-2
    Linux user-space application to modify the EFI Boot Manager
local/filesystem 2023.01.31-1
    Base Arch Linux files
local/fuse3 3.14.1-1
    Interface for userspace programs to export a filesystem to the Linux kernel
local/g810-led-git 0.4.2-2
    Linux led controller for Logitech G213, G410, G413. G512, G513, G610, G810, G815, G910 and GPRO Keyboards
local/heroic-games-launcher-bin 2.5.2-1
    HGL, a Native alternative Linux Launcher for Epic and GOG Games
local/iptables 1:1.8.9-1
    Linux kernel packet control tool (using legacy interface)
local/kdenlive 23.04.0-1 (kde-applications kde-multimedia)
    A non-linear video editor for Linux using the MLT video framework
local/kexec-tools 2.0.26-1
    Load another kernel from the currently executing Linux kernel
local/keyutils 1.6.3-1
    Linux Key Management Utilities
local/kmod 30-3
    Linux kernel module management tools and library
local/ladspa 1.17-2
    Linux Audio Developer's Simple Plugin API (LADSPA)
local/lib32-alsa-lib 1.2.8-1
    An alternative implementation of Linux sound support (32 bit)
local/lib32-keyutils 1.6.3-1
    Linux Key Management Utilities (32-bit)
local/lib32-libva 2.17.0-1
    Video Acceleration (VA) API for Linux (32-bit)
local/lib32-libxshmfence 1.3.2-1
    a library that exposes a event API on top of Linux futexes (32-bit)
local/lib32-util-linux 2.38.1-1
    Miscellaneous system utilities for Linux (32-bit)
local/lib32-v4l-utils 1.22.1-1
    Userspace tools and conversion library for Video 4 Linux (32-bit)
local/libaio 0.3.113-2
    The Linux-native asynchronous I/O facility (aio) library
local/libcamera 0.0.4-4
    A complex camera support library for Linux, Android, and ChromeOS
local/libcamera-ipa 0.0.4-4
    A complex camera support library for Linux, Android, and ChromeOS - signed IPA
local/libcap-ng 0.8.3-1
    A library for Linux that makes using posix capabilities easy
local/libiec61883 1.2.0-7
    A higher level API for streaming DV, MPEG-2 and audio over Linux IEEE 1394
local/libiio 0.24-2
    Interface to the Linux Industrial Input/Output (IIO) Subsystem
local/libimobiledevice 1.3.0-6
    Library that talks the protocols to support iPhone and iPod Touch devices on Linux
local/libraw1394 2.1.2-3
    Provides an API to the Linux IEEE1394 (FireWire) driver
local/libtraceevent 1:1.7.2-1
    Linux kernel trace event library
local/libtracefs 1.6.4-2
    Linux kernel trace file system library
local/liburing 2.3-1
    Linux-native io_uring I/O access library
local/libva 2.18.0-1
    Video Acceleration (VA) API for Linux
local/libxshmfence 1.3.2-1
    a library that exposes a event API on top of Linux futexes
local/linux 6.2.12.arch1-1
    The Linux kernel and modules
local/linux-api-headers 6.1.9-1
    Kernel headers sanitized for use in userspace
local/linux-firmware 20230210.bf4115c-1
    Firmware files for Linux
local/linux-firmware-whence 20230210.bf4115c-1
    Firmware files for Linux - contains the WHENCE license file which documents the vendor license details
local/linux-headers 6.2.12.arch1-1
    Headers and scripts for building modules for the Linux kernel
local/linux-lts 6.1.25-1
    The LTS Linux kernel and modules
local/linux-zen 6.2.12.zen1-1
    The Linux ZEN kernel and modules
local/linux-zen-headers 6.2.12.zen1-1
    Headers and scripts for building modules for the Linux ZEN kernel
local/lirc 1:0.10.2-2
    Linux Infrared Remote Control utilities
local/lmms 1.2.2-14 (pro-audio)
    The Linux MultiMedia Studio
local/lyrebird 1.1.0-2
    Simple and powerful voice changer for Linux, written in GTK 3
local/mdadm 4.2-2
    A tool for managing/monitoring Linux md device arrays, also known as Software RAID
local/multipath-tools 0.9.5-1
    Multipath tools for Linux (including kpartx)
local/ndctl 76.1-1
    Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel
local/net-tools 2.10-2
    Configuration tools for Linux networking
local/pacman-mirrorlist 20230410-1
    Arch Linux mirror list for use by pacman
local/puddletag 2.0.1-2
    An audio tag editor for GNU/Linux
local/python-distro 1.8.0-2
    Linux OS platform information API
local/python-evdev 1.6.1-1
    Python bindings for the Linux input subsystem
local/sharexin-git 0.7.2-5
    ShareX for Linux and BSD
local/syslinux 6.04.pre2.r11.gbf6db5b4-3
    Collection of boot loaders that boot from FAT, ext2/3/4 and btrfs filesystems, from CDs and via PXE
local/tilda 1.5.4-1
    A Gtk based drop down terminal for Linux and Unix
local/util-linux 2.38.1-3
    Miscellaneous system utilities for Linux
local/util-linux-libs 2.38.1-3
    util-linux runtime libraries
local/v4l-utils 1.24.1-1
    Userspace tools and conversion library for Video 4 Linux

and post the dkms build log

what do you mean by this? when i do

pacman -S nvidia-dkms

?

Offline

#13 2023-04-24 14:07:46

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,349

Re: [solved] Unable to connect to X server: Connection Refused

https://wiki.archlinux.org/title/Dynami … ld_modules
It'll indicate what's build, what fails and point to a log file for the the failing build logs.

Offline

#14 2023-04-24 14:12:00

worbgge
Member
Registered: 2021-07-18
Posts: 48

Re: [solved] Unable to connect to X server: Connection Refused

i ran

dkms autoinstall

and all it did was install the modules without outputting any errors or log files

Offline

#15 2023-04-24 14:14:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,349

Re: [solved] Unable to connect to X server: Connection Refused

dkms status
modinfo nvidia

In general please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
If you knew what to look for this thread would not exist.

Offline

#16 2023-04-24 14:18:46

worbgge
Member
Registered: 2021-07-18
Posts: 48

Re: [solved] Unable to connect to X server: Connection Refused

dkms status
nvidia/530.41.03, 6.2.12-arch1-1, x86_64: installed
nvidia/530.41.03, 6.2.12-zen1-1-zen, x86_64: installed
v4l2loopback/0.12.7, 6.2.12-arch1-1, x86_64: installed
v4l2loopback/0.12.7, 6.2.12-zen1-1-zen, x86_64: installed
modinfo nvidia
filename:       /lib/modules/6.2.12-zen1-1-zen/updates/dkms/nvidia.ko.zst
firmware:       nvidia/530.41.03/gsp_tu10x.bin
firmware:       nvidia/530.41.03/gsp_ga10x.bin
alias:          char-major-195-*
version:        530.41.03
supported:      external
license:        NVIDIA
srcversion:     218FC76741E6981DFBFAC4B
alias:          pci:v000010DEd*sv*sd*bc06sc80i00*
alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
depends:        
retpoline:      Y
name:           nvidia
vermagic:       6.2.12-zen1-1-zen SMP preempt mod_unload 
sig_id:         PKCS#7
signer:         DKMS module signing key
sig_key:        06:14:17:39:15:ED:35:C7:05:50:32:C1:13:22:48:B4:31:23:10:8A
sig_hashalgo:   sha512
signature:      AC:7B:34:EE:64:68:F2:87:09:9C:B6:C7:62:6D:D6:97:F3:E7:B9:B1:
		32:F1:C3:75:09:BB:D6:89:23:BF:A2:58:55:42:AF:C8:26:F1:8E:0B:
		F3:5A:30:20:0A:7F:D6:D5:D8:1C:D1:E6:8E:50:BB:ED:0C:4F:14:A2:
		DD:76:21:D3:8B:9D:8C:4A:61:37:68:27:8C:87:D6:E8:67:70:FD:81:
		7C:72:24:AB:19:63:A0:28:FF:8D:16:1E:A6:D4:2C:11:45:80:47:C4:
		B7:37:FA:F9:24:B8:F3:F4:71:25:5A:9A:3F:99:1B:FA:E2:C9:A6:4C:
		CD:86:28:8A:24:7E:41:6C:FD:EC:C8:00:05:6C:E2:BC:A2:D5:52:3F:
		2B:14:F5:A9:A6:66:1A:6F:D7:F3:CC:58:E5:1F:4F:F4:72:C6:D0:EB:
		2F:C6:5C:28:75:98:12:FF:C2:04:DE:8A:2E:70:AC:6A:6D:70:7D:AA:
		C9:D6:D6:D6:22:F4:B9:3B:36:A8:5A:00:2E:BB:06:66:2D:38:5B:3F:
		26:86:D7:48:17:FD:69:D3:CD:66:06:AB:6A:82:4E:12:A8:E0:71:DA:
		E4:AB:D6:20:11:C9:C5:84:1C:3B:FA:6D:59:7C:F6:62:25:E0:D8:F2:
		D1:2A:46:46:99:D9:AA:0A:42:85:F9:AD:6E:3F:72:81
parm:           NvSwitchRegDwords:NvSwitch regkey (charp)
parm:           NvSwitchBlacklist:NvSwitchBlacklist=uuid[,uuid...] (charp)
parm:           NVreg_ResmanDebugLevel:int
parm:           NVreg_RmLogonRC:int
parm:           NVreg_ModifyDeviceFiles:int
parm:           NVreg_DeviceFileUID:int
parm:           NVreg_DeviceFileGID:int
parm:           NVreg_DeviceFileMode:int
parm:           NVreg_InitializeSystemMemoryAllocations:int
parm:           NVreg_UsePageAttributeTable:int
parm:           NVreg_EnablePCIeGen3:int
parm:           NVreg_EnableMSI:int
parm:           NVreg_TCEBypassMode:int
parm:           NVreg_EnableStreamMemOPs:int
parm:           NVreg_RestrictProfilingToAdminUsers:int
parm:           NVreg_PreserveVideoMemoryAllocations:int
parm:           NVreg_EnableS0ixPowerManagement:int
parm:           NVreg_S0ixPowerManagementVideoMemoryThreshold:int
parm:           NVreg_DynamicPowerManagement:int
parm:           NVreg_DynamicPowerManagementVideoMemoryThreshold:int
parm:           NVreg_EnableGpuFirmware:int
parm:           NVreg_EnableGpuFirmwareLogs:int
parm:           NVreg_OpenRmEnableUnsupportedGpus:int
parm:           NVreg_EnableUserNUMAManagement:int
parm:           NVreg_MemoryPoolSize:int
parm:           NVreg_KMallocHeapMaxSize:int
parm:           NVreg_VMallocHeapMaxSize:int
parm:           NVreg_IgnoreMMIOCheck:int
parm:           NVreg_NvLinkDisable:int
parm:           NVreg_EnablePCIERelaxedOrderingMode:int
parm:           NVreg_RegisterPCIDriver:int
parm:           NVreg_EnableResizableBar:int
parm:           NVreg_EnableDbgBreakpoint:int
parm:           NVreg_RegistryDwords:charp
parm:           NVreg_RegistryDwordsPerDevice:charp
parm:           NVreg_RmMsg:charp
parm:           NVreg_GpuBlacklist:charp
parm:           NVreg_TemporaryFilePath:charp
parm:           NVreg_ExcludedGpus:charp
parm:           NVreg_DmaRemapPeerMmio:int
parm:           NVreg_RmNvlinkBandwidth:charp
parm:           rm_firmware_active:charp
seth wrote:

In general please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
If you knew what to look for this thread would not exist.

sorry, after i ran it once it didn't give an output again (and i'm in the tty, can't copy paste old commands run)

Offline

#17 2023-04-24 14:43:51

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,349

Re: [solved] Unable to connect to X server: Connection Refused

The module is now installed, did you try to reboot afterwards?
If it still doesn't work, please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#18 2023-04-24 14:49:27

worbgge
Member
Registered: 2021-07-18
Posts: 48

Re: [solved] Unable to connect to X server: Connection Refused

i restarted and when running startx it went to black for a second a took a while but had a different error this time, also changed where the error is sent.
cat $HOME/.local/share/xorg/Xorg.0.log

[   100.107] 
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
[   100.108] Current Operating System: Linux alu 6.2.12-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Thu, 20 Apr 2023 16:11:27 +0000 x86_64
[   100.108] Kernel command line: BOOT_IMAGE=/vmlinuz-linux-zen root=UUID=58c791fe-d539-42e3-a973-66ce32cf4038 rw nvidia-drm.modeset=1 loglevel=3 quiet
[   100.109]  
[   100.109] Current version of pixman: 0.42.2
[   100.110] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   100.110] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   100.112] (==) Log file: "/home/alu/.local/share/xorg/Xorg.0.log", Time: Mon Apr 24 15:47:04 2023
[   100.112] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   100.112] (==) No Layout section.  Using the first Screen section.
[   100.112] (==) No screen section available. Using defaults.
[   100.112] (**) |-->Screen "Default Screen Section" (0)
[   100.112] (**) |   |-->Monitor "<default monitor>"
[   100.112] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   100.112] (==) Automatically adding devices
[   100.112] (==) Automatically enabling devices
[   100.112] (==) Automatically adding GPU devices
[   100.112] (==) Automatically binding GPU devices
[   100.112] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   100.112] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   100.112] 	Entry deleted from font path.
[   100.112] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[   100.112] (==) ModulePath set to "/usr/lib/xorg/modules"
[   100.112] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   100.112] (II) Module ABI versions:
[   100.112] 	X.Org ANSI C Emulation: 0.4
[   100.112] 	X.Org Video Driver: 25.2
[   100.112] 	X.Org XInput driver : 24.4
[   100.112] 	X.Org Server Extension : 10.0
[   100.113] (++) using VT number 1

[   100.114] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_33
[   100.115] (II) xfree86: Adding drm device (/dev/dri/card0)
[   100.115] (II) Platform probe for /sys/devices/pci0000:00/0000:00:03.1/0000:07:00.0/drm/card0
[   100.115] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 13 paused 0
[   100.118] (--) PCI:*(7@0:0:0) 10de:1c82:1043:862a rev 161, Mem @ 0xf5000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[   100.118] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   100.118] (II) LoadModule: "glx"
[   100.118] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   100.119] (II) Module glx: vendor="X.Org Foundation"
[   100.119] 	compiled for 1.21.1.8, module version = 1.0.0
[   100.119] 	ABI class: X.Org Server Extension, version 10.0
[   100.119] (==) Matched nouveau as autoconfigured driver 0
[   100.119] (==) Matched nv as autoconfigured driver 1
[   100.119] (==) Matched modesetting as autoconfigured driver 2
[   100.119] (==) Matched fbdev as autoconfigured driver 3
[   100.119] (==) Matched vesa as autoconfigured driver 4
[   100.119] (==) Assigned the driver to the xf86ConfigLayout
[   100.119] (II) LoadModule: "nouveau"
[   100.119] (WW) Warning, couldn't open module nouveau
[   100.119] (EE) Failed to load module "nouveau" (module does not exist, 0)
[   100.119] (II) LoadModule: "nv"
[   100.119] (WW) Warning, couldn't open module nv
[   100.119] (EE) Failed to load module "nv" (module does not exist, 0)
[   100.119] (II) LoadModule: "modesetting"
[   100.119] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   100.120] (II) Module modesetting: vendor="X.Org Foundation"
[   100.120] 	compiled for 1.21.1.8, module version = 1.21.1
[   100.120] 	Module class: X.Org Video Driver
[   100.120] 	ABI class: X.Org Video Driver, version 25.2
[   100.120] (II) LoadModule: "fbdev"
[   100.120] (WW) Warning, couldn't open module fbdev
[   100.120] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   100.120] (II) LoadModule: "vesa"
[   100.120] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[   100.120] (II) Module vesa: vendor="X.Org Foundation"
[   100.120] 	compiled for 1.21.1.4, module version = 2.6.0
[   100.120] 	Module class: X.Org Video Driver
[   100.120] 	ABI class: X.Org Video Driver, version 25.2
[   100.120] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   100.120] (II) VESA: driver for VESA chipsets: vesa
[   100.120] xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
[   100.120] (II) modeset(0): using drv /dev/dri/card0
[   100.120] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   100.121] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   100.121] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[   100.121] (==) modeset(0): RGB weight 888
[   100.121] (==) modeset(0): Default visual is TrueColor
[   100.121] (II) Loading sub module "glamoregl"
[   100.121] (II) LoadModule: "glamoregl"
[   100.121] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[   100.123] (II) Module glamoregl: vendor="X.Org Foundation"
[   100.123] 	compiled for 1.21.1.8, module version = 1.0.1
[   100.123] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   100.151] (II) modeset(0): glamor X acceleration enabled on NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
[   100.151] (II) modeset(0): glamor initialized
[   100.151] (==) modeset(0): VariableRefresh: disabled
[   100.151] (==) modeset(0): AsyncFlipSecondaries: disabled
[   100.151] (II) modeset(0): Output DVI-D-1 has no monitor section
[   100.199] (II) modeset(0): Output HDMI-1 has no monitor section
[   100.199] (II) modeset(0): Output DP-1 has no monitor section
[   100.200] (II) modeset(0): EDID for output DVI-D-1
[   100.247] (II) modeset(0): EDID for output HDMI-1
[   100.247] (II) modeset(0): Manufacturer: AUS  Model: 242b  Serial#: 165227
[   100.247] (II) modeset(0): Year: 2021  Week: 50
[   100.247] (II) modeset(0): EDID Version: 1.3
[   100.247] (II) modeset(0): Digital Display Input
[   100.247] (II) modeset(0): Max Image Size [cm]: horiz.: 53  vert.: 30
[   100.247] (II) modeset(0): Gamma: 2.20
[   100.247] (II) modeset(0): DPMS capabilities: Off
[   100.247] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[   100.247] (II) modeset(0): First detailed timing is preferred mode
[   100.247] (II) modeset(0): redX: 0.680 redY: 0.309   greenX: 0.248 greenY: 0.664
[   100.247] (II) modeset(0): blueX: 0.149 blueY: 0.092   whiteX: 0.313 whiteY: 0.329
[   100.247] (II) modeset(0): Supported established timings:
[   100.247] (II) modeset(0): 720x400@70Hz
[   100.247] (II) modeset(0): 640x480@60Hz
[   100.247] (II) modeset(0): 640x480@67Hz
[   100.247] (II) modeset(0): 640x480@72Hz
[   100.247] (II) modeset(0): 640x480@75Hz
[   100.247] (II) modeset(0): 800x600@56Hz
[   100.247] (II) modeset(0): 800x600@60Hz
[   100.247] (II) modeset(0): 800x600@72Hz
[   100.247] (II) modeset(0): 800x600@75Hz
[   100.247] (II) modeset(0): 1024x768@60Hz
[   100.247] (II) modeset(0): 1024x768@70Hz
[   100.247] (II) modeset(0): 1024x768@75Hz
[   100.247] (II) modeset(0): 1280x1024@75Hz
[   100.247] (II) modeset(0): Manufacturer's mask: 0
[   100.247] (II) modeset(0): Supported standard timings:
[   100.247] (II) modeset(0): #0: hsize: 1280  vsize 960  refresh: 60  vid: 16513
[   100.247] (II) modeset(0): #1: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[   100.247] (II) modeset(0): #2: hsize: 1440  vsize 900  refresh: 60  vid: 149
[   100.247] (II) modeset(0): #3: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[   100.247] (II) modeset(0): #4: hsize: 1280  vsize 720  refresh: 60  vid: 49281
[   100.247] (II) modeset(0): #5: hsize: 1680  vsize 1050  refresh: 60  vid: 179
[   100.247] (II) modeset(0): Supported detailed timing:
[   100.247] (II) modeset(0): clock: 148.5 MHz   Image Size:  527 x 296 mm
[   100.247] (II) modeset(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[   100.247] (II) modeset(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[   100.247] (II) modeset(0): Supported detailed timing:
[   100.247] (II) modeset(0): clock: 321.8 MHz   Image Size:  527 x 296 mm
[   100.247] (II) modeset(0): h_active: 1920  h_sync: 1964  h_sync_end 1996 h_blank_end 2026 h_border: 0
[   100.247] (II) modeset(0): v_active: 1080  v_sync: 1083  v_sync_end 1088 v_blanking: 1103 v_border: 0
[   100.247] (II) modeset(0): Ranges: V min: 48 V max: 144 Hz, H min: 30 H max: 180 kHz, PixClock max 345 MHz
[   100.247] (II) modeset(0): Monitor name: ASUS VG247Q1A
[   100.247] (II) modeset(0): Number of EDID sections to follow: 1
[   100.247] (II) modeset(0): EDID (in hex):
[   100.247] (II) modeset(0): 	00ffffffffffff0006b32b246b850200
[   100.247] (II) modeset(0): 	321f010380351e782a0865ae4f3faa26
[   100.247] (II) modeset(0): 	175054bfcf00814081809500714f81c0
[   100.247] (II) modeset(0): 	b30001010101023a801871382d40582c
[   100.247] (II) modeset(0): 	45000f282100001eb37d806a70381740
[   100.247] (II) modeset(0): 	2c2035000f282100001e000000fd0030
[   100.247] (II) modeset(0): 	901eb422000a202020202020000000fc
[   100.247] (II) modeset(0): 	00415355532056473234375131410167
[   100.247] (II) modeset(0): 	020331f150010304131f120211900e0f
[   100.247] (II) modeset(0): 	1d1e3f1405230907078301000065030c
[   100.247] (II) modeset(0): 	0010006d1a000002013090f000000000
[   100.247] (II) modeset(0): 	00000000000000000000000000000000
[   100.247] (II) modeset(0): 	00000000000000000000000000000000
[   100.247] (II) modeset(0): 	00000000000000000000000000000000
[   100.247] (II) modeset(0): 	00000000000000000000000000000000
[   100.247] (II) modeset(0): 	0000000000000000000000000000006e
[   100.247] (II) modeset(0): Printing probed modes for output HDMI-1
[   100.247] (II) modeset(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz P)
[   100.247] (II) modeset(0): Modeline "1920x1080"x144.0  321.79  1920 1964 1996 2026  1080 1083 1088 1103 +hsync +vsync (158.8 kHz)
[   100.247] (II) modeset(0): Modeline "1920x1080"x119.9  296.70  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (134.9 kHz)
[   100.247] (II) modeset(0): Modeline "1920x1080"x50.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz)
[   100.247] (II) modeset(0): Modeline "1920x1080"x59.9  148.35  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.4 kHz)
[   100.247] (II) modeset(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz)
[   100.247] (II) modeset(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
[   100.247] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[   100.247] (II) modeset(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz)
[   100.247] (II) modeset(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz)
[   100.247] (II) modeset(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz)
[   100.247] (II) modeset(0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz)
[   100.247] (II) modeset(0): Modeline "1280x720"x50.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz)
[   100.247] (II) modeset(0): Modeline "1280x720"x59.9   74.18  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz)
[   100.247] (II) modeset(0): Modeline "1440x576"x50.0   54.00  1440 1464 1592 1728  576 581 586 625 -hsync +vsync (31.2 kHz)
[   100.247] (II) modeset(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz)
[   100.247] (II) modeset(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz)
[   100.247] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[   100.247] (II) modeset(0): Modeline "1440x480"x59.9   54.00  1440 1472 1596 1716  480 489 495 525 -hsync -vsync (31.5 kHz)
[   100.247] (II) modeset(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz)
[   100.247] (II) modeset(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz)
[   100.247] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[   100.247] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz)
[   100.247] (II) modeset(0): Modeline "720x576"x50.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz)
[   100.247] (II) modeset(0): Modeline "720x480"x59.9   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz)
[   100.247] (II) modeset(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz)
[   100.247] (II) modeset(0): Modeline "640x480"x72.8   31.50  640 656 696 832  480 481 484 520 -hsync -vsync (37.9 kHz)
[   100.247] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[   100.247] (II) modeset(0): Modeline "640x480"x59.9   25.17  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[   100.247] (II) modeset(0): EDID for output DP-1
[   100.247] (II) modeset(0): Output DVI-D-1 disconnected
[   100.247] (II) modeset(0): Output HDMI-1 connected
[   100.247] (II) modeset(0): Output DP-1 disconnected
[   100.247] (II) modeset(0): Using exact sizes for initial modes
[   100.247] (II) modeset(0): Output HDMI-1 using initial mode 1920x1080 +0+0
[   100.247] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[   100.247] (==) modeset(0): DPI set to (96, 96)
[   100.247] (II) Loading sub module "fb"
[   100.247] (II) LoadModule: "fb"
[   100.247] (II) Module "fb" already built-in
[   100.247] (II) UnloadModule: "vesa"
[   100.247] (II) Unloading vesa
[   100.250] (==) modeset(0): Backing store enabled
[   100.250] (==) modeset(0): Silken mouse enabled
[   100.250] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[   100.250] (==) modeset(0): DPMS enabled
[   100.250] (II) modeset(0): [DRI2] Setup complete
[   100.250] (II) modeset(0): [DRI2]   DRI driver: nouveau
[   100.250] (II) modeset(0): [DRI2]   VDPAU driver: nouveau
[   100.250] (II) Initializing extension Generic Event Extension
[   100.250] (II) Initializing extension SHAPE
[   100.250] (II) Initializing extension MIT-SHM
[   100.251] (II) Initializing extension XInputExtension
[   100.251] (II) Initializing extension XTEST
[   100.251] (II) Initializing extension BIG-REQUESTS
[   100.251] (II) Initializing extension SYNC
[   100.251] (II) Initializing extension XKEYBOARD
[   100.251] (II) Initializing extension XC-MISC
[   100.251] (II) Initializing extension SECURITY
[   100.251] (II) Initializing extension XFIXES
[   100.251] (II) Initializing extension RENDER
[   100.251] (II) Initializing extension RANDR
[   100.251] (II) Initializing extension COMPOSITE
[   100.251] (II) Initializing extension DAMAGE
[   100.251] (II) Initializing extension MIT-SCREEN-SAVER
[   100.251] (II) Initializing extension DOUBLE-BUFFER
[   100.251] (II) Initializing extension RECORD
[   100.251] (II) Initializing extension DPMS
[   100.252] (II) Initializing extension Present
[   100.252] (II) Initializing extension DRI3
[   100.252] (II) Initializing extension X-Resource
[   100.252] (II) Initializing extension XVideo
[   100.252] (II) Initializing extension XVideo-MotionCompensation
[   100.252] (II) Initializing extension GLX
[   100.269] (EE) AIGLX error: Calling driver entry point failed
[   100.276] (II) IGLX: Loaded and initialized swrast
[   100.276] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[   100.276] (II) Initializing extension XFree86-VidModeExtension
[   100.276] (II) Initializing extension XFree86-DGA
[   100.276] (II) Initializing extension XFree86-DRI
[   100.276] (II) Initializing extension DRI2
[   100.277] (EE) modeset(0): Failed to create pixmap
[   100.277] (EE) 
Fatal server error:
[   100.277] (EE) failed to create screen resources(EE) 
[   100.277] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   100.277] (EE) Please also check the log file at "/home/alu/.local/share/xorg/Xorg.0.log" for additional information.
[   100.277] (EE) 
[   100.278] (EE) Server terminated with error (1). Closing log file.

Offline

#19 2023-04-24 14:58:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,349

Re: [solved] Unable to connect to X server: Connection Refused

The drm device is there, but the nvidia ddx driver no more…

pacman -Qikk nvidia-utils

Offline

#20 2023-04-24 15:02:28

worbgge
Member
Registered: 2021-07-18
Posts: 48

Re: [solved] Unable to connect to X server: Connection Refused

seth wrote:

The drm device is there, but the nvidia ddx driver no more…

pacman -Qikk nvidia-utils
Name            : nvidia-utils
Version         : 530.41.03-1
Description     : NVIDIA drivers utilities
Architecture    : x86_64
URL             : http://www.nvidia.com/
Licenses        : custom
Groups          : None
Provides        : vulkan-driver  opengl-driver  nvidia-libgl
Depends On      : xorg-server  libglvnd  egl-wayland
Optional Deps   : nvidia-settings: configuration tool [installed]
                  xorg-server-devel: nvidia-xconfig [installed]
                  opencl-nvidia: OpenCL support
Required By     : lib32-nvidia-utils  libglvnd  nvidia-dkms  nvidia-settings  steam  steam-native-runtime
Optional For    : ffmpeg  ffmpeg4.4  proton-ge-custom-bin  vulkan-icd-loader
Conflicts With  : nvidia-libgl
Replaces        : nvidia-libgl
Installed Size  : 658.76 MiB
Packager        : Sven-Hendrik Haase <svenstaro@gmail.com>
Build Date      : Thu 23 Mar 2023 18:50:05 GMT
Install Date    : Thu 20 Apr 2023 20:52:37 BST
Install Reason  : Installed as a dependency for another package
Install Script  : Yes
Validated By    : Signature

nvidia-utils: 225 total files, 1 altered file

it also gave the output

warning: nvidia-utils: /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf (Modification time mismatch)
warning: nvidia-utils: /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf (Size mismatch)
warning: nvidia-utils: /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf (MD5 checksum mismatch)
warning: nvidia-utils: /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf (SHA256 checksum mismatch)

Offline

#21 2023-04-24 15:08:50

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,349

Re: [solved] Unable to connect to X server: Connection Refused

it also gave the output

What is likely the problem.
Restore that file.

Offline

#22 2023-04-24 15:10:35

worbgge
Member
Registered: 2021-07-18
Posts: 48

Re: [solved] Unable to connect to X server: Connection Refused

seth wrote:

it also gave the output

What is likely the problem.
Restore that file.

yes this worked, TY!
closing now

Offline

Board footer

Powered by FluxBB