vmware正常,vmplayer不能用

Kvm、VMware、Virtualbox、Xen、Qemu 等
nifi
帖子: 335
注册时间: 2005-06-12 12:23
送出感谢: 0
接收感谢: 0
联系:

vmware正常,vmplayer不能用

#1

帖子 nifi » 2006-05-10 16:53

安装后一直能用,五一的时候也就upgrade过一次,现在只要打开vmplayer,窗口能出来,然后点什么都不管用,拖动后整个窗口就是白的了
xep007
帖子: 870
注册时间: 2006-01-03 20:44
送出感谢: 0
接收感谢: 6 次

#2

帖子 xep007 » 2006-05-10 17:28

在终端运行vmplayer看看。
nifi
帖子: 335
注册时间: 2005-06-12 12:23
送出感谢: 0
接收感谢: 0
联系:

#3

帖子 nifi » 2006-05-10 22:39

提示:
/usr/lib/vmware/bin/vmplayer: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
但是我查过这几个文件,都有啊,不知道no version information available什么意思
附件中的图是拖动窗口以后的效果,点什么都没用,只能强行杀掉
附件
Screenshot.png
vmplayer运行之后
头像
Bailuhuaxiang
帖子: 96
注册时间: 2006-03-24 18:27
送出感谢: 0
接收感谢: 0

#4

帖子 Bailuhuaxiang » 2006-05-22 13:47

还是scim的问题

sudo gedit /etc/X11/xinit/xinput.d/scim-pinyin
编辑:
GTK_IM_MODULE=scim
QT_IM_MODULE=scim
把它改成如下:
GTK_IM_MODULE=xim
QT_IM_MODULE=xim

就可以正常启动了。
witkey
帖子: 6
注册时间: 2005-08-30 23:09
送出感谢: 0
接收感谢: 0

#5

帖子 witkey » 2006-05-22 15:05

Bailuhuaxiang 写了:还是scim的问题

sudo gedit /etc/X11/xinit/xinput.d/scim-pinyin
编辑:
GTK_IM_MODULE=scim
QT_IM_MODULE=scim
把它改成如下:
GTK_IM_MODULE=xim
QT_IM_MODULE=xim

就可以正常启动了。


太感谢你了,哥们!
nifi
帖子: 335
注册时间: 2005-06-12 12:23
送出感谢: 0
接收感谢: 0
联系:

#6

帖子 nifi » 2006-05-31 14:04

为什么呀?
难道scim也会引起其他一些程序发生类似的错误提示?
nifi
帖子: 335
注册时间: 2005-06-12 12:23
送出感谢: 0
接收感谢: 0
联系:

#7

帖子 nifi » 2006-05-31 14:24

确实可以用了,不过在终端下还是会有相同的提示:
$ /usr/lib/vmware/bin/vmplayer: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
caqis
帖子: 32
注册时间: 2006-04-19 23:55
送出感谢: 0
接收感谢: 0

vmwareplayer 修改scim 未结决

#8

帖子 caqis » 2006-06-05 10:25

安老弟的说法 改了一下,但仍然未解决
fuhuizn
帖子: 717
注册时间: 2006-01-06 22:55
系统: ubuntu
送出感谢: 0
接收感谢: 12 次
联系:

#9

帖子 fuhuizn » 2006-06-05 17:39

个人建议:
把 /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0 删了,
然后 ln -s /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0,
仅供参考,请做好备份
caqis
帖子: 32
注册时间: 2006-04-19 23:55
送出感谢: 0
接收感谢: 0

仍末解决

#10

帖子 caqis » 2006-06-06 7:37

命令提示符下 不报错了 但 vmwareplayer 还是 开头的样子, 我安的是 6.06 版的
nifi
帖子: 335
注册时间: 2005-06-12 12:23
送出感谢: 0
接收感谢: 0
联系:

#11

帖子 nifi » 2006-06-06 14:12

按照Bailuhuaxiang的办法改了以后确实可以,但是在nautilus中确不能用输入法了,甚至连英文都无法输入,重命名时敲键盘根本没反应,改回去就能用了,vmplayer就又成老样子了
9楼的建议我也试过,至少在我的机子上无效
sunrie
帖子: 5
注册时间: 2006-04-26 11:13
送出感谢: 0
接收感谢: 0

#12

帖子 sunrie » 2006-06-06 20:40

可以直接改/usr/bin/vmplayer嘛,把那两行加到文件中啊!
头像
Bailuhuaxiang
帖子: 96
注册时间: 2006-03-24 18:27
送出感谢: 0
接收感谢: 0

#13

帖子 Bailuhuaxiang » 2006-06-06 22:44

nifi 写了:按照Bailuhuaxiang的办法改了以后确实可以,但是在nautilus中确不能用输入法了,甚至连英文都无法输入,重命名时敲键盘根本没反应,改回去就能用了,vmplayer就又成老样子了
9楼的建议我也试过,至少在我的机子上无效
scim和nautilus本来就有冲突,就是不改,也可能出现这样的问题,如果想保证nautilus用scim,那就修改vmplayer,sudo mousepad /usr/bin/vmpalyer把光标改为xim
Ubuntu Dapper& Windows 2003 SP1
AMD Athlon XP 1800+
Asus A7V8X-X
Geforce2 mx400
Kingmax DDR400 256M+Adata DDR400 512
Seagate 80G+ 60G
LG T710S
nifi
帖子: 335
注册时间: 2005-06-12 12:23
送出感谢: 0
接收感谢: 0
联系:

#14

