Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Centos 7.4 installation GNOME Desktop error

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

When installing KVM, in order to facilitate later installation of virtual machines, GNOME Desktop is installed directly, so that you can directly manage desktop operations. After installing KVM-related controls, start vncserver to report an error, as follows:

[root@localhost home] # systemctl status-l vncserver@:1.service

● vncserver@:1.service-Remote desktop service (VNC)

Loaded: loaded (/ usr/lib/systemd/system/vncserver@:1.service; enabled; vendor preset: disabled)

Active: inactive (dead) since II 2019-07-30 10:01:37 CST; 7min ago

Main PID: 10855 (code=exited, status=0/SUCCESS)

July 30th 10:01:34 localhost.localdomain systemd [1]: Starting Remote desktop service (VNC).

July 30 10:01:37 localhost.localdomain systemd [1]: Started Remote desktop service (VNC).

[root@localhost home] # vncserver

New 'localhost.localdomain:1 (root)' desktop is localhost.localdomain:1

Starting applications specified in / root/.vnc/xstartup

Log file is / root/.vnc/localhost.localdomain:1.log

By viewing the log analysis:

[root@localhost home] # more / root/.vnc/localhost.localdomain:1.log

Xvnc TigerVNC 1.8.0-built Nov 2 2018 19:05:14

Copyright (C) 1999-2017 TigerVNC Team and many others (see README.txt)

See http://www.tigervnc.org for information on TigerVNC.

Underlying X server release 12001000, The X.Org Foundation

Tue Jul 30 10:04:03 2019

Vncext: VNC extension running!

Vncext: Listening for VNC connections on all interface (s), port 5901

Vncext: created VNC server for screen 0

The XKEYBOARD keymap compiler (xkbcomp) reports:

Internal error: Could not resolve keysym XF86WWAN

Internal error: Could not resolve keysym XF86RFKill

Errors from xkbcomp are not fatal to the X server

Killing Xvnc process ID 11012

Yum groupinstall "GNOME Desktop"Graphical Administration Tools"-y

Total

1.6 MB/s | 2.4 MB 00:00:01

Running transaction check

Running transaction test

Transaction check error:

File / boot/efi/EFI/centos from install of fwupdate-efi-12-5.el7.centos.x86_64 conflicts with file from package grub2-common-1:2.02-0.64.el7.centos.noarch

Error summary:

The problem is due to an installation error caused by a conflict between the fwupdate-efi component and the grub2-common, which can be addressed by updating the grub2-common component.

As follows:

[root@localhost ~] # yum update grub2-common

Loaded plug-ins: fastestmirror, langpacks

Loading mirror speeds from cached hostfile

Base: mirrors.aliyun.comepel: mirrors.aliyun.comextras: mirrors.aliyun.comupdates: mirrors.aliyun.com

Resolving dependencies

-- > checking transaction

-> package grub2-common.noarch.1.2.02-0.64.el7.centos will be upgraded

-- > is processing the dependency grub2-common = 1 1:grub2-tools-2.02 2.02-0.64.el7.centos, which is required by the package 1:grub2-tools-2.02-0.64.el7.centos.x86_64

-- > is processing the dependency grub2-common = 1 1:grub2-tools-minimal-2.02 2.02-0.64.el7.centos, which is required by the package 1:grub2-tools-minimal-2.02-0.64.el7.centos.x86_64

-- > is processing the dependency grub2-common = 1 1:grub2-pc-2.02 2.02-0.64.el7.centos, which is required by the package 1:grub2-pc-2.02-0.64.el7.centos.x86_64

-- > is processing the dependency grub2-common = 1 1:grub2-pc-modules-2.02 2.02-0.64.el7.centos, which is required by the package 1:grub2-pc-modules-2.02-0.64.el7.centos.noarch

-- > is processing the dependency grub2-common = 1 1:grub2-tools-extra-2.02 2.02-0.64.el7.centos, which is required by the package 1:grub2-tools-extra-2.02-0.64.el7.centos.x86_64

-> package grub2-common.noarch.1.2.02-0.76.el7.centos.1 will be updated

-- > checking transaction

-> package grub2-pc.x86_64.1.2.02-0.64.el7.centos will be upgraded

-- > processing dependencies grub2-pc = 1 1:grub2 2.02-0.64.el7.centos, which is required by the software package 1:grub2-2.02-0.64.el7.centos.x86_64

