xstart 工具使用
1.安装xterm包
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[root@proc1 Downloads]# yum install xterm
Loaded plugins: refresh-packagekit, security Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package xterm.x86_64 0:253-1.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================================================== Package Arch Version Repository Size
================================================================================================================== Installing: xterm x86_64 253-1.el6 oel6 357 k
Transaction Summary ================================================================================================================== Install 1 Package(s) Total download size: 357 k Installed size: 931 k Is this ok [y/N]: y
Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : xterm-253-1.el6.x86_64 1/1 Verifying : xterm-253-1.el6.x86_64 1/1 Installed: xterm.x86_64 0:253-1.el6
Complete!2.打开xterm
1
2
3
4
5
6
7
8
9
10
11
12
13
[root@proc1 Downloads]# xterm
Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable. xterm Xt error: Can't open display: %s
xterm: DISPLAY is not set
3. 打开 xstart工具