Centos7.0中如何安装图形化界面

shopnc1 2015-04-02 04:50:49
俺用的是阿里云中的服务器,装的是Centos7.0,但默认安装里面没有图形化界面
所以还要手动装下,
使用的是这个方法
http://www.centoscn.com/image-text/install/2014/0504/2905.html
但装完后教程 中要[root@localhost ~]$ vncserver,但是按其办法根本不行,不知为啥,是不是这个办法在恶作剧骗人呢

我最后用startx命令进入,根本不行
是下面的提示
login as: root
root@114.215.99.156's password:
Last login: Thu Apr 2 16:00:45 2015 from 39.64.61.18

Welcome to aliyun Elastic Compute Service!

[root@iZ28xo4kcz3Z ~]# rpm -q vnc vnc-server
package vnc is not installed
package vnc-server is not installed
[root@iZ28xo4kcz3Z ~]# yum install vnc vnc-server
Loaded plugins: langpacks
Package tigervnc-server-module-1.2.80-0.30.20130314svn5065.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package tigervnc.x86_64 0:1.2.80-0.30.20130314svn5065.el7 will be installed
--> Processing Dependency: tigervnc-icons for package: tigervnc-1.2.80-0.30.20130314svn5065.el7.x86_64
--> Processing Dependency: hicolor-icon-theme for package: tigervnc-1.2.80-0.30.20130314svn5065.el7.x86_64
--> Processing Dependency: libfltk_images.so.1.3()(64bit) for package: tigervnc-1.2.80-0.30.20130314svn5065.el7.x86_64
--> Processing Dependency: libfltk.so.1.3()(64bit) for package: tigervnc-1.2.80-0.30.20130314svn5065.el7.x86_64
--> Running transaction check
---> Package fltk.x86_64 0:1.3.0-13.el7 will be installed
--> Processing Dependency: libGLU.so.1()(64bit) for package: fltk-1.3.0-13.el7.x86_64
---> Package hicolor-icon-theme.noarch 0:0.12-7.el7 will be installed
---> Package tigervnc-icons.noarch 0:1.2.80-0.30.20130314svn5065.el7 will be installed
--> Running transaction check
---> Package mesa-libGLU.x86_64 0:9.0.0-4.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository
Size
================================================================================
Installing:
tigervnc x86_64 1.2.80-0.30.20130314svn5065.el7 base 212 k
Installing for dependencies:
fltk x86_64 1.3.0-13.el7 base 654 k
hicolor-icon-theme noarch 0.12-7.el7 base 42 k
mesa-libGLU x86_64 9.0.0-4.el7 base 196 k
tigervnc-icons noarch 1.2.80-0.30.20130314svn5065.el7 base 34 k

Transaction Summary
================================================================================
Install 1 Package (+4 Dependent packages)

Total download size: 1.1 M
Installed size: 2.7 M
Is this ok [y/d/N]: y
Downloading packages:
(1/5): mesa-libGLU-9.0.0-4.el7.x86_64.rpm | 196 kB 00:00
(2/5): tigervnc-icons-1.2.80-0.30.20130314svn5065.el7.noar | 34 kB 00:00
(3/5): hicolor-icon-theme-0.12-7.el7.noarch.rpm | 42 kB 00:00
(4/5): fltk-1.3.0-13.el7.x86_64.rpm | 654 kB 00:00
(5/5): tigervnc-1.2.80-0.30.20130314svn5065.el7.x86_64.rpm | 212 kB 00:00
--------------------------------------------------------------------------------
Total 2.0 MB/s | 1.1 MB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : tigervnc-icons-1.2.80-0.30.20130314svn5065.el7.noarch 1/5
Installing : mesa-libGLU-9.0.0-4.el7.x86_64 2/5
Installing : fltk-1.3.0-13.el7.x86_64 3/5
Installing : hicolor-icon-theme-0.12-7.el7.noarch 4/5
Installing : tigervnc-1.2.80-0.30.20130314svn5065.el7.x86_64 5/5
Verifying : hicolor-icon-theme-0.12-7.el7.noarch 1/5
Verifying : fltk-1.3.0-13.el7.x86_64 2/5
Verifying : tigervnc-1.2.80-0.30.20130314svn5065.el7.x86_64 3/5
Verifying : mesa-libGLU-9.0.0-4.el7.x86_64 4/5
Verifying : tigervnc-icons-1.2.80-0.30.20130314svn5065.el7.noarch 5/5

Installed:
tigervnc.x86_64 0:1.2.80-0.30.20130314svn5065.el7

