CentOS7 - Gnome cannot start after installing xrdp

General support questions
Post Reply
blutrex
Posts: 5
Joined: 2019/08/14 14:11:02

CentOS7 - Gnome cannot start after installing xrdp

Post by blutrex » 2019/08/14 14:57:43

Hi all,

I'm just new to CentOS7 and I ran into a problem that I can't solve by myself.

Yesterday I installed xrdp and tigervnc-server on my CentOS7 server using the following command:

Code: Select all

yum -y install xrdp
yum -y install tigetvnc-server
Then I rebooted my server, but it got stuck, only showing a big "7" at the center of the grey screen (logo of CentOS7, I suppose).

I googled a lot and managed to switch to "multi-user.target". I found that it works well under the "multi-user.target" mode, but regardless of running "init 5", or switching to "graphical.target" and rebooting, it got stuck over and over again.

Then I tried to reproduce the error on another CentOS7 server. I installed xrdp (without installing tigervnc-server) and rebooted at once, and the same error happened. So it seems that it is xrdp that is to blame. Then I tried to uninstall xrdp:

Code: Select all

rpm -qa | grep xrdp
# showed xrdp-selinux, xorgxrdp and xrdp 

Code: Select all

yum autoremove xrdp*
yum remove xorgxrdp
However, the problem got worse. Now I cannot even see the big "7" screen on my second server. It just stops at the booting messages, i.e. sometimes "[OK] Started Virtualization Daemon", or "[OK] Started SYSV: SSDB startup scripts". I suppose some daemon that is to start at this point gets crashed by xrdp.

I have then tried the following command on the first server, following the instructions on the Internet:

Code: Select all

yum upgrade
But the gnome showed this page: "Oh on! Something has gone wrong." ...

I also tried other solutions I found on the Internet, but none of them worked. (Sorry, but I don't remember them now.)

I really don't know what to do now, so I come here for help.

Any suggestion is appreciated. Thanks!

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS7 - Gnome cannot start after installing xrdp

Post by TrevorH » 2019/08/14 15:12:52

Read your logs, probably /var/log/Xorg.*.log but also look in messages and secure for clues.

I just installed the 3 xrdp packages and rebooted my VM and it still works.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

blutrex
Posts: 5
Joined: 2019/08/14 14:11:02

Re: CentOS7 - Gnome cannot start after installing xrdp

Post by blutrex » 2019/08/14 16:06:00

TrevorH wrote:
2019/08/14 15:12:52
Read your logs, probably /var/log/Xorg.*.log but also look in messages and secure for clues.

I just installed the 3 xrdp packages and rebooted my VM and it still works.
Thanks for your help!

This is my /var/log/Xorg.9.log (other logs are too old). This file ends with several lines of UnloadModule: "evdev" (as follows).

(But I don't know whether this is the one I'm looking for, because its last-modified time is not the latest.)

Code: Select all

[    27.228] 
X.Org X Server 1.17.2
Release Date: 2015-06-16
[    27.228] X Protocol Version 11, Revision 0
[    27.228] Build Operating System:  2.6.32-220.17.1.el6.x86_64 
[    27.228] Current Operating System: Linux sna2.thu 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64
[    27.228] Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-327.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
[    27.228] Build Date: 20 November 2015  02:44:25PM
[    27.228] Build ID: xorg-x11-server 1.17.2-10.el7 
[    27.234] Current version of pixman: 0.32.6
[    27.234] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    27.238] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    27.238] (==) Log file: "/var/log/Xorg.9.log", Time: Tue Sep 20 21:44:25 2016
[    27.449] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    27.449] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    27.513] (==) No Layout section.  Using the first Screen section.
[    27.515] (==) No screen section available. Using defaults.
[    27.515] (**) |-->Screen "Default Screen Section" (0)
[    27.515] (**) |   |-->Monitor "<default monitor>"
[    27.540] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    27.540] (==) Automatically adding devices
[    27.540] (==) Automatically enabling devices
[    27.540] (==) Automatically adding GPU devices
[    27.540] (==) FontPath set to:
	catalogue:/etc/X11/fontpath.d,
	built-ins
[    27.540] (==) ModulePath set to "/usr/lib64/xorg/modules"
[    27.540] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    27.548] (II) Loader magic: 0x7fc4a0947020
[    27.548] (II) Module ABI versions:
[    27.548] 	X.Org ANSI C Emulation: 0.4
[    27.548] 	X.Org Video Driver: 19.0
[    27.548] 	X.Org XInput driver : 21.0
[    27.548] 	X.Org Server Extension : 9.0
[    27.560] (II) xfree86: Adding drm device (/dev/dri/card0)
[    27.704] (--) PCI:*(0:11:0:0) 1a03:2000:1043:84eb rev 33, Mem @ 0xce000000/16777216, 0xcf000000/131072, I/O @ 0x00006000/128, BIOS @ 0x????????/131072
[    27.719] (II) LoadModule: "glx"
[    27.730] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    28.030] (II) Module glx: vendor="X.Org Foundation"
[    28.030] 	compiled for 1.17.2, module version = 1.0.0
[    28.030] 	ABI class: X.Org Server Extension, version 9.0
[    28.030] (==) AIGLX enabled
[    28.031] (==) Matched modesetting as autoconfigured driver 0
[    28.031] (==) Matched fbdev as autoconfigured driver 1
[    28.031] (==) Matched vesa as autoconfigured driver 2
[    28.031] (==) Assigned the driver to the xf86ConfigLayout
[    28.031] (II) LoadModule: "modesetting"
[    28.031] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[    28.049] (II) Module modesetting: vendor="X.Org Foundation"
[    28.049] 	compiled for 1.17.2, module version = 1.17.2
[    28.049] 	Module class: X.Org Video Driver
[    28.049] 	ABI class: X.Org Video Driver, version 19.0
[    28.051] (II) LoadModule: "fbdev"
[    28.051] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[    28.072] (II) Module fbdev: vendor="X.Org Foundation"
[    28.072] 	compiled for 1.17.2, module version = 0.4.3
[    28.072] 	Module class: X.Org Video Driver
[    28.072] 	ABI class: X.Org Video Driver, version 19.0
[    28.072] (II) LoadModule: "vesa"
[    28.072] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[    28.093] (II) Module vesa: vendor="X.Org Foundation"
[    28.093] 	compiled for 1.17.2, module version = 2.3.2
[    28.093] 	Module class: X.Org Video Driver
[    28.093] 	ABI class: X.Org Video Driver, version 19.0
[    28.093] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    28.093] (II) FBDEV: driver for framebuffer: fbdev
[    28.093] (II) VESA: driver for VESA chipsets: vesa
[    28.093] (--) using VT number 2

