赞
踩
问题:
- [root@*** database]# vncserver
- bash: vncserver: command not found
解决方法:如果不是root用户,则需要切换到root用户
- [oracle@*** database]$ su root
- Password:
- [root@*** database]#
命令:yum install tigervnc-server
- [root@*** database]# yum install tigervnc-server
- Loaded plugins: fastestmirror, langpacks
- Loading mirror speeds from cached hostfile
- * base: 100.125.0.40
- * extras: 100.125.0.40
- * updates: 100.125.0.40
- Resolving Dependencies
- --> Running transaction check
- ---> Package tigervnc-server.x86_64 0:1.8.0-13.el7 will be installed
- --> Processing Dependency: xorg-x11-xinit for package: tigervnc-server-1.8.0-13.el7.x86_64
- --> Processing Dependency: tigervnc-server-minimal for package: tigervnc-server-1.8.0-13.el7.x86_64
- --> Processing Dependency: libXtst.so.6()(64bit) for package: tigervnc-server-1.8.0-13.el7.x86_64
- --> Processing Dependency: libXdamage.so.1()(64bit) for package: tigervnc-server-1.8.0-13.el7.x86_64
- --> Running transaction check
- ---> Package libXdamage.x86_64 0:1.1.4-4.1.el7 will be installed
- ---> Package libXtst.x86_64 0:1.2.3-1.el7 will be installed
- ---> Package tigervnc-server-minimal.x86_64 0:1.8.0-13.el7 will be installed
- --> Processing Dependency: xorg-x11-xkb-utils for package: tigervnc-server-minimal-1.8.0-13.el7.x86_64
- --> Processing Dependency: xkeyboard-config for package: tigervnc-server-minimal-1.8.0-13.el7.x86_64
- --> Processing Dependency: tigervnc-license for package: tigervnc-server-minimal-1.8.0-13.el7.x86_64
- --> Processing Dependency: mesa-dri-drivers for package: tigervnc-server-minimal-1.8.0-13.el7.x86_64
- --> Processing Dependency: libxshmfence.so.1()(64bit) for package: tigervnc-server-minimal-1.8.0-13.el7.x86_64
- --> Processing Dependency: libpixman-1.so.0()(64bit) for package: tigervnc-server-minimal-1.8.0-13.el7.x86_64
- --> Processing Dependency: libXfont2.so.2()(64bit) for package: tigervnc-server-minimal-1.8.0-13.el7.x86_64
- --> Processing Dependency: libXdmcp.so.6()(64bit) for package: tigervnc-server-minimal-1.8.0-13.el7.x86_64
- --> Processing Dependency: libGL.so.1()(64bit) for package: tigervnc-server-minimal-1.8.0-13.el7.x86_64
- ---> Package xorg-x11-xinit.x86_64 0:1.3.4-2.el7 will be installed
- --> Running transaction check
- ---> Package libXdmcp.x86_64 0:1.1.2-6.el7 will be installed
- ---> Package libXfont2.x86_64 0:2.0.3-1.el7 will be installed
- --> Processing Dependency: libfontenc.so.1()(64bit) for package: libXfont2-2.0.3-1.el7.x86_64
- ---> Package libglvnd-glx.x86_64 1:1.0.1-0.8.git5baa1e5.el7 will be installed
- --> Processing Dependency: libglvnd(x86-64) = 1:1.0.1-0.8.git5baa1e5.el7 for package: 1:libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64
- --> Processing Dependency: mesa-libGL(x86-64) >= 13.0.4-1 for package: 1:libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64
- --> Processing Dependency: libGLdispatch.so.0()(64bit) for package: 1:libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64
- ---> Package libxshmfence.x86_64 0:1.2-1.el7 will be installed
- ---> Package mesa-dri-drivers.x86_64 0:18.0.5-4.el7_6 will be installed
- --> Processing Dependency: libdrm >= 2.4.83 for package: mesa-dri-drivers-18.0.5-4.el7_6.x86_64
- --> Processing Dependency: mesa-filesystem(x86-64) for package: mesa-dri-drivers-18.0.5-4.el7_6.x86_64
- --> Processing Dependency: libLLVM-6.0-rhel.so(LLVM_6.0)(64bit) for package: mesa-dri-drivers-18.0.5-4.el7_6.x86_64
- --> Processing Dependency: libglapi.so.0()(64bit) for package: mesa-dri-drivers-18.0.5-4.el7_6.x86_64
- --> Processing Dependency: libLLVM-6.0-rhel.so()(64bit) for package: mesa-dri-drivers-18.0.5-4.el7_6.x86_64
- ---> Package pixman.x86_64 0:0.34.0-1.el7 will be installed
- ---> Package tigervnc-license.noarch 0:1.8.0-13.el7 will be installed
- ---> Package xkeyboard-config.noarch 0:2.24-1.el7 will be installed
- ---> Package xorg-x11-xkb-utils.x86_64 0:7.7-14.el7 will be installed
- --> Processing Dependency: libxkbfile.so.1()(64bit) for package: xorg-x11-xkb-utils-7.7-14.el7.x86_64
- --> Running transaction check
- ---> Package libdrm.x86_64 0:2.4.74-1.el7 will be updated
- ---> Package libdrm.x86_64 0:2.4.91-3.el7 will be an update
- ---> Package libfontenc.x86_64 0:1.1.3-3.el7 will be installed
- ---> Package libglvnd.x86_64 1:1.0.1-0.8.git5baa1e5.el7 will be installed
- ---> Package libxkbfile.x86_64 0:1.0.9-3.el7 will be installed
- ---> Package llvm-private.x86_64 0:6.0.1-2.el7 will be installed
- ---> Package mesa-filesystem.x86_64 0:18.0.5-4.el7_6 will be installed
- ---> Package mesa-libGL.x86_64 0:18.0.5-4.el7_6 will be installed
- ---> Package mesa-libglapi.x86_64 0:18.0.5-4.el7_6 will be installed
- --> Finished Dependency Resolution
-
- Dependencies Resolved
-
- ==============================================================================================================================================================================================================================================================================
- Package Arch Version Repository Size
- ==============================================================================================================================================================================================================================================================================
- Installing:
- tigervnc-server x86_64 1.8.0-13.el7 base 215 k
- Installing for dependencies:
- libXdamage x86_64 1.1.4-4.1.el7 base 20 k
- libXdmcp x86_64 1.1.2-6.el7 base 34 k
- libXfont2 x86_64 2.0.3-1.el7 base 143 k
- libXtst x86_64 1.2.3-1.el7 base 20 k
- libfontenc x86_64 1.1.3-3.el7 base 31 k
- libglvnd x86_64 1:1.0.1-0.8.git5baa1e5.el7 base 89 k
- libglvnd-glx x86_64 1:1.0.1-0.8.git5baa1e5.el7 base 125 k
- libxkbfile x86_64 1.0.9-3.el7 base 83 k
- libxshmfence x86_64 1.2-1.el7 base 7.2 k
- llvm-private x86_64 6.0.1-2.el7 base 21 M
- mesa-dri-drivers x86_64 18.0.5-4.el7_6 updates 6.6 M
- mesa-filesystem x86_64 18.0.5-4.el7_6 updates 17 k
- mesa-libGL x86_64 18.0.5-4.el7_6 updates 162 k
- mesa-libglapi x86_64 18.0.5-4.el7_6 updates 44 k
- pixman x86_64 0.34.0-1.el7 base 248 k
- tigervnc-license noarch 1.8.0-13.el7 base 29 k
- tigervnc-server-minimal x86_64 1.8.0-13.el7 base 1.0 M
- xkeyboard-config noarch 2.24-1.el7 base 834 k
- xorg-x11-xinit x86_64 1.3.4-2.el7 base 58 k
- xorg-x11-xkb-utils x86_64 7.7-14.el7 base 103 k
- Updating for dependencies:
- libdrm x86_64 2.4.91-3.el7 base 153 k
-
- Transaction Summary
- ==============================================================================================================================================================================================================================================================================
- Install 1 Package (+20 Dependent packages)
- Upgrade ( 1 Dependent package)
-
- Total download size: 31 M
- Is this ok [y/d/N]: y
- Downloading packages:
- Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
- (1/22): libXdamage-1.1.4-4.1.el7.x86_64.rpm | 20 kB 00:00:00
- (2/22): libXdmcp-1.1.2-6.el7.x86_64.rpm | 34 kB 00:00:00
- (3/22): libXfont2-2.0.3-1.el7.x86_64.rpm | 143 kB 00:00:00
- (4/22): libdrm-2.4.91-3.el7.x86_64.rpm | 153 kB 00:00:00
- (5/22): libfontenc-1.1.3-3.el7.x86_64.rpm | 31 kB 00:00:00
- (6/22): libXtst-1.2.3-1.el7.x86_64.rpm | 20 kB 00:00:00
- (7/22): libglvnd-1.0.1-0.8.git5baa1e5.el7.x86_64.rpm | 89 kB 00:00:00
- (8/22): libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64.rpm | 125 kB 00:00:00
- (9/22): libxshmfence-1.2-1.el7.x86_64.rpm | 7.2 kB 00:00:00
- (10/22): mesa-filesystem-18.0.5-4.el7_6.x86_64.rpm | 17 kB 00:00:00
- (11/22): mesa-libGL-18.0.5-4.el7_6.x86_64.rpm | 162 kB 00:00:00
- (12/22): mesa-libglapi-18.0.5-4.el7_6.x86_64.rpm | 44 kB 00:00:00
- (13/22): libxkbfile-1.0.9-3.el7.x86_64.rpm | 83 kB 00:00:00
- (14/22): pixman-0.34.0-1.el7.x86_64.rpm | 248 kB 00:00:00
- (15/22): tigervnc-license-1.8.0-13.el7.noarch.rpm | 29 kB 00:00:00
- (16/22): tigervnc-server-1.8.0-13.el7.x86_64.rpm | 215 kB 00:00:00
- (17/22): tigervnc-server-minimal-1.8.0-13.el7.x86_64.rpm | 1.0 MB 00:00:00
- (18/22): mesa-dri-drivers-18.0.5-4.el7_6.x86_64.rpm | 6.6 MB 00:00:02
- (19/22): xkeyboard-config-2.24-1.el7.noarch.rpm | 834 kB 00:00:00
- (20/22): xorg-x11-xinit-1.3.4-2.el7.x86_64.rpm | 58 kB 00:00:00
- (21/22): xorg-x11-xkb-utils-7.7-14.el7.x86_64.rpm | 103 kB 00:00:00
- (22/22): llvm-private-6.0.1-2.el7.x86_64.rpm | 21 MB 00:00:03
- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- Total 8.0 MB/s | 31 MB 00:00:03
- Running transaction check
- Running transaction test
- Transaction test succeeded
- Running transaction
- Installing : mesa-libglapi-18.0.5-4.el7_6.x86_64 1/23
- Installing : libxshmfence-1.2-1.el7.x86_64 2/23
- Installing : libXdamage-1.1.4-4.1.el7.x86_64 3/23
- Updating : libdrm-2.4.91-3.el7.x86_64 4/23
- Installing : libfontenc-1.1.3-3.el7.x86_64 5/23
- Installing : libXfont2-2.0.3-1.el7.x86_64 6/23
- Installing : llvm-private-6.0.1-2.el7.x86_64 7/23
- Installing : libXdmcp-1.1.2-6.el7.x86_64 8/23
- Installing : tigervnc-license-1.8.0-13.el7.noarch 9/23
- Installing : pixman-0.34.0-1.el7.x86_64 10/23
- Installing : mesa-filesystem-18.0.5-4.el7_6.x86_64 11/23
- Installing : mesa-dri-drivers-18.0.5-4.el7_6.x86_64 12/23
- Installing : 1:libglvnd-1.0.1-0.8.git5baa1e5.el7.x86_64 13/23
- Installing : 1:libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64 14/23
- Installing : mesa-libGL-18.0.5-4.el7_6.x86_64 15/23
- Installing : libXtst-1.2.3-1.el7.x86_64 16/23
- Installing : xkeyboard-config-2.24-1.el7.noarch 17/23
- Installing : libxkbfile-1.0.9-3.el7.x86_64 18/23
- Installing : xorg-x11-xkb-utils-7.7-14.el7.x86_64 19/23
- Installing : tigervnc-server-minimal-1.8.0-13.el7.x86_64 20/23
- Installing : xorg-x11-xinit-1.3.4-2.el7.x86_64 21/23
- Installing : tigervnc-server-1.8.0-13.el7.x86_64 22/23
- Cleanup : libdrm-2.4.74-1.el7.x86_64 23/23
- Verifying : libdrm-2.4.91-3.el7.x86_64 1/23
- Verifying : 1:libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64 2/23
- Verifying : mesa-dri-drivers-18.0.5-4.el7_6.x86_64 3/23
- Verifying : xorg-x11-xkb-utils-7.7-14.el7.x86_64 4/23
- Verifying : xorg-x11-xinit-1.3.4-2.el7.x86_64 5/23
- Verifying : libxkbfile-1.0.9-3.el7.x86_64 6/23
- Verifying : xkeyboard-config-2.24-1.el7.noarch 7/23
- Verifying : libXtst-1.2.3-1.el7.x86_64 8/23
- Verifying : 1:libglvnd-1.0.1-0.8.git5baa1e5.el7.x86_64 9/23
- Verifying : mesa-libGL-18.0.5-4.el7_6.x86_64 10/23
- Verifying : mesa-filesystem-18.0.5-4.el7_6.x86_64 11/23
- Verifying : libXdamage-1.1.4-4.1.el7.x86_64 12/23
- Verifying : libXfont2-2.0.3-1.el7.x86_64 13/23
- Verifying : pixman-0.34.0-1.el7.x86_64 14/23
- Verifying : tigervnc-license-1.8.0-13.el7.noarch 15/23
- Verifying : libxshmfence-1.2-1.el7.x86_64 16/23
- Verifying : tigervnc-server-minimal-1.8.0-13.el7.x86_64 17/23
- Verifying : libXdmcp-1.1.2-6.el7.x86_64 18/23
- Verifying : llvm-private-6.0.1-2.el7.x86_64 19/23
- Verifying : libfontenc-1.1.3-3.el7.x86_64 20/23
- Verifying : mesa-libglapi-18.0.5-4.el7_6.x86_64 21/23
- Verifying : tigervnc-server-1.8.0-13.el7.x86_64 22/23
- Verifying : libdrm-2.4.74-1.el7.x86_64 23/23
-
- Installed:
- tigervnc-server.x86_64 0:1.8.0-13.el7
-
- Dependency Installed:
- libXdamage.x86_64 0:1.1.4-4.1.el7 libXdmcp.x86_64 0:1.1.2-6.el7 libXfont2.x86_64 0:2.0.3-1.el7 libXtst.x86_64 0:1.2.3-1.el7 libfontenc.x86_64 0:1.1.3-3.el7 libglvnd.x86_64 1:1.0.1-0.8.git5baa1e5.el7
- libglvnd-glx.x86_64 1:1.0.1-0.8.git5baa1e5.el7 libxkbfile.x86_64 0:1.0.9-3.el7 libxshmfence.x86_64 0:1.2-1.el7 llvm-private.x86_64 0:6.0.1-2.el7 mesa-dri-drivers.x86_64 0:18.0.5-4.el7_6 mesa-filesystem.x86_64 0:18.0.5-4.el7_6
- mesa-libGL.x86_64 0:18.0.5-4.el7_6 mesa-libglapi.x86_64 0:18.0.5-4.el7_6 pixman.x86_64 0:0.34.0-1.el7 tigervnc-license.noarch 0:1.8.0-13.el7 tigervnc-server-minimal.x86_64 0:1.8.0-13.el7 xkeyboard-config.noarch 0:2.24-1.el7
- xorg-x11-xinit.x86_64 0:1.3.4-2.el7 xorg-x11-xkb-utils.x86_64 0:7.7-14.el7
-
- Dependency Updated:
- libdrm.x86_64 0:2.4.91-3.el7
-
- Complete!
如果有写的不对的地方,请大家多多批评指正,非常感谢!
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。