If you are using ssh -X
, then the application is diplayed on your own screen with your own resolution. To see this, try
export DISPLAY=localhost:10 xrandr -q
on the (remote) server; the reply will be the properties of the X monitor on the (local) client. You can change the resolution with the usual xrandr
command,
xrandr --output HDMI1 --mode 1920x1024
or whatever applies to you.
If you are annoyed by having to change the resolution of your work session, you can create a second, distinct and separate session, as follows: install Xephyr
(the how depends on your distro, the package is called xserver-xephyr
on Debian and derivatives), then on the local machine
Xephyr -ac -br -noreset -resizeable -screen 800x600 :1 & DISPLAY=:1.0 ssh -Y me@remote.host
and then, on the remote server, you issue the command
export DISPLAY=localhost:10
then run your graphical application, it will appear on a separate window on your local pc.