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.
whenever I run "xrandr -q" on the server I get " Xlib: extension "RANDR" missing on display "localhost:14.0" " Also I'm not able to install anything on the server machine... damn! – user1219766 – 2016-04-07T07:15:48.940
@user1219766 This is a strange problem: that means you have a defective X11 configuration on the client. You will have to produce much more info about your configuration than you gave us so far. – MariusMatutiae – 2016-04-07T07:57:52.667
On client side (local computer) I got a lot of info, but not running that on the server side. – user1219766 – 2016-04-07T12:05:18.757