Dependency Installed:
fltk.x86_64 0:1.3.0-13.el7
hicolor-icon-theme.noarch 0:0.12-7.el7
mesa-libGLU.x86_64 0:9.0.0-4.el7
tigervnc-icons.noarch 0:1.2.80-0.30.20130314svn5065.el7

Complete!
[root@iZ28xo4kcz3Z ~]# ^C
[root@iZ28xo4kcz3Z ~]# fltk.x86_64 0:1.3.0-13.el7
-bash: fltk.x86_64: command not found
[root@iZ28xo4kcz3Z ~]# hicolor-icon-theme.noarch 0:0.12-7.el7
-bash: hicolor-icon-theme.noarch: command not found
[root@iZ28xo4kcz3Z ~]# mesa-libGLU.x86_64 0:9.0.0-4.el7
-bash: mesa-libGLU.x86_64: command not found
[root@iZ28xo4kcz3Z ~]# tigervnc-icons.noarch 0:1.2.80-0.30.20130314svn5065.el7
-bash: tigervnc-icons.noarch: command not found
[root@iZ28xo4kcz3Z ~]#
[root@iZ28xo4kcz3Z ~]# Complete!
-bash: Complete!: command not found
[root@iZ28xo4kcz3Z ~]#
[root@iZ28xo4kcz3Z ~]#
[root@iZ28xo4kcz3Z ~]#
[root@iZ28xo4kcz3Z ~]#
[root@iZ28xo4kcz3Z ~]#
[root@iZ28xo4kcz3Z ~]# startx
xauth: file /root/.serverauth.28195 does not exist


X.Org X Server 1.15.0
Release Date: 2013-12-27
X Protocol Version 11, Revision 0
Build Operating System: 2.6.32-220.17.1.el6.x86_64
Current Operating System: Linux iZ28xo4kcz3Z 3.10.0-123.9.3.el7.x86_64 #1 SMP Thu Nov 6 15:06:03 UTC 2014 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.10.0-123.9.3.el7.x86_64 root=UUID=6634633e-001d-43ba-8fab-202f1df93339 ro crashkernel=auto vconsole.font=latarcyrheb-sun16 vconsole.keymap=us biosdevname=0 rhgb quiet LANG=en_US.UTF-8
Build Date: 06 March 2015 06:10:58AM
Build ID: xorg-x11-server 1.15.0-32.el7
Current version of pixman: 0.32.4
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.0.log", Time: Thu Apr 2 17:07:21 2015
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
xinit: connection to X server lost

waiting for X server to shut down error setting MTRR (base = 0xf0000000, size = 0x00400000, type = 1) Invalid argument (22)
(EE) Server terminated successfully (0). Closing log file.

[root@iZ28xo4kcz3Z ~]#
...全文
31044 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
坤坤宝贝仔 2018-10-25
  • 打赏
  • 举报
回复
引用 6 楼 miner_k 的回复:
http://blog.csdn.net/miner_k/article/details/65634959
太感谢了,这个回复完美解决了我的问题!
miner_k 2017-03-24
  • 打赏
  • 举报
回复
http://blog.csdn.net/miner_k/article/details/65634959
sjfjsdfhsanjf 2016-03-30
  • 打赏
  • 举报
回复
请问您的服务器上配置的是lamp么?
蚂蚁快跑007 2016-02-16
  • 打赏
  • 举报
回复
yum groupinstall “X Windows System” yum groupinstall “Desktop” yum groupinstall “Chinese Support” 就可以了
xiaoding0 2015-04-08
  • 打赏
  • 举报
回复
你提到的这个网址好像是前提安装过GNOME之后安装的VNC远程连接服务吧。我也遇到了类似的问题,等答案
shopnc1 2015-04-02
  • 打赏
  • 举报
回复
安装GONME界面时也提示错误 [root@iZ28xo4kcz3Z ~]# yum groupinstall 'GNOME Desktop Environment' -y Loaded plugins: langpacks Warning: group GNOME Desktop Environment does not exist. Maybe run: yum groups mark install (see man yum) No packages in any requested group available to install or update [root@iZ28xo4kcz3Z ~]#
shopnc1 2015-04-02
  • 打赏
  • 举报
回复
安装图形界面时提示错误,不知为啥 [root@iZ28xo4kcz3Z ~]# yum groupinstall 'KDE (K Desktop Environment)' -y Loaded plugins: langpacks Warning: group KDE (K Desktop Environment) does not exist. Maybe run: yum groups mark install (see man yum) No packages in any requested group available to install or update [root@iZ28xo4kcz3Z ~]#

19,622

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