免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3988 | 回复: 9
打印 上一主题 下一主题

xmanager不能访问linux,求助! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-08-14 14:58 |只看该作者 |倒序浏览
xmanager不能访问 linux, 如下提示:
[root@VM-IMSM root]# startx
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority
XFree86 Version 4.3.0 (Red Hat Linux release: 4.3.0-2)
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.20-3bigmem i686 [ELF]
Build Date: 27 February 2003
Build Host: porky.devel.redhat.com


Before reporting problems, check http://www.XFree86.Org/

to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.4.20-8smp (bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 SMP Thu Mar 13 17:45:54 EST 2003
Markers: (--) probed, (**) from config file, (==) default setting,

(++) from command line, (!!) notice, (II) informational,

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Thu Aug 14 13:54:47 2008
(==) Using config file: "/etc/X11/XF86Config"
(EE) VESA(0): No matching modes
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:
no screens found
When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.
XIO:
fatal IO error 104 (Connection reset by peer) on X server ":0.0"

after 0 requests (0 known processed) with 0 events remaining.
[root@VM-IMSM root]#
[root@VM-IMSM root]# lspci |grep VGA
00:0f.0 VGA compatible controller: VMWare Inc: Unknown device 0405
[root@VM-IMSM root]#
[root@VM-IMSM root]# lspci
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01)
00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01)
00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 0
00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB
00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 0
00:0f.0 VGA compatible controller: VMWare Inc: Unknown device 0405
00:10.0 SCSI storage controller: BusLogic BT-946C (BA80C30) [MultiMaster 10] (rev 01)
00:11.0 PCI bridge: VMWare Inc: Unknown device 0790 (rev 01)
02:00.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 10)
02:02.0 USB Controller: VMWare Inc: Unknown device 0770
[root@VM-IMSM root]#


请问,(EE) VESA(0): No matching modes 是什么错误,如何解决,感谢各位大侠的慷慨帮助,小妹在此先谢过了。

论坛徽章:
1
寅虎
日期:2015-01-23 02:35:47
2 [报告]
发表于 2008-08-14 15:08 |只看该作者
首先说,我没仔细看你上面贴的内容,你可以换vnc server,如果用xmanager,我贴你一段你看看是否有用
1、xmanager登陆linux配置

Step 1. Change runlevel to enable gdm or kdm.
Open /etc/inittab file.
Change the runlevel to 5 as following:
id:5:initdefault:
Step 21. GDM configuration (When the Linux is using gdm)
Open /etc/X11/gdm/gdm.conf file.
Go to the [xdmcp]section.
Set the value of "Enable" option to "1".
Step 3. KDM configuration (When the Linux is using kdm)
Open /etc/X11/xdm/xdm-config file.
Comment out "requestPort" option as following:
DisplayManager.requestPort: 0
==>
!DisplayManager.requestPort: 0
Open /etc/X11/xdm/Xaccess file.
Remove the initial "#" character for the following line:
#* #any host can get a login window
==>
* #any host can get a login window
Open /etc/X11/xdm/kdmrc,
/usr/share/config/kdm/kdmrc or
/etc/opt/kde2/share/config/kdm/kdmrc file.
Change the value of "Enable" option to "true".
Step 4. Firewall configuration (If the firewall has been configured)
Open /etc/sysconfig/ipchains file.
Add the following lines at the top of the file:
-A input -p udp -s 0/0 -d 0/0 177 -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 telnet -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 ssh -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 login -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 exec -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 shell -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 7100 -j ACCEPT
Step 5. Restart your Linux to activate the changes.
if you haven't setup the firewall , you can ignore Step 4.

论坛徽章:
0
3 [报告]
发表于 2008-08-14 15:10 |只看该作者

是不是缺少显卡驱动,才识别不到显卡的?

是不是缺少显卡驱动,才识别不到显卡的??

该怎么去查找是什么显卡,再去哪下载显卡驱动啊?

论坛徽章:
0
4 [报告]
发表于 2008-08-14 15:13 |只看该作者

回复 #2 cuci 的帖子

首先,谢谢cuci给予我的及时回答,很感动,谢谢。

我现在按照你说的做一遍,有疑问我再请教。

论坛徽章:
1
寅虎
日期:2015-01-23 02:35:47
5 [报告]
发表于 2008-08-14 15:14 |只看该作者
我看到你startx了
你是不是还没起图形呢?
一定要启动图形,然后把防火墙设置正确

论坛徽章:
0
6 [报告]
发表于 2008-08-14 15:43 |只看该作者

回复 #5 cuci 的帖子

首先,谢谢cuci。

我这内外网不能同时上,刚切回来。

是的,感觉就是如你说的问题。

现在情形:
1.我不知道怎么去启动图形;
2.防火墙我setup设置,选择No firewall,保存后,再进入观察,发现还是High,我该不过来,网上查说有这个BUG,但我现在怎么确认我的防火墙是启动还是关闭啊?不过我可以telnet通linux的任意TCP端口,这是不是说明就已经关闭了?

论坛徽章:
1
寅虎
日期:2015-01-23 02:35:47
7 [报告]
发表于 2008-08-14 15:45 |只看该作者
iptables -F清空然后按照我给你的设置
如果开了selinux需要关闭

图形启动有问题吗

论坛徽章:
0
8 [报告]
发表于 2008-08-14 15:46 |只看该作者

回复 #2 cuci 的帖子

把这个方法也试了一遍。
有(遇到)这么几个问题:
1.如何查看是否在用gdm 或者是 kdm ? 是不是ps –ef|grep –E ‘gdm|kdm’ 来看,结果里有关于gdm的进程,没有kdm的;
2./etc/sysconfig/ipchains 文件不存在;
3.然后重启后,用Xbrowser输入ip,最终提示XDMCP connection failed;
4.用Xstart登录到命令行模式后,执行startx,报的和1楼的描述一样。

论坛徽章:
1
寅虎
日期:2015-01-23 02:35:47
9 [报告]
发表于 2008-08-14 15:53 |只看该作者
我贴的是老的还是ipchains时代的,现在都是iptables时代了,sorry
不过规则是相同的应该,建议你用vnc试试,那个会省事些

论坛徽章:
0
10 [报告]
发表于 2008-08-14 16:06 |只看该作者

回复 #9 cuci 的帖子

谢谢cuci,我去查下vnc的配置。

再次谢谢你的及时帮助。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP