You can also launch processes with graphical user interface. To use a local X-server you must supply
DISPLAY environment variable. Set the value to your display specifier (usually an address of your
local machine followed by a screen number obtained from your X-server). Also it might be necessary
to set appropriate permissions in the X-server allowing the remote machine to connect to it.
To perform this, follow these steps:
Start the X-server and login to the remote machine.
Open a terminal window.
Enter the following command:
xhost [your local machine IP address]
Now you should be able to launch a process from a SSH session (e.g. putty) with proper DISPLAY
variable setting. Since WinGDB also uses SSH remote login (just as putty), remote debugging should
be possible.