[kde-linux] How to adjust the resolution of KDE via ssh?

Larry Alkoff labradley at mindspring.com
Thu Jun 8 22:26:28 UTC 2006

Andrew Walbran wrote:
> On Friday 09 June 2006 9:22 am, Larry Alkoff wrote:
>> KDE at 1280x1024 is my regular window environment but sometimes I have
>> to use tightVNC to work at a remote laptop which has a maximum
>> resolution of 1024x768.
>> Is there a way to ssh from the laptop into my regular computer and lower
>> the screen resolution of KDE to 1024x768?
>> This will allow me to use vnc to work on the laptop without scroll bars
>> and other complications.
> If you're trying to connect to an existing session, then XRandR is probably 
> the best solution (either using krandrtray or xrandr from the command-line). 
> I'm not sure how well this works for a VNC connection.
> Another option is to run a separate VNC session at your desired resolution, 
> either using vncserver as required or using (x)inetd to start VNC.

Thanks for your response Andrew which worked - I think.

My regular desktop is 1280x1024 and remote laptop is 1024x768.
What did _not_ work (meaning I got hard to use scrollbars) is
vncserver -geometry 1024x768
but what _did_ work with no scroll bars was
vncserver -geometry 800x600.

So apparently it is necessary to run the remote viewer at one notch 
lower than the geometry of its screen.  Seems very strange but at least 
now I know how to get a usable remote desktop.  Not mentioned in the 
brochure <g>.

Thanks very much for solving a problem that has vext me for nearly a week.


Larry Alkoff N2LA - Austin TX
Using Thunderbird on Slackware Linux

More information about the kde-linux mailing list