ITPub博客

首页 > Linux操作系统 > Linux操作系统 > linux上使用vnc

linux上使用vnc

原创 Linux操作系统 作者:cc59 时间:2006-10-29 00:00:00 0 删除 编辑


经常需要在远程维护很多数据库.但有时候需要一些图形化操作,如升级.使用xmanager固然可以.但是经常会由于好多的原因而无法访问对方系统,如防火墙的原因等.这时我们可以使用vnc(实际上我从来都是用vnc的,印象中只用过两次xmanager)

首先启动服务:

[root@rac /]#vncserver

You will require a password to access your desktops.
Password:

Verify:

这里的密码为你将来登陆想要设定的密码.

好了以后.通过ps查看一下就可以看到vnc的port啦.如:

[root@rac /]# ps -ef|grep vnc
root 3181 1 0 15:21 pts/2 00:00:14 Xvnc :1 -desktop rac:1 (root) -httpd /usr/share/vnc/classes -auth /root/.Xauthority -geometry 1024x768 -depth 16 -rfbwait 30000 -rfbauth /root/.vnc/passwd -rfbport 5901 -pn
root 3185 1 0 15:21 pts/2 00:00:00 vncconfig -iconic

这里的端口为5901

现在即可在windows上访问你的unix系统的图形化操作啦.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/104152/viewspace-139977/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: How to Study Oracle
请登录后发表评论 登录
全部评论

注册时间:2007-12-21

  • 博文量
    132
  • 访问量
    308421