配置vnc远程连接Linux和unix服务器图形界面安装Oracle
来源:互联网 发布:免费2级域名注册永久 编辑:程序博客网 时间:2024/05/22 13:11
1、配置并开启vnc服务
[oracle@localhost ~]$ vncserver
You will require a password to access your desktops.
Password: ---这里要求输入vnc客户端登录的密码并重复
Verify:
New 'localhost.localdomain:2 (oracle)' desktop is localhost.localdomain:2
Creating default startup script. /home/oracle/.vnc/xstartup
Starting applications specified in /home/oracle/.vnc/xstartup
Log file is /home/oracle/.vnc/localhost.localdomain:2.log
----如上告诉你vnc终端已经创建好,用的是第二个终端
2、在创建vnc服务的用户目录下会生成一个.vnc的隐藏目录
[oracle@localhost ~]$ ls -a
. .bash_profile Disk1 .gconfd .gstreamer-0.10 .metacity README.htm .viminfo
.. .bashrc .eggcups .gnome .gtkrc-1.2-gnome2 .mozilla .redhat .vnc
.bash_history .chewing .emacs .gnome2 .ICEauthority .nautilus .scim .Xauthority
.bash_logout Desktop .gconf .gnome2_private .kde p8202632_10205_Linux-x86-64.zip .Trash .zshrc
3、进入.vnc目录,找到xstartup可执行文件,用vi 编辑器打开
[oracle@localhost ~]$ cd .vnc/
[oracle@localhost .vnc]$ ls
localhost.localdomain:2.log localhost.localdomain:2.pid passwd xstartup
[oracle@localhost .vnc]$ vi xstartup
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc ---去掉前面的#号即可 --保存退出
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
~
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
"xstartup" 12L, 333C 已写入
[oracle@localhost .vnc]$ vncserver
New 'localhost.localdomain:3 (oracle)' desktop is localhost.localdomain:3
Starting applications specified in /home/oracle/.vnc/xstartup
Log file is /home/oracle/.vnc/localhost.localdomain:3.log
4、清除刚才创建的vnc虚拟终端
[oracle@localhost .vnc]$ vncserver -kill :1
Can't find file /home/oracle/.vnc/localhost.localdomain:1.pid
You'll have to kill the Xvnc process manually
[oracle@localhost .vnc]$ vncserver -kill :2
Killing Xvnc process ID 11889
[oracle@localhost .vnc]$ vncserver -kill :3
Killing Xvnc process ID 11945
[oracle@localhost .vnc]$ vncserver -kill :4
Can't find file /home/oracle/.vnc/localhost.localdomain:4.pid
You'll have to kill the Xvnc process manually
5、重新建立新的vnc虚拟终端
[oracle@localhost .vnc]$ vncserver
New 'localhost.localdomain:2 (oracle)' desktop is localhost.localdomain:2
Starting applications specified in /home/oracle/.vnc/xstartup
Log file is /home/oracle/.vnc/localhost.localdomain:2.log --该终端号为 :2
6、在windows客户端用RealVNC软件中的Run VNC Viewer客户端连接。
7、在Run VNC Viewer 只需输入linux服务器的地址和刚才生成的终端号:2
格式:192.168.1.56:2
8、输入刚才配置vnc服务的时候配的即可登录linux服务器图形界面。
- 配置vnc远程连接Linux和Unix远程服务器图形界面安装oracle
- 配置vnc远程连接Linux和unix服务器图形界面安装Oracle
- vnc远程连接linux安装oracle数据库!
- Linux 远程连接工具 【vnc viewer】 图形界面
- Ubuntu图形界面介绍和远程VNC连接
- 在Windows和Ubuntu上安装VNC连接远程服务器
- CentOS 6.4安装图形界面并用VNC远程连接
- 用vnc在Windows中远程连接Linux图形界面【zz】
- VNC远程连接Linux桌面的安装和使用
- CentOS 7.0 上安装和配置 VNC 服务器 + CentOS 7.0 上安装图形界面
- suse linux enterprise 11 的VNC远程图形界面配置
- Xmanager远程连接Linux服务器图形界面--DZY
- Windows通过VNC远程登录Linux的安装和配置
- 远程连接Xshell和VNC配置
- VNC linux远程连接
- Linux-CentOS VNC服务器的安装和配置
- Linux 远程连接图形界面
- SuSe的VNC远程图形界面配置
- 除技术以外还需要个人素质
- “蚁群算法”搜寻引擎优化策略
- Velocity:微软的分布式内存缓存
- ssh批量上传文件
- SHELL中计算时间差方法
- 配置vnc远程连接Linux和unix服务器图形界面安装Oracle
- 优化的基本知识
- Oracle中查看所有的表,用户表,列名,主键,外键
- JAVA程序员需要学习的25个标准
- mysql alter table总结
- 如何设置堆栈不可执行和ASLR
- Apple Store店员可用iOS设备定位店内顾客协助其完成购买
- 多些时间能少写些代码
- 怪问题