Could not load the Qt platform plugin "xcb" in "" even though it was found

Thank you so much! I had given up completely on this.
I opened a terminal and added the 2 unset commands and start genymotion and it worked!
Can I ask how I would go about creating a permanent fix for this? Where would I add the unset commands?