[    28.206] (**) modeset(0): claimed PCI slot 11@0:0:0
[    28.206] (II) modeset(0): using default device
[    28.206] (WW) Falling back to old probe method for fbdev
[    28.206] (II) Loading sub module "fbdevhw"
[    28.206] (II) LoadModule: "fbdevhw"
[    28.206] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[    28.226] (II) Module fbdevhw: vendor="X.Org Foundation"
[    28.226] 	compiled for 1.17.2, module version = 0.0.2
[    28.226] 	ABI class: X.Org Video Driver, version 19.0
[    28.226] (WW) Falling back to old probe method for vesa
[    28.230] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    28.230] (==) modeset(0): Depth 24, (--) framebuffer bpp 32
[    28.230] (==) modeset(0): RGB weight 888
[    28.230] (==) modeset(0): Default visual is TrueColor
[    28.230] (II) Loading sub module "glamoregl"
[    28.230] (II) LoadModule: "glamoregl"
[    28.231] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[    28.463] (II) Module glamoregl: vendor="X.Org Foundation"
[    28.463] 	compiled for 1.17.2, module version = 1.0.0
[    28.463] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    28.469] (II) glamor: OpenGL accelerated X.org driver based.
[    29.697] (II) glamor: EGL version 1.4 (DRI2):
[    29.697] EGL_MESA_drm_image required.
[    29.697] (EE) modeset(0): glamor initialization failed
[    29.697] (II) modeset(0): ShadowFB: preferred YES, enabled YES
[    29.697] (II) modeset(0): Double-buffered shadow updates: on(II) modeset(0): Output VGA-0 has no monitor section
[    29.893] (II) modeset(0): EDID for output VGA-0
[    29.893] (II) modeset(0): Manufacturer: KVM  Model: 4308  Serial#: 16843015
[    29.893] (II) modeset(0): Year: 2005  Week: 10
[    29.893] (II) modeset(0): EDID Version: 1.3
[    29.893] (II) modeset(0): Analog Display Input,  Input Voltage Level: 0.700/0.300 V
[    29.893] (II) modeset(0): Sync:  Separate
[    29.893] (II) modeset(0): Max Image Size [cm]: horiz.: 34  vert.: 27
[    29.893] (II) modeset(0): Gamma: 2.20
[    29.893] (II) modeset(0): DPMS capabilities: Off; RGB/Color Display
[    29.893] (II) modeset(0): First detailed timing is preferred mode
[    29.893] (II) modeset(0): redX: 0.630 redY: 0.330   greenX: 0.300 greenY: 0.600
[    29.893] (II) modeset(0): blueX: 0.150 blueY: 0.100   whiteX: 0.310 whiteY: 0.330
[    29.893] (II) modeset(0): Supported established timings:
[    29.893] (II) modeset(0): 720x400@70Hz
[    29.893] (II) modeset(0): 640x480@60Hz
[    29.893] (II) modeset(0): 640x480@67Hz
[    29.893] (II) modeset(0): 640x480@72Hz
[    29.893] (II) modeset(0): 640x480@75Hz
[    29.893] (II) modeset(0): 800x600@56Hz
[    29.893] (II) modeset(0): 800x600@60Hz
[    29.893] (II) modeset(0): 800x600@72Hz
[    29.893] (II) modeset(0): 800x600@75Hz
[    29.893] (II) modeset(0): 832x624@75Hz
[    29.893] (II) modeset(0): 1024x768@60Hz
[    29.893] (II) modeset(0): 1024x768@70Hz
[    29.893] (II) modeset(0): 1024x768@75Hz
[    29.893] (II) modeset(0): 1280x1024@75Hz
[    29.893] (II) modeset(0): 1152x864@75Hz
[    29.893] (II) modeset(0): Manufacturer's mask: 0
[    29.893] (II) modeset(0): Supported standard timings:
[    29.893] (II) modeset(0): #0: hsize: 1280  vsize 960  refresh: 60  vid: 16513
[    29.893] (II) modeset(0): #1: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[    29.893] (II) modeset(0): #2: hsize: 1280  vsize 960  refresh: 70  vid: 19073
[    29.893] (II) modeset(0): #3: hsize: 1280  vsize 1024  refresh: 85  vid: 39297
[    29.893] (II) modeset(0): Supported detailed timing:
[    29.893] (II) modeset(0): clock: 108.0 MHz   Image Size:  338 x 270 mm
[    29.893] (II) modeset(0): h_active: 1280  h_sync: 1328  h_sync_end 1440 h_blank_end 1688 h_border: 0
[    29.893] (II) modeset(0): v_active: 1024  v_sync: 1025  v_sync_end 1028 v_blanking: 1066 v_border: 0
[    29.893] (II) modeset(0): Ranges: V min: 50 V max: 75 Hz, H min: 30 H max: 80 kHz, PixClock max 145 MHz
[    29.893] (II) modeset(0): Monitor name: LCD Monitor 1
[    29.893] (II) modeset(0): Monitor name: 7"
[    29.893] (II) modeset(0): EDID (in hex):
[    29.893] (II) modeset(0): 	00ffffffffffff002ecd084307010101
[    29.893] (II) modeset(0): 	0a0f010308221b782a6ea6a1544c9926
[    29.893] (II) modeset(0): 	194f54bfef808140714f814a81990101
[    29.893] (II) modeset(0): 	010101010101302a009851002a403070
[    29.893] (II) modeset(0): 	1300520e1100001e000000fd00324b1e
[    29.893] (II) modeset(0): 	500e313033303830390a000000fc004c
[    29.893] (II) modeset(0): 	4344204d6f6e69746f722031000000fc
[    29.893] (II) modeset(0): 	0037220a20202020202020202020002b
[    29.901] (II) modeset(0): Not using mode "1280x1024" (bad mode clock/interlace/doublescan)
[    29.901] (II) modeset(0): Printing probed modes for output VGA-0
[    29.901] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz eP)
[    29.901] (II) modeset(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    29.901] (II) modeset(0): Modeline "1024x768"x75.1   78.80  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.1 kHz e)
[    29.901] (II) modeset(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[    29.901] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    29.901] (II) modeset(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[    29.901] (II) modeset(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    29.901] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    29.901] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    29.901] (II) modeset(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    29.901] (II) modeset(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 491 520 -hsync -vsync (37.9 kHz e)
[    29.901] (II) modeset(0): Modeline "640x480"x66.7   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[    29.901] (II) modeset(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    29.901] (II) modeset(0): Output VGA-0 connected
[    29.903] (II) modeset(0): Using exact sizes for initial modes
[    29.903] (II) modeset(0): Output VGA-0 using initial mode 1280x1024 +0+0
[    29.903] (II) modeset(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[    29.903] (==) modeset(0): DPI set to (96, 96)
[    29.903] (II) Loading sub module "fb"
[    29.903] (II) LoadModule: "fb"
[    29.903] (II) Loading /usr/lib64/xorg/modules/libfb.so
[    29.910] (II) Module fb: vendor="X.Org Foundation"
[    29.910] 	compiled for 1.17.2, module version = 1.0.0
[    29.910] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    29.910] (II) Loading sub module "shadow"
[    29.910] (II) LoadModule: "shadow"
[    29.910] (II) Loading /usr/lib64/xorg/modules/libshadow.so
[    29.916] (II) Module shadow: vendor="X.Org Foundation"
[    29.916] 	compiled for 1.17.2, module version = 1.1.0
[    29.916] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    29.916] (II) UnloadModule: "fbdev"
[    29.916] (II) Unloading fbdev
[    29.916] (II) UnloadSubModule: "fbdevhw"
[    29.916] (II) Unloading fbdevhw
[    29.916] (II) UnloadModule: "vesa"
[    29.916] (II) Unloading vesa
[    29.925] (==) Depth 24 pixmap format is 32 bpp
[    29.950] (==) modeset(0): Backing store enabled
[    29.950] (==) modeset(0): Silken mouse enabled
[    29.955] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    29.975] (==) modeset(0): DPMS enabled
[    30.790] (--) RandR disabled
[    30.830] (II) SELinux: Disabled by boolean
[    30.838] (II) AIGLX: Screen 0 is not DRI2 capable
[    30.838] (EE) AIGLX: reverting to software rendering
[    30.865] (II) AIGLX: Loaded and initialized swrast
[    30.865] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    30.871] (II) modeset(0): Setting screen physical size to 338 x 270
[    31.581] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    31.582] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    31.582] (**) Power Button: Applying InputClass "system-keyboard"
[    31.582] (II) LoadModule: "evdev"
[    31.582] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[    31.647] (II) Module evdev: vendor="X.Org Foundation"
[    31.647] 	compiled for 1.17.2, module version = 2.9.2
[    31.647] 	Module class: X.Org XInput Driver
[    31.647] 	ABI class: X.Org XInput driver, version 21.0
[    31.647] (II) Using input driver 'evdev' for 'Power Button'
[    31.647] (**) Power Button: always reports core events
[    31.647] (**) evdev: Power Button: Device: "/dev/input/event1"
[    31.647] (--) evdev: Power Button: Vendor 0 Product 0x1
[    31.647] (--) evdev: Power Button: Found keys
[    31.647] (II) evdev: Power Button: Configuring as keyboard
[    31.648] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[    31.648] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    31.648] (**) Option "xkb_rules" "evdev"
[    31.648] (**) Option "xkb_layout" "us"
[    31.656] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[    31.656] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    31.656] (**) Power Button: Applying InputClass "system-keyboard"
[    31.656] (II) Using input driver 'evdev' for 'Power Button'
[    31.656] (**) Power Button: always reports core events
[    31.656] (**) evdev: Power Button: Device: "/dev/input/event0"
[    31.657] (--) evdev: Power Button: Vendor 0 Product 0x1
[    31.657] (--) evdev: Power Button: Found keys
[    31.657] (II) evdev: Power Button: Configuring as keyboard
[    31.657] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0/event0"
[    31.657] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[    31.657] (**) Option "xkb_rules" "evdev"
[    31.657] (**) Option "xkb_layout" "us"
[    31.658] (II) config/udev: Adding input device HID 04d9:1400 (/dev/input/event2)
[    31.658] (**) HID 04d9:1400: Applying InputClass "evdev keyboard catchall"
[    31.658] (**) HID 04d9:1400: Applying InputClass "system-keyboard"
[    31.658] (II) Using input driver 'evdev' for 'HID 04d9:1400'
[    31.658] (**) HID 04d9:1400: always reports core events
[    31.658] (**) evdev: HID 04d9:1400: Device: "/dev/input/event2"
[    31.658] (--) evdev: HID 04d9:1400: Vendor 0x4d9 Product 0x1400
[    31.658] (--) evdev: HID 04d9:1400: Found keys
[    31.658] (II) evdev: HID 04d9:1400: Configuring as keyboard
[    31.658] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/input/input2/event2"
[    31.658] (II) XINPUT: Adding extended input device "HID 04d9:1400" (type: KEYBOARD, id 8)
[    31.658] (**) Option "xkb_rules" "evdev"
[    31.658] (**) Option "xkb_layout" "us"
[    31.658] (II) config/udev: Adding input device HID 04d9:1400 (/dev/input/event3)
[    31.658] (**) HID 04d9:1400: Applying InputClass "evdev pointer catchall"
[    31.658] (**) HID 04d9:1400: Applying InputClass "evdev keyboard catchall"
[    31.658] (**) HID 04d9:1400: Applying InputClass "system-keyboard"
[    31.658] (II) Using input driver 'evdev' for 'HID 04d9:1400'
[    31.658] (**) HID 04d9:1400: always reports core events
[    31.658] (**) evdev: HID 04d9:1400: Device: "/dev/input/event3"
[    31.659] (--) evdev: HID 04d9:1400: Vendor 0x4d9 Product 0x1400
[    31.659] (--) evdev: HID 04d9:1400: Found 9 mouse buttons
[    31.659] (--) evdev: HID 04d9:1400: Found scroll wheel(s)
[    31.659] (--) evdev: HID 04d9:1400: Found relative axes
[    31.659] (--) evdev: HID 04d9:1400: Found x and y relative axes
[    31.659] (--) evdev: HID 04d9:1400: Found keys
[    31.659] (II) evdev: HID 04d9:1400: Configuring as mouse
[    31.659] (II) evdev: HID 04d9:1400: Configuring as keyboard
[    31.659] (II) evdev: HID 04d9:1400: Adding scrollwheel support
[    31.659] (**) evdev: HID 04d9:1400: YAxisMapping: buttons 4 and 5
[    31.659] (**) evdev: HID 04d9:1400: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    31.659] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.1/input/input3/event3"
[    31.659] (II) XINPUT: Adding extended input device "HID 04d9:1400" (type: KEYBOARD, id 9)
[    31.659] (**) Option "xkb_rules" "evdev"
[    31.659] (**) Option "xkb_layout" "us"
[    31.665] (II) evdev: HID 04d9:1400: initialized for relative axes.
[    31.665] (**) HID 04d9:1400: (accel) keeping acceleration scheme 1
[    31.665] (**) HID 04d9:1400: (accel) acceleration profile 0
[    31.665] (**) HID 04d9:1400: (accel) acceleration factor: 2.000
[    31.665] (**) HID 04d9:1400: (accel) acceleration threshold: 4
[    31.665] (II) config/udev: Adding input device HID 04d9:1400 (/dev/input/mouse0)
[    31.665] (**) HID 04d9:1400: Applying InputClass "system-keyboard"
[    31.665] (II) No input driver specified, ignoring this device.
[    31.665] (II) This device may have been added with another device file.
[    31.665] (II) config/udev: Adding input device PC Speaker (/dev/input/event4)
[    31.665] (II) No input driver specified, ignoring this device.
[    31.665] (II) This device may have been added with another device file.
[    68.477] (II) evdev: HID 04d9:1400: Close
[    68.477] (II) UnloadModule: "evdev"
[    68.477] (II) evdev: HID 04d9:1400: Close
[    68.477] (II) UnloadModule: "evdev"
[    68.477] (II) evdev: Power Button: Close
[    68.477] (II) UnloadModule: "evdev"
[    68.477] (II) evdev: Power Button: Close
[    68.477] (II) UnloadModule: "evdev"
[    68.644] (II) Server terminated successfully (0). Closing log file.
Actually I have already google these messages before and got some options, but none of them worked for my case.

