windows7 图形界面远程 centos6.5

一.首先确定centos已经安装了gnome,因为centos自身没有图形界面,别说远程图形界面方式访问了,就本地图像界面方式都不行

1、首先查看系统的运行级别以及是否安装了桌面环境

     1、使用命令 runlevel 查看当前的运行级别 ,如图所示

2、使用命令 yum grouplist | more  查看是否安装了桌面环境的组件,如图所示

     

2、再次从上面分析的结果看到,当前运行级别是3,而且也没有安装桌面环境的软件。

  然后我们使用命令查看一下桌面有哪些桌面环境的软件,然后装显示出来的软件组件就可以了。例如:

[[email protected] ~]#[[email protected] ~]# yum grouplist | more

Loaded plugins: fastestmirrorSetting up Group ProcessLoading mirror speeds from cached hostfile

* base: mirrors.usc.edu * extras: centos.mirror.ndchost.com *

updates: mirror-centos.hostingswift.com

Installed Groups:   E-mail server   Security Tools   Storage

Availability Tools   iSCSI Storage Client

Available Groups:

Additional Development

Backup Client   Backup Server

Base   CIFS file server

Client management tools

Compatibility libraries

Console internet tools

Debugging Tools  

Desktop

Desktop Debugging and Performance Tools 

Desktop Platform  

Desktop Platform Development

Development tools

Dial-up Networking Support

Directory Client

Directory Server

Eclipse

Emacs

FCoE Storage Client

FTP server 

Fonts 

General Purpose Desktop 

Graphical Administration Tools  

Graphics Creation Tools

Hardware monitoring utilities

High Availability

High Availability Management

Identity Management Server

Infiniband Support

Input Methods

Internet Applications

Internet Browser

Java Platform

KDE Desktop

Large Systems Performance

Legacy UNIX compatibility

Legacy X Window System compatibility

Load Balancer

Mainframe Access

Messaging Client Support

MySQL Database client

MySQL Database server

NFS file server

Network Infrastructure Server

Network Storage Server

Network file system client

Networking Tools

Office Suite and Productivity

PHP Support

Performance Tools

Perl Support   PostgreSQL

Database client

PostgreSQL Database server

Print Server

Printing client

Remote Desktop Clients

Resilient Storage

Ruby Support

SNMP Support

Scientific support

Server Platform

Server Platform Development

Smart card support

System Management

System administration tools

TeX support   Technical Writing

TurboGears application framework

Virtualization

Virtualization Client

Virtualization Platform

Virtualization Tools

Web Server

Web Servlet Engine

Web-Based Enterprise Management  

X Window System

Available Language Groups:

Catalan Support [ca]

Chhattisgarhi Support [hne]

Chichewa Support [ny]

Chinese Support [zh]

Coptic Support [cop]

Croatian Support [hr]

Czech Support [cs]

Danish Support [da]

Dutch Support [nl]

English (UK) Support [en_GB]

Esperanto Support [eo]

Telugu Support [te]

Tetum Support [tet]

Zulu Support [zu]

Done

===========================================

从上面的软件组信息,挑选与桌面环境有关的软件组,然后安装即可,我下面选择的软件组与输入法还有字体等桌面环境需要用到的供大家参考一下。

执行:

yum groupinstall -y   "Desktop"   "Desktop Platform"   "Desktop Platform Development"  "Fonts"  "General Purpose Desktop"  "Graphical Administration Tools"  "Graphics Creation Tools"  "Input Methods"  "X Window System"  "Chinese Support [zh]" "Internet Browser"

后面的是安装软件过程,需要等等一阵时间。

3 、安装好了桌面环境的软件,然后再修改一下系统的启动级别 为 5

  编辑/etc/inittab文件,修改启级别为5,如下图,然后重新启动就可以进入桌面环境了。因为我这是远程环境的,只是运用了命令行,可以使用VNC进行桌面环境的远程。

修改/etc/inittab,改变runlevel为5,例如 [[email protected] etc]# cat /etc/inittab ......

id:5:initdefault: ......

改为5级别方式运行linux

二.现在开始配置远程

大家首先会想,centos如何支持远程服务,那就是gdm:

$yum install gdm

1. Linux 端的配置:

开机后就要启动显示管理器。打开 /etc/inittab文件,将 runlevel 变为5,即修改为id:5:initdefault: 如果原来就是5,则不用修改。

系统的显示管理器由displaymanager文件管理,此处仅为确定开机后启动显示管理器。

Linux 端的配置:

开机后就要启动显示管理器。

打开/etc/inittab文件,将runlevel 变为5,即修改为id:5:initdefault: 如果原来就是5,则不用修改。

系统的显示管理器由displaymanager文件管理,此处仅为确定开机后启动显示管理器。

2. CentOS 5 上的配置(适用于默认图形环境为Gnome的Linux):

1、配置GDM。

CentOS 5的默认图形环境为Gnome,只安装了GDM,而CentOS 5的KDE也是使用GDM而不是KDM。所以CentOS 5只需配置GDM。

方法1:编辑/etc/gdm/custom.conf,添加如下内容:

[daemon]

RemoteGreeter=/usr/libexec/gdmgreeter  注:“远程登录界面与本地登录界面相同”功能,若没有此项及[greeter]项则登录界面为简洁型 [security]

AllowRemoteRoot=true  注:允许root用户远程登录 [xdmcp]

Enable=true  注:允许远程登录本地,xdmcp默认端口177,此处没有显示的加入Port=177 [greeter]

Browser=true  注:远程登录界面为“带头像浏览器的简洁主题”,若定义了[daemon]项本行

CentOS 5

上的配置(适用于默认图形环境为Gnome的Linux):

