我用yum安装软件,可是运行system-config-packages,打不开browser,提示unable to import gtk module.this may be $DISPALY set .exception was:could not open dispaly.
PS:我用的是在虚拟机上安装的linux,Centos 4.8.配置的是本地:1.创建/dvd/Server目录2.把/dev/cdrom 挂载到/dvd/Server 3.vi yum.repos.d下的CentOS.Media.repo,[dvd]name=dvd,baseurl=file:///dvd/Server,gpgcheck=0 4.export DISPLAY=192.168.1.22:0.0(vmnet1的IP地址,linux地址为192.168.1.33,2者能互ping通),用env |grep DISP查看已经配置成功 5.运行system-config-packages,打不开browser,提示unable to import gtk module.this may be $DISPALY set .exception was:could not open dispaly.
请高手指点下,不胜感激,谢谢.