I also tried to start X (root user) to produce the latest log, but failed.

Code: Select all

# X
X: symbol lookup error: X: undefined symbol: drmFreeDevice
Another trial also failed. It shows:

Code: Select all

# startx
xauth: file /root/.serverauth.13167does not exist

/usr/bin/X: symbol lookup error: /usr/bin/X: undefined symbol: drmFreeDevice
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
I googled the message and found a suggestion: "ldd /usr/bin/X", but also failed:

Code: Select all

# ldd /usr/bin/X
	not a dynamic executable
My Linux kernel is:

Code: Select all

# uname -a
Linux sna2.thu 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Here are my Xorg config file.

/etc/X11/xorg.conf.d/libvnc.conf is all comments.

/etc/X11/xorg.conf.d/00-keyboard.conf:

Code: Select all

# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "us"
EndSection
I really have no idea now. Any help is appreciated. Thanks!

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS7 - Gnome cannot start after installing xrdp

Post by TrevorH » 2019/08/14 16:35:49

X: symbol lookup error: X: undefined symbol: drmFreeDevice
Looks like you have a mix and match of different versions of packages. And given that you're running a prehistoric kernel, I would suggest running yum update to get everything up to date. Your kernel is 3.10.0-327.el7.x86_64 and that is the original 7.2 kernel from about 4 years ago. Current is 3.10.0-957.27.x.el7 so you are a long way backlevel.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

