How to change the screen resolution?

I type the command

 rdesktop "server ip"

but the screen does not appear large.

  • FYI, using the -f option will use ALL the connected monitors... – user139995 Mar 13 '13 at 14:53

I like using rdesktop -g 90% servername, which will use set the size of the remote desktop to 90% of the size of your local screen, which works quite well regardless of resolution.. :)

| improve this answer | |
  • 9
    Problems if you have a dual-screen... – Nathan Hazout Dec 1 '13 at 13:43
  • Is there viable solutions from WindowsNT to Gnome that offer specifying graphical resolution? – ThorSummoner Apr 14 '14 at 18:10
  • 3
    For dual screen: -g $(xrandr -q | awk '/Screen 0/ {print int($8/1.28) $9 int($10/1.2)}' | sed 's/,//g') – gavenkoa Dec 24 '14 at 14:07
  • Sorry, old thread. But when I work on a multiple monitor workstation I like that the remote desktop only in on one screen. I modified gacenkoa awesome script to this: -g $(xrandr -q | awk '/ connected / {print $4;exit}' | awk -F "x" '{print int($1/1.05)"x"int($2/1.1)}') This will look for the first connected monitor and then make the window a little smaller than that screen. – RobL Mar 2 '19 at 18:22

If you want to open the screen at a specific resolution, for example 1280×1024 resolution, add the -g flag:

rdesktop -g 1280x1024 [machine]

| improve this answer | |
  • 2
    Somehow I can make it as wide as I want, but the height is very limited. – Nathan Hazout Dec 1 '13 at 14:53

rdesktop -f gives you a full screen experience as well.

| improve this answer | |
  • 3
    Doesn't work well with multiple displays: it spreads the window over all of them. – Reinier Post Feb 3 '16 at 16:37
  • 4
    Ctrl + Alt + Enter if you're wondering how to minimise / exit the remote session – The Coder Apr 26 '17 at 7:17

I found the answer to my question.

  • -k de: set keyboard layout
  • -g 1500x1150: set resolution of the rdesktop window
  • -r disk:mydisk=/home/soma: share your home directory with the remote machine

    rdesktop -k de -g 1500x1150 -r disk:mydisk=/home/soma

| improve this answer | |

I'd suggest that you consider a graphical tool such as Remmina (used to be called GRDC) : http://remmina.sourceforge.net/, which is available in the repositories.

sudo apt-get install remmina remmina-plugin-rdp remmina-plugin-vnc

It features easy to use drop downs and sliders for remote screen resolution, supporting multiple monitors and more.

It also supports VNC and SSH tunnelling, making it a one-stop-shop for all your most likely remote desktop connection needs. Finally, a handy gnome-panel applet makes connecting to your remote desktops a simple point and click experience.

Screenshots here : http://remmina.sourceforge.net/screenshots.shtml

| improve this answer | |
  • 1
    remmina-gnome doesn't exist (at least in Oneiric), but this worked for me: sudo apt-get install remmina remmina-plugin-rdp remmina-plugin-vnc – phord Nov 8 '11 at 18:16
  • Nice one - they must have updated the packages in Oneiric. Have updated my answer. – Scaine Nov 8 '11 at 22:34
  • And upvoted you for the call out! – Scaine Nov 10 '11 at 9:00
  • But remmina does not work properly with 3G. You have to connect 20 times until yo – user578237 Aug 5 '16 at 15:52


I think Ctrl + Alt + KP+ also cycles through some available resolutions.

| improve this answer | |
  • 1
    That's for the local display resolution. He's using rdesktop which used RDP to pull a display from a remote Windows system. It's the resolution of thew Windows system displayed on his workstation he wants to adjust. – dan_linder Nov 8 '11 at 22:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy