Set up Fluxbox VNC Remote Desktop service in CentOS 5 and install FireFox

Source: Internet
Author: User
Tags centos vps

I have shared many articles in my blog about how to set up VNC Remote Desktop for Linux VPS hosts. I have mentioned in an article that I will not write it again next time, so I feel like I am writing too much, A little appetizing. I am not holding back this time. I will share my article on setting up Fluxbox VNC Remote Desktop in CentOS 5 today with my blog. Because several netizens usually work in order-to-order business (a lot of people should do it like Amazon), in view of the low cost of Linux VPS and the need to simulate Remote Desktop, remote logon requires manual users in the FireFox browser to buy products.

 

Some of the articles I have not previously shared use VNC Remote environments based on some environments, such as LXDE and XFCE. However, to simulate more authenticity, I want to use different environments (I don't know what the principle is, but I want to work out different environments). As a result, many people have mentioned the Fluxbox remote desktop environment, as a result, I have compiled an article on installing Fluxbox.

 

PS: The following content and screenshots are based on the actual display on the test machine, but they cannot be ensured that all environments can be used. In some cases, various problems may occur, for some unknown reasons, I am confused. Let's get started.

 

1. Install the RPMForge software library

 

The code is as follows:

Wget ftp://fr2.rpmfind.net/linux/dag/redhat/el5/en/x86_64/dag/RPMS/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm;rpm-Uvh rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm

 

Here laozuo.org is based on the CentOS 5 64bit environment, so I directly use this RPMForge library for update and installation. If we use a 32-bit version, we need to find a 32-bit version.

 


 

2. Install necessary installation packages

 

The code is as follows:

Yum install vnc-server vnc xorg-x11-xinit fluxbox xterm xarchiver firefox-y;

 

Install the required software packages, such as vnc-server, fluxbox, and firefox. Directly press enter and wait until the installation is complete.

 


 

Third, configure the interface resolution

 

The code is as follows:

Vi/etc/sysconfig/vncservers

 

Edit the file and add the following in the last line:

 

The code is as follows:

VNCSERVERS = "1: root"
VNCSERVERARGS [1] = "-geometry 1024x768"

 


 

Save and exit after adding. If we open this file and see that all the files are blank, we need to execute:

 

The code is as follows:

Yum install tigervnc-server-y

 

Run the command to install tigervnc. After installation, edit the vncservers file.

 

4. Start VNC and set the password

The code is as follows:

Chkconfig vncserver on
Vncserver

 

Here we need to start VNC and set the password. The password needs to be entered twice.

 


Fifth, configure the system file

The code is as follows:

Vi/root/. vnc/xstartup

 

Open the file in the VI editor and add the code at the end:

The code is as follows:

Amule &
Fluxbox &

 

Save and exit.

 


6. Restart VNC and set startup items

Service vncserver restart
Touch/root/. vnc/vncstart; chmod + x/root/. vnc/vncstart; echo "service vncserver start">/root/. vnc/vncstart
Echo "sh/root/. vnc/vncstart">/etc/rc. local


 


 

So far, laozuo.org has completed deployment and installation of Fluxbox VNC. There are not many texts, but I have already installed Fluxbox VNC several times. I have encountered various problems and it takes several hours, writing articles is really hard.

7. Log on to the VNC client for remote connection

 

Here we can use the VNC client Tool Link, vncviewer (http://soft.laozuo.org/tools/vncviewer.zip) or TightVNC is a more common tool.

 

 

After confirming, enter the VNC password we set.

 


The remote desktop is still relatively smooth here (it has failed many times), and then right-click to see the menu (at first, I am still dumbly looking for the menu above and below ), here, FireFox is generally needed. After the FireFox browser is opened, it is the project that we can operate on.

To sum up, Fluxbox installs the remote desktop VNC environment so that it can at least ensure that the current article is true and effective, although it has failed many times during the process. In this way, we have another method to install remote desktop on the Linux server. By the way, if a friend has access to other methods, he can leave a message. I will study it later. Although the process is hard, I am glad to see the actual effect.

Related Article

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.