Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting window list in Xvfb server

I'm trying to get the window list in a Xvfb server in a debian squeeze machine. What I'm doing is:

$ Xvfb :2&
$ DISPLAY=:2; wmctrl -l

But I'm getting this error:

Cannot get client list properties. (_NET_CLIENT_LIST or _WIN_CLIENT_LIST)

Is this normal or am I missing something?

Thanks!!

like image 582
sgimeno Avatar asked Nov 13 '22 23:11

sgimeno


1 Answers

I had similar problem. Im my case xfce-panel was not configured. Finally I executed:

sudo chmod -x /usr/bin/xfce4-panel

This solved the problem (I did not need this panel). This is a dirty hack. The proper approach is configuring the panel.

like image 176
gbajson Avatar answered Nov 15 '22 12:11

gbajson