-> package grub2-pc.x86_64.1.2.02-0.76.el7.centos.1 will be updated

-> package grub2-pc-modules.noarch.1.2.02-0.64.el7.centos will be upgraded

-> package grub2-pc-modules.noarch.1.2.02-0.76.el7.centos.1 will be updated

-> package grub2-tools.x86_64.1.2.02-0.64.el7.centos will be replaced

-> package grub2-tools.x86_64.1.2.02-0.64.el7.centos will be upgraded

-- > package grub2-tools.x86_64.1.2.02-0.76.el7.centos.1 will be discarded

-> package grub2-tools-extra.x86_64.1.2.02-0.64.el7.centos will be upgraded

-- > package grub2-tools-extra.x86_64.1.2.02-0.76.el7.centos.1 will be discarded

-> package grub2-tools-minimal.x86_64.1.2.02-0.64.el7.centos will be upgraded

-- > package grub2-tools-minimal.x86_64.1.2.02-0.76.el7.centos.1 will be discarded

-- > checking transaction

-> package grub2.x86_64.1.2.02-0.64.el7.centos will be upgraded

-> package grub2.x86_64.1.2.02-0.64.el7.centos will be replaced

-- > package grub2.x86_64.1.2.02-0.76.el7.centos.1 will be discarded

-- > resolve dependency completion

Dependency resolution

=

Package Schema version Source size

Installing:

Grub2 x86x 64 1purl 2.02-0.76.el7.centos.1 updates 31k

Replace grub2.x86_64 1VR 2.02-0.64.el7.centos

Grub2-tools x86x 64 1purl 2.02-0.76.el7.centos.1 updates 1.8m

Replace grub2-tools.x86_64 1VR 2.02-0.64.el7.centos

Grub2-tools-extra x86x 64 1purl 2.02-0.76.el7.centos.1 updates 995k

Replace grub2-tools.x86_64 1VR 2.02-0.64.el7.centos

Grub2-tools-minimal x86x 64 1purl 2.02-0.76.el7.centos.1 updates 172k

Replace grub2-tools.x86_64 1VR 2.02-0.64.el7.centos

Updating:

Grub2-common noarch 1VR 2.02-0.76.el7.centos.1 updates 728k

Update for dependency:

Grub2-pc x86x 64 1purl 2.02-0.76.el7.centos.1 updates 31k

Grub2-pc-modules noarch 1VR 2.02-0.76.el7.centos.1 updates 846k

Transaction summary

Install 4 software packages

Upgrade 1 package (+ 2 dependent package)

Total downloads: 4.5 M

Is this ok [y/d/N]: y

Downloading packages:

(1can7): grub2-2.02-0.76.el7.centos.1.x86_64.rpm | 31 kB 00:00:00

(2ache 7): grub2-pc-2.02-0.76.el7.centos.1.x86_64.rpm | 31 kB 00:00:00

(3go 7): grub2-common-2.02-0.76.el7.centos.1.noarch.rpm | 728 kB 00:00:00

(4ax 7): grub2-pc-modules-2.02-0.76.el7.centos.1.noarch.rpm | 846 kB 00:00:00

(5 MB 7): grub2-tools-2.02-0.76.el7.centos.1.x86_64.rpm | 1.8 MB 00:00:00

(6 kB 7): grub2-tools-extra-2.02-0.76.el7.centos.1.x86_64.rpm | 995 kB 00:00:00

(7ax 7): grub2-tools-minimal-2.02-0.76.el7.centos.1.x86_64.rpm | 172 kB 00:00:00

Total 4.5 MB/s | 4.5 MB 00:00:00

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

Updating: 1:grub2-common-2.02-0.76.el7.centos.1.noarch 1 Compact 14

In the process of installation: 1:grub2-tools-minimal-2.02-0.76.el7.centos.1.x86_64 2Comp14

In the process of installation: 1:grub2-tools-2.02-0.76.el7.centos.1.x86_64 3Comp14

Installing: 1:grub2-tools-extra-2.02-0.76.el7.centos.1.x86_64 4Comp14

Updating: 1:grub2-pc-modules-2.02-0.76.el7.centos.1.noarch 5Universe 14

Being updated: 1:grub2-pc-2.02-0.76.el7.centos.1.x86_64 6Comp14

Installing: 1:grub2-2.02-0.76.el7.centos.1.x86_64 7swap 14

