qvfb: Semop lock failure Identifier removed

to solve this problem (when running qvfb on x11),here is some info from
site:
http://www.qtforum.org/article/15411/semop-lock-failure-identifier-removed-error.html
title:

<<Semop lock failure Identifier removed error>>


I m building embedded qt application to run on QVFB(Virtual Frame Buffer).
After building the application successfully i m running the application on qvfb.

I execute $QTDIR/tools/qvfb/qvfb &
After that i execute my application ./appname -qws

But i m getting the following error.
"Semop lock failure Identifier removed "

Can u please help me ?

-------------

You should delete the file /tmp/qtembedded-rootusername/QtEmbedded-0.

It works .
I don't know how.

Is anybosy have idea about this.

Thanking you,
Sumit

---------------
QT/e checks whether the temporary directory exists, is writeable and has the permissions set right, otherwise it refuses to work...

#######################

so what i do :

[root@lyl movie]# ls /tmp/qtembedded-rootusername/QtEmbedded-0
ls: /tmp/qtembedded-rootusername/QtEmbedded-0: No such file or directory

[root@lyl movie]# ls /tmp/qtembedded-*
qtembedded-0/    qtembedded-root/
[root@lyl movie]# ls /tmp/qtembedded-root/
[root@lyl movie]# ls /tmp/qtembedded-0/QtEmbedded-0
fire.mng          main.moc          movie_rs2map.mng  movies.pro
main.cpp          main.o            movies            text
main.cpp~         Makefile          movies.doc        trolltech.gif
[root@lyl movie]# rm -f /tmp/qtembedded-0/QtEmbedded-0/*
rm: cannot remove `/tmp/qtembedded-0/QtEmbedded-0/*': Not a directory
[root@lyl movie]# rm -f /tmp/qtembedded-0/QtEmbedded-0
[root@lyl movie]# qvfb -width 240 -height 320 &
[1] 9099
[root@lyl movie]# Using display 0

[root@lyl movie]# ./movies -qws
Connected to VFB server: 240 x 320 x 32
status -1    ************here qvfb runs OK!!**************

另外,http://www.vision.ee.ethz.ch/computing/sepp-irix/qt-2.3.1-mo/install-qws.html 这里有官方的一个相关文档。

你可能感兴趣的:(qvfb: Semop lock failure Identifier removed)