oracle安装无法启动图形化界面资料收集

上一篇 / 下一篇  2011-11-10 22:35:14 / 个人分类:oracle

1.先telnet主机上
2.再用who -u察看自己的终端信息, 22.68.10.68:0.1
3.修改自己的.profile
   DISPLAY=22.68.10.68:0.1
4.ok

=====================================================

http://blog.csdn.net/gtuu0123/article/details/4383156

=====================================================

[root@localhost ~]# vncserver

New 'localhost:1 (root)' desktop is localhost:1

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost:1.log

[root@localhost ~]# export DISPLAY=localhost:1
[root@localhost ~]# xhost +
access control disabled, clients can connect from any host


在设置xhost时,出现了unable的问题。

=======================================================
http://space.itpub.net/14210591/viewspace-414931

3. 配置运行远程服务器的图形程序
a.服务器端配置文件/etc/ssh/sshd_config中修改

X11Forwarding no  #禁止用户运行远程主机上的X程序

b.客户端配置文件/etc/ssh/ssh_config

ForwardX11 yes  设置X11连接是否被自动重定向到安全的通道和显示集(DISPLAY set)
  

c.设置本地机器的Xserver监听相应的TCP端口. 而现在的Linux系统出于安全的考虑, 默认情况下不再监听TCP端口. 可通过修改/etc/X11/xinit/xserverrc文件, 将
  exec /usr/bin/X11/X -dpi 100 -nolisten tcp  #dpi(dots per inch)-像素
  修改为
  exec /usr/bin/X11/X -dpi 100
允许在直接使用startx启动图形时启动对TCP端口的监听.
或者登陆窗口选择"Options" -> "Configure Login Manager..."的Security页面, 取消"Deny TCP connections to Xserver

=========================================================

执行命令 xhost + 192.168.0.1 该命令将会修改哪个配置文件呢?或者是没有配置文件

没有修改任何文件,只是对当前的X有效。
如果想永久生效,
添加
       /etc/X*.hosts
文件
比如,/etc/X0.hosts

TAG:

 

评分:0

我来说两句

Open Toolbar