Redhat 6 tigervnc-server installation configuration

Source: Internet
Author: User

1: install tigervnc-server service

Yum install tigervnc-server

2: edit/etc/sysconfig/vncservers

   

VNCSERVERS = "1: Hvnc" (indicates the first VNC service and the user is Hvnc)

# VNCSERVERARGS [2] = "-geometry 800x600-nolisten tcp-localhost"

3: Create an Hvnc user

Useradd Hvnc

4: Enter the Hvnc user and initialize the vnc password and service.

Su-Hvnc

  

[[Email protected] ~] $ Vncserver


You will require a password to access your tops.


Password:

Verify:

Xauth: (stdin): 1: bad display name "oradb1: 1" in "add" command

At this time, the following error may be reported:

[Dix] cocould not init font path element/usr/share/X11/fonts/misc, removing from list!

[Dix] cocould not init font path element/usr/share/X11/fonts/100 dpi, removing from list!

[Dix] cocould not init font path element/usr/share/X11/fonts/Type1, removing from list!

[Dix] cocould not init font path element/usr/share/fonts/default/Type1, removing from list!

[Dix] cocould not init font path element built-ins, removing from list!

(EE)

Fatal server error:

(EE) cocould not open default font 'fixed' (EE)


However, we can still see that the vnc service has started one:

[[Email protected] ~] $ Vncserver-list


TigerVNC server sessions:


X display # PROCESS ID

: 1 50440

[[Email protected] ~] $


Disable the vnc service first.


Vncserver-kill: 1



Then install a package:

Yum install libXfont

After the installation is complete, start vnc again. The successful startup process is as follows:


[[Email protected] ~] $ Vncserver

Xauth: (stdin): 1: bad display name "oradb1: 1" in "add" command


New 'oradb1: 1 (Hvnc) 'desktop is oradb1: 1


Creating default startup script/home/Hvnc/. vnc/xstartup

Starting applications specified in/home/Hvnc/. vnc/xstartup

Log file is/home/Hvnc/. vnc/oradb1: 1.log


Check the port startup status. Port 5901 has been started.


[[Email protected] ~] $ Netstat-na | grep 5901

Tcp 0 0 0.0.0.0: 5901 0.0.0.0: * LISTEN

[[Email protected] ~] $


5: log on to the VNC client and add the IP address to the port number.

650) this. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/DD/wKioL1RbMrLxANERAACz-7ePA5A868.jpg "title =" vnc.png "alt =" wKioL1RbMrLxANERAACz-7ePA5A868.jpg "/>

650) this. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/DE/wKiom1RbMrDCOQ6EAACb0rccduc991.jpg "title =" vnc2.png "alt =" wKiom1RbMrDCOQ6EAACb0rccduc991.jpg "/>


The password must be initialized in step 3 above.


6: enter the operating system Remote Desktop

650) this. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/DE/wKiom1RbMyGw9ck5AALFbcPqSbo909.jpg "title =" vnc3.png "alt =" wKiom1RbMyGw9ck5AALFbcPqSbo909.jpg "/>



 






This article is from the "7702190" blog, please be sure to keep this source http://7712190.blog.51cto.com/7702190/1573761

Redhat 6 tigervnc-server installation configuration

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.