Configuring Burp Suite Professional for wayland
The problems I faced
After setting up an Ubuntu VM with Xwayland and installing Burp Suite, I noticed the application became unresponsive when I started intercepting traffic. As soon as I began, the program would freeze and slow down significantly.
I found a fix for this, but then another issue arose: black bars and the application screen would go completely black when interacting with it. This problem became frustrating, as the screen would go black within seconds, rendering the application unusable.
How to fix the issue
In my case, I’m using Burp Suite Professional, so I’m not sure if the solution applies to the Community or Enterprise versions, but it’s worth trying.
Burp Suite has a specific configuration file for users running it in a virtual machine, called BurpSuitePro.vmoptions. We’ll also need to edit the burpsuite.conf file.
The step-by-step configuration
- Edit the
burpsuite.conffile:
sudo vi /etc/environment.d/burpsuite.conf
And add the following configuration inside of the file:
XWAYLAND_NO_GLAMOR=1
- Edit the
BurpSuitePro.vmoptionsfile:
This file is located where you have installed your Burp Suite. I have installed it at /opt/BurpSuitePro :
sudo vi /opt/BurpSuitePro/BurpSuitePro.vmoptions
Add the following lines to the configuration file:
-Dsun.java2d.noddraw=true
-Dsun.java2d.d3d=false
-Dswing.useflipBufferStrategy=True
-Dsun.java2d.ddforcevram=true
-Dsun.java2d.ddblit=false
- That’s it! Give your VM a reboot to ensure everything is working properly.
Issues
With this configuration, I’ve encountered minimal issues, and Burp Suite now feels like a native Xwayland application. The only issue I’ve experienced is with the Ctrl + R shortcut in the Proxy tab—it works sometimes, but not always.