blutrex
Posts: 5
Joined: 2019/08/14 14:11:02

Re: CentOS7 - Gnome cannot start after installing xrdp

Post by blutrex » 2019/08/14 18:24:09

TrevorH wrote:
2019/08/14 16:35:49
X: symbol lookup error: X: undefined symbol: drmFreeDevice
Looks like you have a mix and match of different versions of packages. And given that you're running a prehistoric kernel, I would suggest running yum update to get everything up to date. Your kernel is 3.10.0-327.el7.x86_64 and that is the original 7.2 kernel from about 4 years ago. Current is 3.10.0-957.27.x.el7 so you are a long way backlevel.
I tried yum update, but some packages were just downloaded without being installed, and some even not downloaded. For example, gnome-session-3.28 is downloaded:

Code: Select all

# yum update
......
(274/1039): gnome-session-3.28.1-6.el7.x86_64.rpm          | 401 kB   00:00
But gnome-session on my server is still 3.14:

Code: Select all

# rpm -qa | grep gnome-session
gnome-session-3.14.0-4.el7.x86_64
gnome-session-xsession-3.14.0-4.el7.x86_64
Moreover, the later version of kernel is even not downloaded, and it remains 327:

Code: Select all

# rpm -qa | grep kernel
kernel-3.10.0-327.el7.x86_64
abrt-addon-kerneloops-2.1.11-36.el7.centos.x86_64
kernel-headers-3.10.0-514.2.2.el7.x86_64
kernel-tools-3.10.0-327.el7.x86_64
kernel-debug-devel-3.10.0-957.27.2.el7.x86_64
kernel-tools-libs-3.10.0-327.el7.x86_64
So what's wrong? I checked the output of yum update, and found 4 sorts of warnings or errors in the output:
  • No Presto metadata available for XXX
  • Not downloading deltainfo for extras, MD is 73 k and rpms are 39 k
  • warning: /var/cache/yum/x86_64/7/download.opensuse.org_repositories_home_Alexaner_Pozdnyakov_CentOS_7_/packages/tesseract-devel-4.1.0-2.1.x86_64.rpm: Header V RSA/SHA256 Signature, key ID ad8883f8: NOKEY
  • Public key for XXX is not installed
