如何通過vnc 安裝遠端linux下的oracle
linux 版本:redhat 企業版 4
在安裝包有vnc-server-4.0-8.1.i386.rpm
在作業系統安裝完成後一般會自動安裝的所以不需要再次安裝
1.把vncserver 裝在oracle使用者下
[root@rac1 user01]# su - oracle
[oracle@rac1 ~]$ pwd
/home/oracle
[oracle@rac1 ~]$ vncserver
You will require a password to access your desktops.
Password: --這裡輸入密碼oracle
Verify: --驗證密碼oracle
xauth: creating new authority file /home/oracle/.Xauthority
New 'rac1.cn:2 (oracle)' desktop is rac1.cn:2 紅色2代表埠號 vnc客戶端登入時需要用到
Creating default startup script. /home/oracle/.vnc/xstartup
Starting applications specified in /home/oracle/.vnc/xstartup
Log file is /home/oracle/.vnc/rac1.cn:2.log
2.開啟防火牆 用root使用者登入
vi /etc/sysconfig/iptables
找到下面語句
A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
修改為
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 5900:5903 -j ACCEPT
表示埠為5900到5903可以訪問
用root身份重新啟動防火牆
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: filter [ OK ]
Unloading iptables modules: [ OK ]
Applying iptables firewall rules: [ OK ]
預設登入的是twm視窗不好看 需要設定成gnome模式
vi /home/oracle/.vnc/xstartup 如下所示:
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
startkde &
wq 儲存退出
unset 和exec前面的#要去掉
最後一行換成startkde
重新啟動VNC server
[oracle@rac1 ~]$ /sbin/service vncserver restart
Shutting down VNC server: [ OK ]
rm: cannot remove `/var/lock/subsys/vncserver': Permission denied
Starting VNC server: [ OK ]
touch: cannot touch `/var/lock/subsys/vncserver': Permission denied
重新啟動linux 伺服器後
在windows xp 安裝vnc for windows 客戶端
裝完後選擇 run vnc viewser
server 欄輸入 192.168.1.242:2 就是vncserver 生成的埠號
就ok了 就可以實現遠端安裝了
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-351881/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Linux下通過VNC安裝OracleLinuxVNCOracle
- vnc遠端安裝,在Linux中vnc遠端安裝的教程VNCLinux
- linux遠端工具vnc啟用,linux遠端工具vnc如何啟用,Linux安裝vnc教程。LinuxVNC
- zt:通過vnc 安裝linuxVNCLinux
- vnc遠端安裝,10個步驟在Linux中遠端安裝VNC並連線VNCLinux
- Linux VNC遠端控制安裝日記LinuxVNC
- vnc遠端控制軟體,vnc遠端控制軟體怎麼使用,vnc server如何安裝?VNCServer
- Linux設定VNC遠端桌面連線來安裝Oracle11GLinuxVNCOracle
- VNC,Linux系統下如何安裝和連線VNC!VNCLinux
- vnc安裝步驟,如何在Linux(CentOS 7)下vnc安裝步驟VNCLinuxCentOS
- ZT:通過PXE遠端安裝Linux系統全程解析Linux
- 透過vnc 安裝linuxVNCLinux
- Linux下VNC遠端控制的使用方法LinuxVNC
- vnc遠端連線linux,vnc遠端連線linux的具體方法。VNCLinux
- vnc遠端連線linux,vnc遠端連線linux的具體操作VNCLinux
- Linux下遠端桌面的配置(VNC)薦LinuxVNC
- 配置vnc遠端連線Linux和unix伺服器圖形介面安裝OracleVNCLinux伺服器Oracle
- VNC遠端連線,如何VNC遠端連線伺服器VNC伺服器
- VNC,VNC遠端不了如何解決?VNC
- 配置linux遠端管理 VNCLinuxVNC
- VNC遠端協助軟體,VNC遠端協助軟體下載!VNC
- vnc安裝步驟,4個在Linux下vnc的個安裝步驟VNCLinux
- LINUX下VNC服務的安裝配置LinuxVNC
- VNC,Linux遠端VNC連線伺服器!VNCLinux伺服器
- CentOS安裝使用vnc進行遠端桌面登入CentOSVNC
- VNC遠端控制,VNC遠端控制連線WindowsVNCWindows
- VNC遠端控制Linux桌面(zt)VNCLinux
- VNC遠端控制Linux桌面(轉)VNCLinux
- vnc遠端控制軟體x64,vnc遠端控制軟體x64安裝方法,及使用教程VNC
- VNC遠端控制軟體XP版,VNC遠端控制軟體XP版下載VNC
- 如何在命令列下遠端安裝終端服務命令列
- CentOS安裝noVNC,以Web方式交付VNC遠端連線CentOSVNCWeb
- CENTOS5.3 64位 VNC遠端控制Centos 安裝配置CentOSVNC
- vnc遠端桌面,4款vnc遠端桌面介紹。VNC
- linux下通過原始碼安裝gitLinux原始碼Git
- vnc管理工具,vnc管理工具安裝使用教程,linux如何安裝vnc server?VNCLinuxServer
- Solaris下安裝VNCVNC
- centOS學習part3:遠端工具VNC的安裝與配置CentOSVNC