Re: f16, vncserver, screen geometry

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

 



Lets Go Canes wrote:
I guess this is two questions in one.  1) Has the
config file for vncserver moved or is f16's vncserver
implementation broken?

It has moved and now has a different format.  Copy /lib/systemd/system/vncserver@.service to /lib/systemd/system/vncserver@:1.service (change :1 to whatever vnc display number you want to use), and then edit it to have the correct username.  I use the following lines in mine:

ExecStart=/usr/bin/vncserver %i -geometry 1100x900
ExecStop=/usr/bin/vncserver -kill %i

where %i is the username defiend earlier in the file.

   2) Is it possible to add a
custom display size somewhere?  (looking to add
1670x1020).

add the geometry argument as above.

[I am thinking there may have been another step or two to add the customized file to systemctl, but it escapes me at the moment.]

Note that in my experience, vncserver does not start properly as part of system boot.  I have to login over ssh and issue the systemctl start command by-hand.  Another poster told me they had a similar problem, and use a cron job to make sure it is started.

I sometimes do this another way, using the "-vnc N" option to kvm, starting some VMs from command line. That doesn't seem to have an option to set the geometry (I might have missed it) but in looking at one VM I use, which I created by "dd" to a file from the original drive, it had VNC access enabled and I can get at it using a VNC connection to the host or to the VM. I'm not sure this is good for anything, but it's a way to allow VNC access to machines which can't provide their own, so I though I'd mention it.

--
Bill Davidsen <davidsen@xxxxxxx>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[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