Linux下的图形界面——X Window的安装

 

        X Window即X Windows图形用户接口,是一种计算机软件系统和网络协议,提供了一个基础的图形用户界面(GUI)和丰富的输入设备能力联网计算机。其中软件编写使用广义的命令集,它建立了一个硬件抽象层,容许设备独立性和重用方案的任何计算机上实现。本文讲解如何在最小化安装的RedHat中安装X Window(只供学习使用,生产环境不会这样作)。数据库


#ssh以支持XWindow的形式登陆
[root@larrywen software]# ssh 192.168.0.29 -X
The authenticity of host '192.168.0.29 (192.168.0.29)' can't be established.
RSA key fingerprint is 38:a0:60:c2:e8:71:26:e5:b3:83:75:a8:e6:25:d8:5e.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.29' (RSA) to the list of known hosts.
root@192.168.0.29's password: 
Last login: Sat Jul 27 13:46:29 2013 from 192.168.0.10
#本地建立一个文件,编辑保存一个文件到远程,能够看到远程有刚建立的文件
[root@michael ~]# gedit
[root@michael ~]# 


#以支持XWindow的形式登陆,远程不安装X Window服务,能够看到本机编辑保存的文件
[root@larrywen Desktop]# ssh 192.168.1.11 -X
root@192.168.1.11's password: 
Last login: Sat Jul 27 19:26:38 2013 from 192.168.1.1
/usr/bin/xauth:  creating new authority file /root/.Xauthority
[root@serv01 ~]# gedit

[root@serv01 ~]# ls Unsaved\ Document\ 1 
Unsaved Document 1

#安装X Window,建议安装完后重启
[root@serv01 ~]# yum groupinstall "X Window System" "Desktop" -y
#卸载X Window 
[root@serv01 ~]# yum groupremove "X Window System" "Desktop" -y
#能够选择安装Gnome或者KDE
#RHEL5 6,Desktop 默认是Gnome
#RHEL4,Desktop 默认是KDE

#虚拟机下要启动图形界面,须要调整内存,最好800M

#字符界面下启动图形界面
[root@serv01 ~]# startx

#图形界面下退回字符界面
Ctrl+Alt+Back

#测试用:若是安装后卸载而后从新安装后出现鼠标、键盘不能移动,重启解决


        参考资料:http://baike.baidu.com/view/398752.htm
微信

个人邮箱wgbno27@163.com  新浪微博@Wentasy27
  微信公众平台:JustOracle(微信号:justoracle)
  数据库技术交流群:336882565(加群时验证 From CSDN XXX)
  Oracle交流讨论组https://groups.google.com/d/forum/justoracle
  By Larry Wen


katoon Sina CSDN
@Wentasy 博文仅供参考,欢迎你们来访。若有错误之处,但愿批评指正。原创博文如需转载请注明出处,谢谢 :) [CSDN博客]
相关文章
相关标签/搜索