GUI for Windows 7: centos6.5 and windows7centos6.5

Source: Internet
Author: User

GUI for Windows 7: centos6.5 and windows7centos6.5
I. First confirm that gnome has been installed on centos, because centos itself does not have a graphical interface, not to mention access through the remote graphical interface, it will not work on the local image interface.

 

1. First, check the system running level and whether the desktop environment is installed.

1. Use commandsRunlevelView the current running level,

2. Use commandsYum grouplist | moreCheck whether the desktop environment components are installed,

 

 

2 Again, we can see from the above analysis that the current running level is 3, and there is no software installed in the desktop environment.

Then we can run the command to check the desktop environment software on the desktop, and then install the displayed software components. For example:

[Root @ localhost ~] # [Root @ localhost ~] #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 productinetworking

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

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

Select the Software Group related to the desktop environment from the above software group information, and then install the software group. The software group, input method, fonts, and other desktop environments I selected below will be used for your reference.

Run:

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"


 

 

The software installation process will take a while.

 

 

3. After installing the software for the desktop environment, change the system startup level to 5.

Edit the/etc/inittab file and set the startup level to 5. For example, restart the file to enter the desktop environment. Because I am in a remote environment, I only use the command line to remotely use VNC for the desktop environment.

 

Modify/etc/inittab and change runlevel to 5, for example, [root @ QRedHat etc] # cat/etc/inittab ......
Id: 5: initdefault :......
Run linux in 5-level Mode

 

 

2. configure remote connection now

First, you will think about how centos supports remote services, that is, the following:

$ Yum install TPD

 

1. Linux Configuration:
Start the Display Manager after the device is started. Open the/etc/inittab file and change runlevel to 5, that is, to id: 5: initdefault: If it is 5, you do not need to modify it.
The Display Manager of the system is managed by the displaymanager file. The Display Manager is only started after the system is started.

Linux Configuration:

 

Start the Display Manager after the device is started.

Open the/etc/inittab file and change runlevel to 5, that is, to id: 5: initdefault: If it is 5, you do not need to modify it.

 

The Display Manager of the system is managed by the displaymanager file. The Display Manager is only started after the system is started.


2. configuration on CentOS 5 (applicable to Linux with Gnome by default ):


1. Configure the name of the target instance.
The default image environment of CentOS 5 is Gnome, and only the guid Management System (guid) is installed. The KDE of CentOS 5 also uses the Message Management System (guid) instead of KDM. Therefore, for CentOS 5, you only need to configure the target instance.
Method 1: edit/etc/TPD/custom. conf and add the following content:
[Daemon]
RemoteGreeter =/usr/libexec/gdmgreeter note: the "remote logon interface is the same as the local logon interface" function. If this option and [greeter] are not available, the logon interface is simple [security].

AllowRemoteRoot = true Note: allow the root user to log on remotely [xdmcp]
Enable = true Note: Allow Remote logon to the local machine. xdmcp defaults to Port 177. Port = 177 [greeter] is not displayed here.
Browser = true note: the remote logon interface is "simple theme with Avatar Browser". If [daemon] item is defined

CentOS 5

(For Linux with Gnome by default ):

1. Configuration

The default graphic environment of the running machine for the running machine of the running machine. Therefore, for CentOS 5, you only need to configure

 

Method 1: Edit

Add the following content to/etc/TPD/custom. conf:

The configuration file on my computer is as follows:

# GDM configuration storage[daemon]RemoteGreeter=/usr/libexec/gdmgreeter[security]AllowRemoteRoot=true[xdmcp]Port=177Enable=true[greeter][chooser][debug]


 

 

 

3. Restart the service:
1. Open the UDP 177 port in the firewall. If the firewall is disabled, skip this step.
Method 1 (applicable to terminals): Add the following content to the/etc/sysconfig/iptables file:
-A RH-Firewall-1-INPUT-m state -- state NEW-m udp-p udp -- dport 177-j ACCEPT

Then run $ service iptables restart

 

No. You can directly disable the firewall $ service iptables stop.

 

 

 

 

3. Install xmanager(xme4.exe) on windows. You do not need to download the so-called cracked version. The official website of xmanager(xme4.exe) can be used, but there should be time restrictions.

After installation, use xbrower to create an Xtart session, for example:

 

[Daemon]

 

RemoteGreeter =/usr/libexec/gdmgreeter

 

Note: The remote logon interface is the same as the local logon interface,

If this option and

[Greeter]

Item, the logon interface is simple

 

 

 

4. Now we have successfully connected to centos!

 

Completed at 20140709

 

[Security]


 

 

 


Win 7 telnet Remote Control Linux how to access graphical interface

Telnet cannot have a graphical interface. To remotely access the graphic interface, see VNC settings.

How to switch centos 60 to the graphic interface

I assume that you have installed the Desktop
Temporary: startx
Long Term: Modify/etc/inittab, and change 3 (or other) to 5.
(Id: 3: initdefault :)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.