Linux remote desktop link-vnc configuration in suse and ubuntu

Source: Internet
Author: User
Linnux Remote Desktop Connection & mdash; suse and vnc configuration in ubuntu: in many cases, we need to use linux Remote Desktop Connection. at this time, appropriate configuration is often very important. This article mainly explains how ncserver works, and configures vnc in ubuntu and suse environments... linnux Remote Desktop link-vnc configuration in suse and ubuntu: in many cases, we need to use Remote Desktop Connection in linux. at this time, proper configuration is often very important. This article mainly explains how ncserver works and how to configure vnc in ubuntu and suse environments. 1. VNC workflow (1) start the VNC Server on the Server side. (2) connect the VNC client to the VNC Server through a browser or VNC Viewer. (3) The VNC Server sends a dialog window to the client, requiring that you enter the connection password and access the VNC Server display device. (4) after the client enters the online password, the VNC Server verifies that the client has the access permission. (5) If the client passes the VNC Server verification, the client requires the VNC Server to display the desktop environment. (6) The VNC Server uses X Protocol to require X Server to assign control of the display to the VNC Server. (7) The VNC Server will be sent to the client using the VNC communication protocol in the desktop environment of X Server in the future, and allow the client to control the desktop environment and input device of the VNC Server. 2. preparations before use 1) install vncserveron the server side 2) install Vnciewer3 on the client side) disable the firewall suse: sudo SuSEfirewall2 stop 3. how to start the Vnc service: enter vncsever on the server side (a password is prompted for confirmation) 4. configure the xstartup startup script. Use VI to edit the/root/. vnc/xstartup script :#! /Bin/sh xrdb $ HOME /. xresources xsetroot-solid gray xterm-geometry 80x24 10 10-ls-title "$ VNCDESKTOP Desktop" & twm & change the last line to startgnome DISPLAY =: 1 gnome-session (this line is optional) is to start the gnome GUI window. (If it is in the suse environment, it should be startkde) save and restart vnc. 5. connect to the vncserver client. input: vncviewer IP: desktop number 6. vnc commands vncserver [: display #] [-name desktop-name] [-geometry widthxheight] [-depth] [-pixelformat format] [Xvnc-options...] vncserver-kill: display #7. important configuration file $ HOME /. vnc/xstartup when VNC desktop is started, the x application under this script will be started. The xdm (X Display Manager, X Display Manager) command manages the X Display set, which may be on a local host or remote server. Xsetroot-root window parameter setting utility for X xterm-terminal emulator for X

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.