Here is the detailed output (it exceeds the maximum length of a post, so some information is omitted):

Code: Select all

# yum update
......
Downloading packages:
No Presto metadata available for okay
No Presto metadata available for mysql57-community
No Presto metadata available for download.opensuse.org_repositories_home_Alexaner_Pozdnyakov_CentOS_7_
No Presto metadata available for base
No Presto metadata available for docker-ce-stable
Not downloading deltainfo for extras, MD is 73 k and rpms are 39 k
(1/2): epel/x86_64/prestodelta                             |  766 B   00:00
(2/2): update/x86_64/prestodelta                           | 945 kB   00:01
Delta RPMs reduced 9.0 M of updates to 3.6 M (59% saved)
(1/1039): freetype-2.8-12.el7_2.8-12.el7_6.1.x86_64.drpm   |  27 kB   00:00
(2/1039): freetype-devel-2.8-12.el7_2.8-12.el7_6.1.x86_64. |  50 kB   00:00
......
(233/1039): glib2-2.56.1-4.el7_6.x86_64.rpm                | 2.5 MB   00:00
(234/1039): glibc-2.17-260.el7_6.6.i686.rpm                | 4.3 MB   00:00
(235/1039): glibc-2.17-260.el7_6.6.x86_64.rpm              | 3.7 MB   00:00
(236/1039): glibc-common-2.17-260.el7_6.6.x86_64.rpm       |  12 MB   00:01
(237/1039): glibc-devel-2.17-260.el7_6.6.x86_64.rpm        | 1.1 MB   00:00
(238/1039): glibc-headers-2.17-260.el7_6.6.x86_64.rpm      | 684 kB   00:00
(239/1039): glusterfs-3.12.2-18.el7.x86_64.rpm             | 542 kB   00:00
(240/1039): glusterfs-api-3.12.2-18.el7.x86_64.rpm         |  73 kB   00:00
(241/1039): glusterfs-cli-3.12.2-18.el7.x86_64.rpm         | 176 kB   00:00
(242/1039): glusterfs-client-xlators-3.12.2-18.el7.x86_64. | 878 kB   00:00
(243/1039): glusterfs-fuse-3.12.2-18.el7.x86_64.rpm        | 117 kB   00:00
(244/1039): glusterfs-libs-3.12.2-18.el7.x86_64.rpm        | 377 kB   00:00
(245/1039): glx-utils-8.3.0-10.el7.x86_64.rpm              |  34 kB   00:00
(246/1039): gmp-6.0.0-15.el7.x86_64.rpm                    | 281 kB   00:00
(247/1039): gnome-abrt-0.3.4-8.el7.x86_64.rpm              | 212 kB   00:00
(248/1039): glibmm24-2.56.0-1.el7.x86_64.rpm               | 534 kB   00:03
(249/1039): gnome-backgrounds-3.28.0-1.el7.noarch.rpm      |  25 MB   00:02
(250/1039): gnome-bluetooth-3.28.2-1.el7.x86_64.rpm        |  51 kB   00:00
(251/1039): gnome-bluetooth-libs-3.28.2-1.el7.x86_64.rpm   | 308 kB   00:00
(252/1039): gnome-calculator-3.28.2-1.el7.x86_64.rpm       | 1.1 MB   00:00
(253/1039): gnome-classic-session-3.28.1-5.el7.1.noarch.rp |  40 kB   00:00
(254/1039): gnome-clocks-3.28.0-1.el7.x86_64.rpm           | 413 kB   00:00
(255/1039): gnome-color-manager-3.28.0-1.el7.x86_64.rpm    | 1.6 MB   00:00
(256/1039): gnome-contacts-3.28.2-1.el7.x86_64.rpm         | 454 kB   00:00
(257/1039): gnome-desktop3-3.28.2-2.el7.x86_64.rpm         | 594 kB   00:00
(258/1039): gnome-dictionary-3.26.1-2.el7.x86_64.rpm       | 642 kB   00:00
(259/1039): gnome-disk-utility-3.28.3-1.el7.x86_64.rpm     | 1.1 MB   00:00
(260/1039): gnome-documents-3.28.2-1.el7.x86_64.rpm        | 542 kB   00:00
(261/1039): gnome-documents-libs-3.28.2-1.el7.x86_64.rpm   | 218 kB   00:00
(262/1039): gnome-font-viewer-3.28.0-1.el7.x86_64.rpm      | 152 kB   00:00
(263/1039): gnome-getting-started-docs-3.28.2-1.el7.noarch |  10 MB   00:01
(264/1039): gnome-initial-setup-3.28.0-1.el7.x86_64.rpm    | 1.3 MB   00:00
(265/1039): gnome-boxes-3.28.5-2.el7.x86_64.rpm            | 1.1 MB   00:03
(266/1039): gnome-keyring-3.28.2-1.el7.x86_64.rpm          | 908 kB   00:00
(267/1039): gnome-keyring-pam-3.28.2-1.el7.x86_64.rpm      |  39 kB   00:00
(268/1039): gnome-online-accounts-3.28.0-1.el7.x86_64.rpm  | 1.0 MB   00:00
(269/1039): gnome-packagekit-3.28.0-1.el7.x86_64.rpm       | 7.5 kB   00:00
(270/1039): gnome-online-miners-3.26.0-1.el7.x86_64.rpm    |  60 kB   00:00
(271/1039): gnome-packagekit-common-3.28.0-1.el7.x86_64.rp | 1.1 MB   00:00
(272/1039): gnome-packagekit-updater-3.28.0-1.el7.x86_64.r |  74 kB   00:00
(273/1039): gnome-screenshot-3.26.0-1.el7.x86_64.rpm       | 196 kB   00:00
(274/1039): gnome-session-3.28.1-6.el7.x86_64.rpm          | 401 kB   00:00
(275/1039): gnome-session-xsession-3.28.1-6.el7.x86_64.rpm | 7.6 kB   00:00
(276/1039): gnome-packagekit-installer-3.28.0-1.el7.x86_64 |  78 kB   00:00
(277/1039): gnome-settings-daemon-3.28.1-2.el7.x86_64.rpm  | 1.0 MB   00:00
(278/1039): gnome-shell-extension-alternate-tab-3.28.1-5.e |  20 kB   00:00
(279/1039): gnome-shell-extension-apps-menu-3.28.1-5.el7.1 |  24 kB   00:00
(280/1039): gnome-shell-extension-common-3.28.1-5.el7.1.no | 147 kB   00:00
(281/1039): gnome-shell-extension-launch-new-instance-3.28 |  19 kB   00:00
(282/1039): gnome-shell-extension-places-menu-3.28.1-5.el7 |  23 kB   00:00
(283/1039): gnome-shell-extension-top-icons-3.28.1-5.el7.1 |  20 kB   00:00
(284/1039): gnome-shell-extension-user-theme-3.28.1-5.el7. |  19 kB   00:00
(285/1039): gnome-shell-extension-window-list-3.28.1-5.el7 |  28 kB   00:00
(286/1039): gnome-software-3.28.2-3.el7.x86_64.rpm         | 3.7 MB   00:00
(287/1039): gnome-system-monitor-3.28.2-1.el7.x86_64.rpm   | 748 kB   00:00
(288/1039): gnome-terminal-3.28.2-2.el7.x86_64.rpm         | 1.3 MB   00:00
(289/1039): gnome-terminal-nautilus-3.28.2-2.el7.x86_64.rp |  36 kB   00:00
(290/1039): gnome-themes-standard-3.28-2.el7.x86_64.rpm    | 2.8 MB   00:00
(291/1039): gnome-tweak-tool-3.28.1-2.el7.2.noarch.rpm     | 329 kB   00:00
(292/1039): gnome-user-docs-3.28.2-1.el7.noarch.rpm        |  16 MB   00:01
(293/1039): gnome-video-effects-0.4.3-1.el7.noarch.rpm     |  74 kB   00:00
(294/1039): gnome-weather-3.26.0-1.el7.noarch.rpm          | 5.0 MB   00:00
......
(430/1039): kernel-headers-3.10.0-957.27.2.el7.x86_64.rpm  | 8.0 MB   00:02
(431/1039): kernel-tools-3.10.0-957.27.2.el7.x86_64.rpm    | 7.2 MB   00:02
(432/1039): kernel-tools-libs-3.10.0-957.27.2.el7.x86_64.r | 7.1 MB   00:01
(433/1039): kexec-tools-2.0.15-21.el7_6.4.x86_64.rpm       | 344 kB   00:00
(434/1039): kmod-libs-20-23.el7.x86_64.rpm                 |  50 kB   00:00
......
(960/1039): telepathy-mission-control-5.16.3-3.el7.x86_64. | 202 kB   00:00
(961/1039): telepathy-glib-0.24.1-1.el7.x86_64.rpm         | 719 kB   00:00
(962/1039): teamd-1.27-6.el7_6.1.x86_64.rpm                | 113 kB   00:01
warning: /var/cache/yum/x86_64/7/download.opensuse.org_repositories_home_Alexaner_Pozdnyakov_CentOS_7_/packages/tesseract-devel-4.1.0-2.1.x86_64.rpm: Header V RSA/SHA256 Signature, key ID ad8883f8: NOKEY
Public key for tesseract-devel-4.1.0-2.1.x86_64.rpm is not installed
(963/1039): tesseract-devel-4.1.0-2.1.x86_64.rpm           |  56 kB   00:02
(964/1039): tesseract-4.1.0-2.1.x86_64.rpm                 | 1.2 MB   00:07
(965/1039): phantomjs-2.5.0-1.el7.x86_64.rpm               |  15 MB   00:40
(966/1039): tesseract-langpack-chi-sim-vert-4.00~git30-5.1 | 1.1 MB   00:06
(967/1039): tesseract-langpack-chi-sim-4.00~git30-5.1.noar | 1.6 MB   00:16
(968/1039): tesseract-langpack-chi-tra-4.00~git30-5.1.noar | 1.6 MB   00:09
(969/1039): tesseract-langpack-deu-4.00~git30-5.1.noarch.r | 763 kB   00:05
(970/1039): tesseract-langpack-chi-tra-vert-4.00~git30-5.1 | 1.1 MB   00:08
......
(1003/1039): tesseract-langpack-eng-4.00~git30-5.1.noarch. | 1.6 MB   00:22
(1004/1039): v8-6.2.91-4.el7.x86_64.rpm                    | 9.9 MB   00:22
(1005/1039): tesseract-langpack-osd-4.00~git30-5.1.noarch. | 3.4 MB   00:33
(1006/1039): webkitgtk3-2.4.11-2.el7.x86_64.rpm            |  11 MB   00:50
(1007/1039): webkitgtk4-jsc-2.20.5-1.el7.x86_64.rpm        | 4.6 MB   00:14
(1008/1039): webkitgtk4-plugin-process-gtk2-2.20.5-1.el7.x | 9.6 MB   00:01
(1009/1039): webrtc-audio-processing-0.3-1.el7.x86_64.rpm  | 286 kB   00:00
(1010/1039): wodim-1.1.11-25.el7.x86_64.rpm                | 320 kB   00:01
(1011/1039): wpa_supplicant-2.6-12.el7.x86_64.rpm          | 1.2 MB   00:06
(1012/1039): xdg-desktop-portal-1.0.2-1.el7.x86_64.rpm     | 248 kB   00:01
(1013/1039): xdg-desktop-portal-gtk-1.0.2-1.el7.x86_64.rpm | 157 kB   00:00
(1014/1039): xdg-user-dirs-0.15-5.el7.x86_64.rpm           |  59 kB   00:00
(1015/1039): xdg-utils-1.1.0-0.17.20120809git.el7.noarch.r |  70 kB   00:00
(1016/1039): xfsprogs-4.5.0-19.el7_6.x86_64.rpm            | 897 kB   00:01
(1017/1039): xfsdump-3.1.7-1.el7.x86_64.rpm                | 308 kB   00:02
(1018/1039): xkeyboard-config-2.24-1.el7.noarch.rpm        | 834 kB   00:02
(1019/1039): xmlsec1-1.2.20-7.el7_4.x86_64.rpm             | 177 kB   00:00
(1020/1039): xmlsec1-openssl-1.2.20-7.el7_4.x86_64.rpm     |  76 kB   00:00
(1021/1039): xorg-x11-font-utils-7.5-21.el7.x86_64.rpm     | 104 kB   00:00
(1022/1039): xorg-x11-server-utils-7.7-20.el7.x86_64.rpm   | 178 kB   00:01
(1023/1039): xorg-x11-utils-7.5-23.el7.x86_64.rpm          | 114 kB   00:00
(1024/1039): xorg-x11-xinit-1.3.4-2.el7.x86_64.rpm         |  58 kB   00:00
(1025/1039): xorg-x11-xkb-utils-7.7-14.el7.x86_64.rpm      | 103 kB   00:00
(1026/1039): yaml-cpp-0.5.1-1.el7.2.x86_64.rpm             | 176 kB   00:00
(1027/1039): xz-libs-5.2.2-1.el7.i686.rpm                  | 109 kB   00:01
(1028/1039): yelp-3.28.1-1.el7.x86_64.rpm                  | 777 kB   00:00
(1029/1039): yelp-libs-3.28.1-1.el7.x86_64.rpm             | 101 kB   00:00
(1030/1039): yelp-xsl-3.28.0-1.el7.noarch.rpm              | 204 kB   00:00
(1031/1039): yum-3.4.3-161.el7.centos.noarch.rpm           | 1.2 MB   00:06
(1032/1039): yum-langpacks-0.4.2-7.el7.noarch.rpm          |  31 kB   00:00
(1033/1039): yum-plugin-fastestmirror-1.1.31-50.el7.noarch |  34 kB   00:00
(1034/1039): yum-utils-1.1.31-50.el7.noarch.rpm            | 121 kB   00:01
(1035/1039): zenity-3.28.1-1.el7.x86_64.rpm                | 4.0 MB   00:00
(1036/1039): zip-3.0-11.el7.x86_64.rpm                     | 260 kB   00:00
(1037/1039): zlib-1.2.7-18.el7.i686.rpm                    |  91 kB   00:00
(1038/1039): webkitgtk4-2.20.5-1.el7.x86_64.rpm            |  26 MB   01:49
(1039/1039): mysql-community-server-5.7.27-1.el7.x86_64.rp | 165 MB   04:28
-------------------------------------------------------------------------------
Total                                               2.1 MB/s | 1.3 GB  10:48
Public key for tesseract-langpack-chi-sim-4.00~git30-5.1.noarch.rpm is not installed
I even tried yum -y update, but it's still not working. How can I get them updated?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS7 - Gnome cannot start after installing xrdp

