Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to figure out how to scale my rdesktop window to fit my client.
I rdesktop into computer Y, from computer X. However, Computer X has a display resolution of 1024x768 while computer Y has a resolution of 1280x1024. What happens is that scrolls bars appear or cropping occurs because computer X has a smaller resolution than computer Y, even in full screen mode.
Is there any way to scale (not crop, or use scroll bars) the remote desktop session without changing the resolution of computer Y or computer X? That is, is there a way to shrink the rdesktop window or reduce the resolution only on the client side, on computer X's side while still allowing me to see the entire rdesktop view of computer Y?
Your remote desktop client on Linux should allow you to set the resolution of the virtual screen that it will create. Look under Preferences or under Connection Preferences or anything similar, depending on what software you are using to create the remote desktop connection. This will not affect the actual screen resolution on either computer's monitor. In your situation I would start with a virtual resolution of 800x600. And use the RDP protocol. Why? Because it works.
Last edited by stress_junkie; 07-15-2009 at 04:31 PM.
Your remote desktop client on Linux should allow you to set the resolution of the virtual screen that it will create. Look under Preferences or under Connection Preferences or anything similar, depending on what software you are using to create the remote desktop connection. This will not affect the actual screen resolution on either computer's monitor. In your situation I would start with a virtual resolution of 800x600. And use the RDP protocol. Why? Because it works.
My server is a VM running on Virtual box. The client is Linux using rdesktop to connect remotely to the VM. The man pages for rdesktop allow me to set a resolution (rdesktop -g 640x480 <hostname>) . However, as soon as the window pops up it immediately reverts to the resolution of the OS. I notice this because the console output informs me that its changed the resolution form 640x480 to the servers resolution of 1280x1024. Its happens so quickly that I never even see the 640x480. Somehow its being forced into the servers resolution.
As long as I know -though I am no expert in remote sessions-, the resolution that the client window will have is this supplied by the server. At least, the virtual resolution will be that.
Some clients might support scaling, client side. But the resolution inside the client will officially be this supplied by the server.
I don't know if there's any client that supports scaling client side. I tried this long ago in Xephyr as a way to achieve scaling for old Windows games inside wine (some of them only support up to 640x480 or 800x600, and that's ridiculous on a 1600x1200 display, since wine can't do scaling itself).
Another option would be to change the resolution of your screen and run the client full screen, but that's quite useless for my purposes.
I've had the same issue and never found a way to resolve it until I changed my remote app over to KRFB as the server and KRDC as the client. The KRDC client has a one click scaling feature that works great...so great that I can use a 13" notebook running 1024x768 and connect to a machine running 1280x1024 on a 19" monitor and it is 100percent usable..
The KRFB/KRDC needs TightVNC or a VNC client to work so that would have to be installed also.
Soup
Last edited by soupnsandwich; 07-26-2009 at 10:21 AM.
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829
Rep:
rdesktop -g 1270x990 -u username -a 16 172.90.80.21
This is how I use it for rdp to a windows machine at work. you can change the 1270x990 to whatever you want. test a few different sizes until you like how it looks.
If you use a gnome-based system vinagre supports client-side screen scaling and the man pages says it supports rdp. I use it from xfce systems for vnc but haven't used rdp myself.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.