Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

View only - 256 colors

Should you have problems with the JavaViewer, here's the place to look for help or report issues
Post Reply
giacomo9
Posts: 1
Joined: 2008-06-09 19:49

View only - 256 colors

Post by giacomo9 »

I want to use the Java viewer as a view-only application and to default to a 256 color display. I know that the server application can be setup to reject remote mouse and keyboard actions and to disallow file transfer, but I'd also like to disable the viewer buttons or remove them altogether and as I said, have it default to a 256 color display.

I am both a Java and .Net developer, so I can see that I can make changes to the applet code, recreate the jar and then recompile the server executable, but I'm hoping I'm missing an easier way to do this.

Any ideas would be appreciated.
nickdabs
Posts: 7
Joined: 2008-09-29 21:27

Re: View only - 256 colors

Post by nickdabs »

Hi,

I wanted it to default to view only with full colour. The only way to do this I could find was to mod and recompile the JavaViewer and UltraVNC server.

// Set up defaults

choices[encodingIndex].select("Tight");
choices[compressLevelIndex].select("Default");
choices[jpegQualityIndex].select("6");
choices[cursorUpdatesIndex].select("Disable");
choices[useCopyRectIndex].select("Yes");
choices[eightBitColorsIndex].select("Full");
choices[mouseButtonIndex].select("Normal");
choices[viewOnlyIndex].select("Yes");
choices[shareDesktopIndex].select("Yes");

Changing the values between the quotes accordingly.

Cheers,
Nick.
Post Reply