Clean up: 1:grub2-2.02-0.64.el7.centos.x86_64 8ax 14

Clean up: 1:grub2-pc-2.02-0.64.el7.centos.x86_64 9 Compact 14

Clean up: 1:grub2-tools-extra-2.02-0.64.el7.centos.x86_64 10 Compact 14

Clean up: 1:grub2-pc-modules-2.02-0.64.el7.centos.noarch 11 Compact 14

Clean up: 1:grub2-tools-minimal-2.02-0.64.el7.centos.x86_64 12 Compact 14

Clean up: 1:grub2-tools-2.02-0.64.el7.centos.x86_64 13 Compact 14

Clean up: 1:grub2-common-2.02-0.64.el7.centos.noarch 14 Compact 14

Validating: 1:grub2-pc-2.02-0.76.el7.centos.1.x86_64 1Comp14

Validating: 1:grub2-common-2.02-0.76.el7.centos.1.noarch 2Comp14

Validating: 1:grub2-tools-2.02-0.76.el7.centos.1.x86_64 3Comp14

Verifying: 1:grub2-2.02-0.76.el7.centos.1.x86_64 4ax 14

Validating: 1:grub2-pc-modules-2.02-0.76.el7.centos.1.noarch 5Comp14

Validating: 1:grub2-tools-minimal-2.02-0.76.el7.centos.1.x86_64 6Comp14

Validating: 1:grub2-tools-extra-2.02-0.76.el7.centos.1.x86_64 7and14

Validating: 1:grub2-tools-minimal-2.02-0.64.el7.centos.x86_64 8Comp14

Validating: 1:grub2-tools-extra-2.02-0.64.el7.centos.x86_64 9 Compact 14

Validating: 1:grub2-pc-2.02-0.64.el7.centos.x86_64 10 Compact 14

Validating: 1:grub2-common-2.02-0.64.el7.centos.noarch 11Comp14

Validating: 1:grub2-tools-2.02-0.64.el7.centos.x86_64 12 Compact 14

Validating: 1:grub2-tools-2.02-0.64.el7.centos.x86_64 13 Compact 14

Verifying: 1:grub2-2.02-0.64.el7.centos.x86_64 14plus 14

Verifying: 1:grub2-2.02-0.64.el7.centos.x86_64 15lap14

Validating: 1:grub2-pc-modules-2.02-0.64.el7.centos.noarch 16 Universe 14

Installed:

Grub2.x86_64 1VOR 2.02-0.76.el7.centos.1 grub2-tools.x86_64 1RU 2.02-0.76.el7.centos.1

Grub2-tools-extra.x86_64 1VOR 2.02-0.76.el7.centos.1 grub2-tools-minimal.x86_64 1RU 2.02-0.76.el7.centos.1

Update completed:

Grub2-common.noarch 1Vol 2.02-0.76.el7.centos.1

Upgraded as a dependency:

Grub2-pc.x86_64 1VOR 2.02-0.76.el7.centos.1 grub2-pc-modules.noarch 1RU 2.02-0.76.el7.centos.1

Override:

Grub2.x86_64 1VOR 2.02-0.64.el7.centos grub2-tools.x86_64 1RU 2.02-0.64.el7.centos

Over!

[root@localhost ~] #

And then reinstall

Yum groupinstall "GNOME Desktop"Graphical Administration Tools"-y

[root@localhost ~] # systemctl status-l vncserver@:1.service

● vncserver@:1.service-Remote desktop service (VNC)

Loaded: loaded (/ usr/lib/systemd/system/vncserver@:1.service; enabled; vendor preset: disabled)

Active: active (running) since II 2019-07-30 11:09:26 CST; 12s ago

Main PID: 45172 (Xvnc)

CGroup: / system.slice/system-vncserver.slice/vncserver@:1.service

? 45172 / usr/bin/Xvnc: 1-auth / root/.Xauthority-desktop localhost.localdomain:1 (root)-fp catalogue:/etc/X11/fontpath.d-geometry 1024x768-pn-rfbauth / root/.vnc/passwd-rfbport 5901-rfbwait 30000

July 30th 11:09:23 localhost.localdomain systemd [1]: Starting Remote desktop service (VNC).

July 30 11:09:26 localhost.localdomain systemd [1]: Started Remote desktop service (VNC).

Just start vncser at this time.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report