Post by TrevorH » 2019/08/14 20:46:55

warning: /var/cache/yum/x86_64/7/download.opensuse.org_repositories_home_Alexaner_Pozdnyakov_CentOS_7_/packages/tesseract-devel-4.1.0-2.1.x86_64.rpm: Header V RSA/SHA256 Signature, key ID ad8883f8: NOKEY
Public key for tesseract-devel-4.1.0-2.1.x86_64.rpm is not installed
Disable that repo, either by editing its .repo file in /etc/yum.repo.d/ or by using yum --disablerepo=download.opensuse.org_repositories_home_Alexaner_Pozdnyakov_CentOS_7_ ... on each yum command from now on.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

blutrex
Posts: 5
Joined: 2019/08/14 14:11:02

Re: CentOS7 - Gnome cannot start after installing xrdp

Post by blutrex » 2019/08/15 07:35:12

TrevorH wrote:
2019/08/14 20:46:55
warning: /var/cache/yum/x86_64/7/download.opensuse.org_repositories_home_Alexaner_Pozdnyakov_CentOS_7_/packages/tesseract-devel-4.1.0-2.1.x86_64.rpm: Header V RSA/SHA256 Signature, key ID ad8883f8: NOKEY
Public key for tesseract-devel-4.1.0-2.1.x86_64.rpm is not installed
Disable that repo, either by editing its .repo file in /etc/yum.repo.d/ or by using yum --disablerepo=download.opensuse.org_repositories_home_Alexaner_Pozdnyakov_CentOS_7_ ... on each yum command from now on.
Hi TrevorH,

