I tried to run X server in Linux Redhat 9 but it doesn't work. Below the commnad I used and the display of /var/log/Xorg.2.log,
*************** sudo Xorg :2 **************
[appuser@ansibleapptrj01 ~]$ sudo Xorg :2
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: 4.18.0-425.10.1.el8_7.x86_64
Current Operating System: Linux ansibleapptrj01 5.14.0-162.6.1.el9_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Sep 30 07:36:03 EDT 2022 x86_64
Kernel command line: BOOT_IMAGE=(hd0,msdos1)/vmlinuz-5.14.0-162.6.1.el9_1.x86_64 root=/dev/mapper/vg00-root ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/vg00-swap rd.lvm.lv=vg00/root rd.lvm.lv=vg00/swap rhgb quiet
Build Date: 06 June 2023 12:00:00AM
Build ID: xorg-x11-server 1.20.11-19.el9
Current version of pixman: 0.40.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.2.log", Time: Tue Apr 30 10:32:02 2024
(==) 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"
(EE)
Fatal server error:
(EE) no screens found(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.2.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
*************** cat /var/log/Xorg.2.log **************
[appuser@ansibleapptrj01 ~]$ cat /var/log/Xorg.2.log
[301175.667]
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[301175.667] Build Operating System: 4.18.0-425.10.1.el8_7.x86_64
[301175.667] Current Operating System: Linux ansibleapptrj01 5.14.0-162.6.1.el9_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Sep 30 07:36:03 EDT 2022 x86_64
[301175.667] Kernel command line: BOOT_IMAGE=(hd0,msdos1)/vmlinuz-5.14.0-162.6.1.el9_1.x86_64 root=/dev/mapper/vg00-root ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/vg00-swap rd.lvm.lv=vg00/root rd.lvm.lv=vg00/swap rhgb quiet
[301175.667] Build Date: 06 June 2023 12:00:00AM
[301175.667] Build ID: xorg-x11-server 1.20.11-19.el9
[301175.667] Current version of pixman: 0.40.0
[301175.667] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[301175.668] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[301175.668] (==) Log file: "/var/log/Xorg.2.log", Time: Tue Apr 30 10:32:02 2024
[301175.669] (==) Using config file: "/etc/X11/xorg.conf"
[301175.669] (==) Using config directory: "/etc/X11/xorg.conf.d"
[301175.669] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[301175.669] (==) No Layout section. Using the first Screen section.
[301175.669] (==) No screen section available. Using defaults.
[301175.669] (**) |-->Screen "Default Screen Section" (0)
[301175.669] (**) | |-->Monitor "<default monitor>"
[301175.670] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[301175.670] (**) | |-->Device "Card0"
[301175.670] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[301175.670] (==) Automatically adding devices
[301175.670] (==) Automatically enabling devices
[301175.670] (==) Automatically adding GPU devices
[301175.670] (==) Automatically binding GPU devices
[301175.670] (==) Max clients allowed: 256, resource mask: 0x1fffff
[301175.670] (==) FontPath set to:
catalogue:/etc/X11/fontpath.d,
built-ins
[301175.670] (==) ModulePath set to "/usr/lib64/xorg/modules"
[301175.670] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[301175.670] (II) Loader magic: 0x563ed7374d40
[301175.670] (II) Module ABI versions:
[301175.670] X.Org ANSI C Emulation: 0.4
[301175.670] X.Org Video Driver: 24.1
[301175.670] X.Org XInput driver : 24.1
[301175.670] X.Org Server Extension : 10.0
[301175.671] (--) using VT number 2
[301175.672] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[301175.680] (II) xfree86: Adding drm device (/dev/dri/card0)
[301175.680] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[301175.707] (--) PCI:*(0@0:15:0) 15ad:0405:15ad:0405 rev 0, Mem @ 0xe8000000/134217728, 0xfe000000/8388608, I/O @ 0x00001070/16, BIOS @ 0x????????/131072
[301175.708] (II) LoadModule: "glx"
[301175.708] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[301175.712] (II) Module glx: vendor="X.Org Foundation"
[301175.712] compiled for 1.20.11, module version = 1.0.0
[301175.712] ABI class: X.Org Server Extension, version 10.0
[301175.712] (II) LoadModule: "vmwgfx"
[301175.712] (WW) Warning, couldn't open module vmwgfx
[301175.712] (EE) Failed to load module "vmwgfx" (module does not exist, 0)
[301175.712] (EE) No drivers available.
[301175.712] (EE)
Fatal server error:
[301175.712] (EE) no screens found(EE)
[301175.713] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[301175.713] (EE) Please also check the log file at "/var/log/Xorg.2.log" for additional information.
[301175.713] (EE)
[301175.713] (EE) Server terminated with error (1). Closing log file.
[appuser@ansibleapptrj01 ~]$
