In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "the configuration and use of vnc under the linux system". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "the configuration and use of vnc under the linux system".
VNC basically consists of two parts: one is the client application (vncviewer), and the other is the service.
Server-side application (vncserver). The basic operation principle of VNC is very similar to some remote control software under Windows.
Elephant. The server-side application of VNC has strong adaptability in UNIX and Linux operating systems, and the graphical user interface is very friendly.
It also looks similar to the software interface under Windows. In any application (vncviewer) where the client is installed
Computers on Linux platform can be very convenient and computers with server-side applications (vncserver) installed.
Connect to each other. In addition, the server-side (vncserver) also has a built-in JavaWeb interface, so that users can access the
The operation of other computers can be displayed through browsers such as firefox, and the operation process is compared with the display mode.
Intuitive and convenient.
Server-side settin
I. linux system
Install two rpm packages, VNC and VNC-server, and download the tar package, but use the rpm package for convenience.
After installing the two packages:
1. Run the "vncserver" command to formally use a xdm as a VNC server, and then "New" x "desktop appears.
Things like is hostname "1", where the last "1" indicates that this is the first VNC graphical interface, if you run a
The next "vncserver" command, the "New" x "desktop is hostname" 2 "appears, and the last 2 indicates this.
Is the second graphical interface. And so on, run and increase again.
2. The server configuration is that simple, but if you want to use a more beautiful gdm or kdm instead of xdm, you have to do it.
Some modifications have been made: edit the ~ / .vnc / xstartup file since the first time you run the "vncserver" command
Motion is generated. Comment out all the lines in the xstartup file that are not disabled by default with "#", and comment out the lines that have been commented out by default with "#"
Uncomment the line, as shown below.
#! / bin/sh
# Uncomment the following two lines for normal desktop:
Unset SESSION_MANAGER
Exec / etc/X11/xinit/xinitrc
# [- x / etc/vnc/xstartup] & & exec / etc/vnc/xstartup
# [- r $HOME/.Xresources] & & xrdb $HOME/.Xresources
# xsetroot-solid grey
# vncconfig-iconic &
# xterm-geometry 80x24+10+10-ls-title "$VNCDESKTOP Desktop" &
# twm &
3. You can change the resolution and chrominance in / usr/local/bin/vncserver. (or it could be / usr/bin/vncserver, use "whick vncserver" to see which "vncserver" you are actually using. 4. Configure VNC to start automatically. There is a configuration file for vncservers under / etc/sysconfig. It is modified as follows: VNCSERVERS= "1:root" means that the user desktop of root can be used by using ip:1. It doesn't show up on the screen. Use chkconfig-- level 3 vncserver to load vncserver5,vncserver at startup and run it with parameters, see the example below. Start vncserver with resolution 800x600: vncserver-geometry 800x600 launch vncserver with 16-bit color depth: vncserver-depth 16 let vncserver allow all clients to share access to the same desktop: vncserver-alwaysshared (this startup can be used for simple video conferencing or distance learning) the vnc server started by vncserver by default disconnects the old connection when there is a new connection request If you want vncserver to reject new connection requests and keep the old connection: the above parameters vncserver-dontdisconnect can be used together. Second, the windows system windows version of VNC is simpler, download the VNC exe file, double-click to install, the installation process is no different from other windows software, all the way next. Finally, choose whether to generate shortcuts and boot automatic operation and so on. Double-click the VNC SERVER icon on the desktop, fill in the password, and press OK. Its default listen port is 3900. Client settings generally, we will use windows as the client (because linux's xwindow is already a server that can share desktops). Windows: double-click the VNC VEIWER icon on the desktop. Linux: run the vnccleint command in Xwindow. Second, the following is the same for both windows and linux: fill in the ip of server in the pop-up dialog box. 1. If the server end is windows, you can directly fill in IP; 2. If the server side is linux, you must fill in "IP: number", in which the "number" is the number of graphical interface. (this issue is discussed in the second point on the linux server side above). For example: 192.168.0.99Rose 1 or 192.168.0.99Rose 2 / 3, enter the password set on the server side. 4. If Java classes is installed on your Linux system, you can launch a browser such as firefox to connect to vncserver, and then enter the following URL: http://xxx. Xxx.xxx.xxx:5801xxx.xxx.xxx.xxx is the IP address or host name of your computer. Thank you for your reading. The above is the content of "the configuration and use of vnc under the linux system". After the study of this article, I believe you have a deeper understanding of the configuration and use of vnc under the linux system. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 255
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.