Finally I replaced CentOS-Base.repo and ran yum -y update(the output is so long that the warnings in the output are lost).
Now the kernel is updated:

Code: Select all

# uname -a
Linux sna2.thu 3.10.0-957.27.2.el7.x86_64 #1 SMP Mon Jul 29 17:46:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
I started X (root user) by running X and it's still not working, showing "(EE) no screens found".
Then I checked /var/log/Xorg.0.log. The log shows the following errors and warnings (full output at https://pastebin.com/XEjZE8Lp):
  • (EE) open /dev/dri/card0: No such file or directory
  • (WW) Falling back to old probe method for modesetting
  • (EE) open /dev/dri/card0: No such file or directory
  • (EE) Unable to find a valid framebuffer device
  • (WW) Falling back to old probe method for fbdev
  • (EE) open /dev/fb0: No such file or directory
  • (EE) Screen 0 deleted because of no matching config section.
  • (EE) Screen 0 deleted because of no matching config section.
  • (WW) VESA(0): No valid modes left. Trying less strict filter...
  • (WW) VESA(0): Unable to estimate virtual size
  • (EE) VESA(0): No valid modes
  • (EE) Screen(s) found, but none have a usable configuration.
  • (EE) no screens found(EE)
It says "no matching config section", so I tried to configure by Xorg, but it's still not working:

Code: Select all

# Xorg -configure
# cd /etc/X11
# mv xorg.conf.d/ xorg.conf.d.bak/
# cp /root/xorg.conf.new xorg.conf
# X	## still error messages
The new log (after running X):

Code: Select all

[  3107.391] 
X.Org X Server 1.20.1
X Protocol Version 11, Revision 0
[  3107.392] Build Operating System:  3.10.0-957.1.3.el7.x86_64 
[  3107.393] Current Operating System: Linux sna2.thu 3.10.0-957.27.2.el7.x86_64 #1 SMP Mon Jul 29 17:46:05 UTC 2019 x86_64
[  3107.393] Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-957.27.2.el7.x86_64 root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet nomodeset LANG=zh_CN.utf8
[  3107.394] Build Date: 29 July 2019  05:38:01PM
[  3107.395] Build ID: xorg-x11-server 1.20.1-5.6.el7_6 
[  3107.395] Current version of pixman: 0.34.0
[  3107.396] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  3107.396] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  3107.399] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 15 15:15:42 2019
[  3107.400] (==) Using config file: "/etc/X11/xorg.conf"
[  3107.400] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  3107.401] (==) ServerLayout "X.org Configured"
[  3107.401] (**) |-->Screen "Screen0" (0)
[  3107.401] (**) |   |-->Monitor "Monitor0"
[  3107.401] (**) |   |-->Device "Card0"
[  3107.401] (**) |-->Input Device "Mouse0"
[  3107.401] (**) |-->Input Device "Keyboard0"
[  3107.401] (==) Automatically adding devices
[  3107.401] (==) Automatically enabling devices
[  3107.401] (==) Automatically adding GPU devices
[  3107.401] (==) Automatically binding GPU devices
[  3107.401] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  3107.401] (**) FontPath set to:
	catalogue:/etc/X11/fontpath.d,
	built-ins,
	catalogue:/etc/X11/fontpath.d,
	built-ins
