qvfb: Semop lock failure Identifier removed

來源:互聯網
上載者:User

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
這裡有官方的一個相關文檔。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.