Opened 12 years ago

Last modified 12 years ago

#188 closed enhancement

Supporting the vino vnc server? — at Version 1

Reported by: robert.waters Owned by: Antoine Martin
Priority: trivial Milestone:
Component: UI Keywords:
Cc:

Description (last modified by Antoine Martin)

I would like to run winswitch on two current ubuntu (oneiric) boxes, both running the vinagre/vino-server VNC client/server combo.
The 'Desktop Default' section in server configuration ui reads 'None available' (ui/config_server.py: populate_session_types()), and 'Start Desktop Session' is disabled.

I tried trivially adding the vinagre/vino paths to VNC_COMMAND/XVNC_COMMAND in util/commands_util.py; that did not work.

The problem persisted even after installing the tightvnc viewer.

Any hints would be appreciated.

Thanks!

Change History (1)

comment:1 Changed 12 years ago by Antoine Martin

Description: modified (diff)
Owner: changed from Antoine Martin to Antoine Martin
Status: newaccepted

What you want to do is tell winswitch to use a specific command for 'vncviewer' / 'Xvnc', no need to change the source for that! This is stored in your settings which were detected the first time you started winswitch.

  • You can change the vncviewer in the UI: 'Configuration' -> 'General' (tick 'Advanced Options' to be able to override paths) then go to 'Configuration' -> 'Protocols' and set your vncviewer path there.
  • The Xvnc command is used by the server and cannot be changed via the UI yet, look for it in your .winswitch/server/server.conf under xvnc_*, this is what it looks like in my config for example:
    xvnc_command="/usr/local/bin/Xvnc"
    xvnc_options[0]="+extension"
    xvnc_options[1]="RANDR"
    xvnc_options[2]="-br"
    

Other relevant options, ie for shadowing existing displays:

vncshadow_command="/usr/local/bin/x0vncserver"
vncpasswd_command="/usr/local/bin/vncpasswd"

I will now do some tests with vinagre and vino server to confirm if they work properly out of the box (command line compatible with other binaries) or if I need to tweak the code specifically for them. Will post the results here.

Note: See TracTickets for help on using tickets.