[  3107.401] (**) ModulePath set to "/usr/lib64/xorg/modules"
[  3107.401] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  3107.401] (WW) Disabling Mouse0
[  3107.401] (WW) Disabling Keyboard0
[  3107.401] (II) Loader magic: 0x5605f25ea020
[  3107.401] (II) Module ABI versions:
[  3107.401] 	X.Org ANSI C Emulation: 0.4
[  3107.401] 	X.Org Video Driver: 24.0
[  3107.401] 	X.Org XInput driver : 24.1
[  3107.402] 	X.Org Server Extension : 10.0
[  3107.435] (--) PCI:*(11@0:0:0) 1a03:2000:1043:84eb rev 33, Mem @ 0xce000000/16777216, 0xcf000000/131072, I/O @ 0x00006000/128, BIOS @ 0x????????/131072
[  3107.435] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  3107.435] (II) LoadModule: "glx"
[  3107.435] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  3107.437] (II) Module glx: vendor="X.Org Foundation"
[  3107.437] 	compiled for 1.20.1, module version = 1.0.0
[  3107.437] 	ABI class: X.Org Server Extension, version 10.0
[  3107.437] (II) LoadModule: "vnc"
[  3107.437] (II) Loading /usr/lib64/xorg/modules/extensions/libvnc.so
[  3107.448] (II) Module vnc: vendor="TigerVNC Project"
[  3107.448] 	compiled for 1.20.1, module version = 1.0.0
[  3107.448] 	Module class: X.Org Server Extension
[  3107.448] 	ABI class: X.Org Server Extension, version 10.0
[  3107.448] (II) LoadModule: "modesetting"
[  3107.448] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[  3107.448] (II) Module modesetting: vendor="X.Org Foundation"
[  3107.448] 	compiled for 1.20.1, module version = 1.20.1
[  3107.448] 	Module class: X.Org Video Driver
[  3107.448] 	ABI class: X.Org Video Driver, version 24.0
[  3107.448] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  3107.449] (--) using VT number 3

[  3107.460] (EE) open /dev/dri/card0: No such file or directory
[  3107.460] (WW) Falling back to old probe method for modesetting
[  3107.460] (EE) open /dev/dri/card0: No such file or directory
[  3107.460] (EE) Screen 0 deleted because of no matching config section.
[  3107.460] (II) UnloadModule: "modesetting"
[  3107.460] (EE) Device(s) detected, but none match those in the config file.
[  3107.460] (EE) 
Fatal server error:
[  3107.460] (EE) no screens found(EE) 
[  3107.460] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  3107.460] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  3107.460] (EE) 
[  3107.467] (EE) Server terminated with error (1). Closing log file.
But I have a screen, and the server is NOT a virtual machine. Why can't X find my screen?

Information of VGA:

Code: Select all

# lspci | grep VGA
0b:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 21)

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS7 - Gnome cannot start after installing xrdp

Post by TrevorH » 2019/08/15 08:42:55

Pretty much all recent linux video drivers require kernel modesetting. Remove nomodeset from your kernel command line (and while you're there, consider getting rid of rhgb quiet too).
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

blutrex
Posts: 5
Joined: 2019/08/14 14:11:02

Re: CentOS7 - Gnome cannot start after installing xrdp

Post by blutrex » 2019/08/15 11:48:29

TrevorH wrote:
2019/08/15 08:42:55
Pretty much all recent linux video drivers require kernel modesetting. Remove nomodeset from your kernel command line (and while you're there, consider getting rid of rhgb quiet too).
Hi TrevorH,

It works after updating. I really appreciate your timely help!

Regards.

Post Reply