In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "how to use VNC to configure remote graphical connection to Linux desktop". In daily operation, I believe many people have doubts about how to use VNC to configure remote graphical connection to Linux desktop. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful for you to answer the doubt of "how to configure remote graphical connection to Linux desktop with VNC". Next, please follow the editor to study!
First download to the linux version and windows version of vnc.
1. First, we need to download the VNC installation if the directory we downloaded is VNC/vncgo.
# cd ~
# wget http://www.realvnc.com/dist/vnc-3.3.7-x86_linux.tar.gz
# tar-zxvf vnc-3.3.7-x86_linux.tar.gz
# mv vnc-3.3.7-x86_linux vnc
# cd vnc
# mkdir-p ~ / VNC/vncgo
#. / vncinstall ~ / VNC/vncgo
two。 Then we have to set the parameters, because VNC will look for the relevant configuration file when it starts, so be sure to specify the variable of PATH first. If you are root, you can put the following three lines of instructions into / etc/profile.
# PATH= "$PATH": ~ / VNC/vncgo
# export $PATH
# echo $PATH
/ usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/UserHomeDir/VNC/vncgo
3. The above installation is complete with VNC Server, so let's play it now! Start the first time, if it is the first time to run, you will be asked to enter the login password!
# vncserver
4. Then shut down VNC
# vncserver-kill: 1
5. Modify the settings of X so that the remote desktop will look better!
# cd ~ / .vnc/xstartup
# vi xstartup
_
#! / bin/sh
# all comments are made below
# enter the following line
/ etc/X11/xinit/Xclients
# [- r $HOME/.Xresources] & & xrdb $HOME/.Xresources
# xsetroot-solid grey
# xterm-geometry 80x24+10+10-ls-title "$VNCDESKTOP Desktop" &
# twm &
: _
6. Finally, let's start VNC.
# vncserver
7. Remote control
To run vncviewer, use VNC Viewer to view, enter IP:num (IP is the location of the host, num is the number of launches of vnc, there will be a prompt when you start the vnc service)
8. Use vnc through a browser
When using vnc through the browser, you should pay attention to the change of port number.
Assuming that vnc server is 192.168.2.214, http://192.168.2.214:5801 can be accessed through a browser.
Port number = display number + 5800
At this point, the study on "how to configure a remote graphical connection to the Linux desktop with VNC" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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: 0
*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.