Setting VNC Screen Size/Resolution

Hey @jeff.ohrstrom,

I see that there are settings for resolutions with VNC, that we would normally use on a command line, for OnDemand’s desktop app through turboVNC. However, it doesn’t seem to actually appear (see below unanswered topic):

Here is my config:

title: “Korok Desktop”
description: “This launches a XFCE desktop on the Korok compute nodes.”
cluster: “link”
attributes:
desktop: “xfce”
bc_vnc_resolution:
required: true
bc_num_slots: 1
bc_vnc_idle: 0
form:

  • bc_num_hours
  • desktop
  • bc_num_slots
  • bc_vnc_idle
  • bc_account
  • bc_queue
  • bc_vnc_resolution

Hi, sorry for the troubles. I don’t think the link you provided is going to be much help as that was for a separate app a user was trying to get this functionality with.

Here, you’re just trying to run XFCE desktop and change the resolution, which is more straightforward.

Looking at the posted yaml though, it doesn’t look like things are formatted correctly from what I see. But, it’s also not raw so I’m unsure.

But, i see you have bc_vnc_resolution twice, and it doesn’t look like some of these lines are at the right scope, such as some entries under attributes.

Could you possibly post the raw yml in so we can ensure the formatting is correct to begin? You can use backticks to do this.

No worries, here is what the yaml looks like @travert .

title: "Korok Desktop"
description: "This launches a XFCE desktop on the Korok compute nodes."
cluster: "link"
attributes:
  desktop: "xfce"
  bc_vnc_resolution:
    required: true
  bc_num_slots: 1
  bc_vnc_idle: 0
form:
  - bc_num_hours
  - desktop
  - bc_num_slots
  - bc_vnc_idle
  - bc_account
  - bc_queue
  - bc_vnc_resolution

What does it render when you do this:

title: "Korok Desktop"
description: "This launches a XFCE desktop on the Korok compute nodes."
cluster: "link"
attributes:
  desktop: "xfce"
  bc_num_slots: 1
  bc_vnc_idle: 0
form:
  - bc_num_hours
  - desktop
  - bc_num_slots
  - bc_vnc_idle
  - bc_account
  - bc_queue
  - bc_vnc_resolution

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.