In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
First check the system version
[root@localhost ~] # cat / etc/issue
CentOS release 6.5 (Final)
Kernel\ r on an\ m
First, if the desktop is not installed, install the desktop environment first
Install X Windows System:
1 verify the components that can be installed
# yum grouplist
2 install X Windows System
[root@test ~] # yum groupinstall "X Window System"
3 install gnome
[root@test sysconfig] # yum groupinstall "Desktop"
4 install kde
[root@test ~] # yum groupinstall "KDE Desktop"
Second, install Chinese support
Yum groupinstall "Chinese Support"
Note: if English is selected by default, you need to modify / etc/sysconfig/i18n and change LANG to LANG= "zh_CN.UTF-8".
Sed-I's _
3. Configuration file settings:
1 check the startup level. The command is as follows:
Cat / etc/inittab | grep id
See if it's 5, and if not, it's a character interface.
Please make sure that the content in the red box is 5
2 configuration / etc/gdm/custom.conf
Add the following sentences under [xdmcp]
Enable=true
Port=177
Add: under [security]:
AllowRoot=trueAllowRemoteRoot=true
3 modify / etc/X11/xdm/xdm-config
As shown in the figure:
Add a "!" before DisplayManager.requestPort: 0 to kill this sentence.
4 modify / etc/X11/xdm/Xaccess. Directly above:
There is a "#" before the statement in the red box. Kill this # and release these two sentences.
Then it's nothing. If it's an experimental environment, you don't have to turn on the firewall. The command is simple:
# service iptables stop
Fourth, Xmanager remote connection linux graphical interface
Note: the local windows firewall must be turned off or join port 177.
Method 1: use Xmanager-> Passive of Xmanager
Client opens Xmanager-Passive
Commands on linux to temporarily modify environment variables
Export DISPLAY=192.168.198.132:0.0-the ip address of the client windows
Check to see if it is effective
[root@localhost ~] # xdpyinfo | head-1
Xdpyinfo: unable to open display "192.168.198.132v0.0".
Or add it to the .bash _ profile file and take effect permanently
Connect to Linux desktops remotely, such as application graphical installation
Gnome-session or startkde-both commands can launch a desktop and start the application on the desktop
Xclock-you can also call the application directly
1. First download xmanager and install it
2. Open xmanager, start xbrowser, and enter as prompted. XDMCP and port 177will be used.
3. In another way, open xmanager, start xstart, enter the prompt: host IP, protocol, user name, command, click "Save" when finished, and then click "run" to run xmanager.
Note: do not configure / etc/gdm/custom.conf, use the command / usr/bin/gnome-session-- display $DISPLAY to enter the drawing
4. Log in to the Linux system as a user, then find the file .bash _ profile or profile in the user's directory, edit it with vi, and add the following command:
DISPLAY=11.11.2.9:0.0;export DISPLAY
When you are finished, save the file .bash _ profile and exit.
5. If you only want to temporarily use the graphical interface on the client side, you do not need to go to step 3 and enter it directly in the command line of the xterm interface:
Export DISPLAY=11.11.2.9:0.0
Then you can run the graphical interface program on the command line
6. Testing, running netca (database related services), there should be a graphical interface
Note: 11.11.2.9 is the IP address of your client.
For more information about how to use xmanager, stay tuned for the latest news on the xmanager Chinese version of the website.
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.