帖子 nifi » 2006-06-08 14:47

9494,呵呵
nifi
帖子: 335
注册时间: 2005-06-12 12:23
送出感谢: 0
接收感谢: 0
联系:

再帮一把

#15

帖子 nifi » 2006-06-12 22:03

用13楼的方法,具体该改哪个地方呀?
#!/bin/sh
#
# Copyright 2005 VMware, Inc. All rights reserved.
#
# Wrapper for the real 'vmplayer' binary. Ensure that the binary will find
# all the shared libraries it needs. If a shared library is not available from any
# of the standard system-wide locations, we provide it from the location where
# the VMware software is installed. --hpreg
#

# BEGINNING_OF_DB_DOT_SH
#!/bin/sh

#
# Manage an installer database
#

# Add an answer to a database in memory
db_answer_add() {
local dbvar="$1" # IN/OUT
local id="$2" # IN
local value="$3" # IN
local answers
local i

eval "$dbvar"'_answer_'"$id"'="$value"'

eval 'answers="$'"$dbvar"'_answers"'
# There is no double quote around $answers on purpose
for i in $answers; do
if [ "$i" = "$id" ]; then
return
fi
done
answers="$answers"' '"$id"
eval "$dbvar"'_answers="$answers"'
}

# Remove an answer from a database in memory
db_answer_remove() {
local dbvar="$1" # IN/OUT
local id="$2" # IN
local new_answers
local answers
local i

eval 'unset '"$dbvar"'_answer_'"$id"

new_answers=''
eval 'answers="$'"$dbvar"'_answers"'
# There is no double quote around $answers on purpose
for i in $answers; do
if [ "$i" != "$id" ]; then
new_answers="$new_answers"' '"$i"
fi
done
eval "$dbvar"'_answers="$new_answers"'
}

# Load all answers from a database on stdin to memory (<dbvar>_answer_*
# variables)
db_load_from_stdin() {
local dbvar="$1" # OUT

eval "$dbvar"'_answers=""'

# read doesn't support -r on FreeBSD 3.x. For this reason, the following line
# is patched to remove the -r in case of FreeBSD tools build. So don't make
# changes to it. -- Jeremy Bar
while read -r action p1 p2; do
if [ "$action" = 'answer' ]; then
db_answer_add "$dbvar" "$p1" "$p2"
elif [ "$action" = 'remove_answer' ]; then
db_answer_remove "$dbvar" "$p1"
fi
done
}

# Load all answers from a database on disk to memory (<dbvar>_answer_*
# variables)
db_load() {
local dbvar="$1" # OUT
local dbfile="$2" # IN

db_load_from_stdin "$dbvar" < "$dbfile"
}

# Iterate through all answers in a database in memory, calling <func> with
# id/value pairs and the remaining arguments to this function
db_iterate() {
local dbvar="$1" # IN
local func="$2" # IN
shift 2
local answers
local i
local value

eval 'answers="$'"$dbvar"'_answers"'
# There is no double quote around $answers on purpose
for i in $answers; do
eval 'value="$'"$dbvar"'_answer_'"$i"'"'
"$func" "$i" "$value" "$@"
done
}

# If it exists in memory, remove an answer from a database (disk and memory)
db_remove_answer() {
local dbvar="$1" # IN/OUT
local dbfile="$2" # IN
local id="$3" # IN
local answers
local i

eval 'answers="$'"$dbvar"'_answers"'
# There is no double quote around $answers on purpose
for i in $answers; do
if [ "$i" = "$id" ]; then
echo 'remove_answer '"$id" >> "$dbfile"
db_answer_remove "$dbvar" "$id"
return
fi
done
}

# Add an answer to a database (disk and memory)
db_add_answer() {
local dbvar="$1" # IN/OUT
local dbfile="$2" # IN
local id="$3" # IN
local value="$4" # IN

db_remove_answer "$dbvar" "$dbfile" "$id"
echo 'answer '"$id"' '"$value" >> "$dbfile"
db_answer_add "$dbvar" "$id" "$value"
}

# Add a file to a database on disk
# 'file' is the file to put in the database (it may not exist on the disk)
# 'tsfile' is the file to get the timestamp from, '' if no timestamp
db_add_file() {
local dbfile="$1" # IN
local file="$2" # IN
local tsfile="$3" # IN
local date

if [ "$tsfile" = '' ]; then
echo 'file '"$file" >> "$dbfile"
else
date=`date -r "$tsfile" '+%s' 2> /dev/null`
if [ "$date" != '' ]; then
date=' '"$date"
fi
echo 'file '"$file$date" >> "$dbfile"
fi
}

# Add a directory to a database on disk
db_add_dir() {
local dbfile="$1" # IN
local dir="$2" # IN

echo 'directory '"$dir" >> "$dbfile"
}
# END_OF_DB_DOT_SH

db_load 'vm_db' '/etc/vmware/locations'

if [ -e '/etc/vmware/not_configured' ]; then
echo 'vmware is installed, but it has not been (correctly) configured'
echo 'for this system. To (re-)configure it, invoke the following command:'
echo "$vm_db_answer_BINDIR"'/vmware-config.pl.'
echo

exit 1
fi

exec "$vm_db_answer_LIBDIR"'/lib/wrapper-gtk24.sh' \
"$vm_db_answer_LIBDIR"'/lib' \
"$vm_db_answer_LIBDIR"'/bin/vmplayer' \
"$vm_db_answer_LIBDIR"'/libconf' "$@"
回复

回到 “虚拟机和虚拟化”