1、配置

GDM CentOS 5的默认图形环境为Gnome,只安装了GDM,而CentOS 5的KDE也是使用GDM而不是KDM。所以CentOS 5只需配置GDM

方法1:编辑

/etc/gdm/custom.conf,添加如下内容:

我计算机上的配置文件如下:

# GDM configuration storage

[daemon]
RemoteGreeter=/usr/libexec/gdmgreeter
[security]
AllowRemoteRoot=true
[xdmcp]
Port=177
Enable=true
[greeter]

[chooser]

[debug]

3.重启服务:

1、开放防火墙中的UDP 177端口。若已禁用防火墙,则可跳过此项。

方法1(适用于终端):在/etc/sysconfig/iptables文件中加入:

-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 177 -j ACCEPT

然后执行$service iptables restart

实在不行,可以直接关闭防火墙 $service iptables stop

三.在windows上安装xmanager(Xme4.exe),不用下载所谓的破解版,其官网的正版可以使用,不过应该有时间限制

安装好后,通过xbrower新建Xtart会话,如下图:

[daemon]

RemoteGreeter=/usr/libexec/gdmgreeter

注:“远程登录界面与本地登录界面相同”功能,

若没有此项及

[greeter]

项则登录界面为简洁型

四.好了,现在成功连接centos了!

完成于20140709

[security]

windows7 图形界面远程 centos6.5

时间: 2024-08-29 07:09:41

windows7 图形界面远程 centos6.5的相关文章

树莓派系列教程:1.环境与系统,无显示器无键盘无网线联网并使用PuTTy与VNC图形界面远程登录

本文所需物品清单: Raspberry Pi 3 Model B 主板.SD卡与读卡器(用于烧录系统) 资料整理来源在文尾 需要下载的资源与工具: 推荐系统-Raspbian 树莓派官方深度定制的硬件驱动与软件程序 下载链接:http://downloads.raspberrypi.org/raspbian_latest 烧录工具-Win32DiskImager v0.9.zip (sourceforge.net) 远程工具-PUTTY(使用介绍)下载Windows客户端RealVNC View

使用Xmanager远程连接CentOS6.4图形界面详解(图文)

1.首先安装与下载图形界面GNOMEyum groupinstall "Desktop"yum groupinstall "X Window System"yum groupinstall "Chinese Support"  (可选项) 假如提示有以下错误产生: Loaded plugins: fastestmirror, prestoCould not retrieve mirrorlist http://mirrorlist.centos.

CentOS6 图形界面(gnome)安装,使用vnc进行远程连接

CentOS6相对于CentOS5的安装有了不少的进步,有不少默认的选项可以选择,如: Desktop :基本的桌面系统,包括常用的桌面软件,如文档查看工具. Minimal Desktop :基本的桌面系统,包含的软件更少. Minimal :基本的系统,不含有任何可选的软件包. Basic Server :安装的基本系统的平台支持,不包含桌面. Database Server :基本系统平台,加上MySQL和PostgreSQL数据库,无桌面. Web Server :基本系统平台,加上PH

centos6.5安装图形界面,windows远程linux图形界面

1. 查询是否已安装图形界面 yum grouplist |more 在grouplist的输出结果中的“Installed Groups:”部分中,如果你能找到“X Window System”和GNOME Desktop或KDE 或XFCE-4.4的话,证明你安装了桌面环境. 2.安装 #yum groupinstall "X Window System"#yum groupinstall "GNOME Desktop Environment"或#yum gro

CentOS6.5安装图形界面(Gnome)

因为是以最小化安装的Linux,无法使用图形界面,从网上看到资料,我使用yum安装果然很简单 ------------------------------------------------------------------------------------------------------ 二.安装好后,使用网络安装(如果网络比较快,这个方法简单) yum groupinstall "Desktop" yum groupinstall "X Window System

widows本地-xshell实现远程连接linux服务器图形界面

本地环境远程连接linux图形界面,常用的实现工具有,VNC.Puty.Xshell等,这里我们用的xshell manager: Xmanager简介:Xmanager是一个运行于 Windows平台上的高性能的X Server软件.它能把远端Unix/Linux的桌面无缝地带到你的Windows上,甚至电脑是在内网或防火墙后,也能通过SSH协议安全的运行远端的X应用程序. 特点包括: 可通过Xcongfig工具设置多个Xmanager设置: 支持多用户的Windows终端环境: 支持多个IP

CentOS6.5安装图形界面

转载自http://www.cnblogs.com/zydev/p/5128788.html 一.使用网络安装(如果网络比较快,这个方法简单) yum groupinstall "Desktop"yum groupinstall "X Window System"yum groupinstall "Chinese Support" yum groupinstall "Font" startx (我在云服务器上用的就是这个,成功

win7通过ssh远程登录mininet虚拟机,运行wireshark并通过x11在宿主机显示图形界面

step1:在win7端安装ssh客户端putty putty下载地址:http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html step2:在win7端安装xming(x server) xming下载地址:http://sourceforge.net/projects/xming/files/latest/download 安装完成后,找到安装目录下的xn.hosts(如x0.hosts)文件,这个文件中的每一行表示一个i

Linux远程连接图形界面的几种方法

1.利用Xmanager,linux启用XDMCP协议(可直接修改配置文件,也 可以采用在Xshell中运行gdmconfig或gdmsetup,选择XDMCP选项卡,勾选启动XDMCP即可),Xbrowser即可发现 linux主机, 以图形化方式访问linux. #vim /usr/share/gdm/defaults.conf     --编辑这个文件,更改配置成如下正确结 AllowRoot=true AllowRemoteRoot=true Enable=true 更改完成后,重启gd