Re: Unable to bring TigerVNC server to get a remote display of other than the default 1024x768 in FC25

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/28/17 01:46, Walter H. wrote:
> On 27.06.2017 19:23, Walter H. wrote:
>> xrandr only shows
>>
>> Screen 0: minimum 32 x 32, current 1024 x 768, maximum 32768 x 32768
>> VNC-0 connected primary 1024x768+0+0 0mm x 0mm
>>    1600x1200     60.00 +
>>    1920x1200     60.00
>>    1920x1080     60.00
>>    1680x1050     60.00
>>    1400x1050     60.00
>>    1360x768      60.00
>>    1280x1024     60.00
>>    1280x960      60.00
>>    1280x800      60.00
>>    1280x720      60.00
>>    1024x768      60.00*
>>    800x600       60.00
>>    640x480       60.00
>>
>> /etc/systemd/system/vncserver@.service
>> has this
>> ExecStart=/usr/bin/vncserver %i -geometry 1600x1200
>>
>> and ~/.vnc/config
>> has this
>> geometry=1600x1200
>>
>> and still connected with 1024x768 ... even when setting SELINUX to permissive
>> why?
>>
>> the goal is either 1600x1200 or 1280x1024, the default 1024x768 is too small
>>
>> Thanks,
>> Walter 
> strange thing
>
> when I'm connected and on a terminal I can enter the following
>
> xrandr -s 1280x1024
> or
> xrandr -s 1600x1200
> or
> xrandr -s 1920x1200
>
> and the display changes to this resolution on the fly
>
> how can I bring the system to do this before I connect via vncviewer from my other
> box?

A couple of things....

The 1600x1200     60.00 + in your xrandr output indicates what the Xserver, in this
case Xvnc, is offering as the optimal resolution and 1024x768      60.00* (with the
*) is what you've connected at.  But I think you already knew that.  I just like typing.

What I believe is that the vncviewer is doing is requesting 1024x768 and that is what
you'll get.  Now, the "interesting" or bad thing is that once you connect at a lower
resolution than what you want Xvnc will stick with it no matter what you do from the
viewer side.

So....  Try disconnecting, restart the server, and then use "vncviewer -geometry
1600x1200 hostname:1" to connect.

In other words, once you connect with a given resolution you're stuck to it on
subsequent connections.  :-(

-- 
Fedora Users List - The place to go to speculate endlessly

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux