I met a problem that the ssh can't display a GUI software in a server. I changed the configuration of Xorg by modifying the file
/usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
as follows:
[Seat:*]
xserver-command=X -core +iglx
So now comes the problem, I lost the terminal (it can't be open, I could only use tty mode the change configuration) even though I changed it back the initial config:
[Seat:*]
# Dump core
xserver-command=X -core