Strange rendering issues when using xvfb-run

I have an app running remotely on a beaglebone, written in wxPython. I want to run the app inside of a virtual frame buffer, using Xvfb, and access it remotely using a VNC.

It may also be pertinent for you to know that I am launching VNC from inside of the application, like so:

    display = Display(":99")     root = display.screen().root     win_ids = [ for w in root.query_tree()._data['children'] if w.get_wm_name() and 'myappname' in w.get_wm_name().lower()]     if (win_ids[0]):        print("Found my win id. Starting x11vnc")        system("x11vnc -quiet -sid %s -forever &" % win_ids[0])     else:         print("Can't find my Window ID!") 

When I launch the app with:

    sudo xvfb-run ./myApp -s :99 -screen 0 1920x1080x16 -ac 

I see the following: Strange rendering issues when using xvfb-run

However, when I launch Xvfb separately:

    Xvfb :99 -screen 0 800x600x16 -ac & 

and then launch the app:

    DISPLAY=:99 ./myApp 

I see this (what it should be):

Strange rendering issues when using xvfb-run

Any insights?


Category: python Time: 2016-07-29 Views: 0
Tags: python vnc xvfb

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C), All Rights Reserved.

processed in 0.147 (s). 12 q(s)