signal(SIGINT, CleanupSignalHandler);
signal(SIGTERM, CleanupSignalHandler);
- init_fltk();
-
Configuration::enableViewerParams();
/* Load the default parameter settings */
i++;
}
- // Check if the server name in reality is a configuration file
- potentiallyLoadConfigurationFile(vncServerName);
-
- mkvnchomedir();
-
#if !defined(WIN32) && !defined(__APPLE__)
if (strcmp(display, "") != 0) {
Fl::display(display);
XkbSetDetectableAutoRepeat(fl_display, True, NULL);
#endif
+ init_fltk();
+
+ // Check if the server name in reality is a configuration file
+ potentiallyLoadConfigurationFile(vncServerName);
+
+ mkvnchomedir();
+
CSecurity::upg = &dlg;
#ifdef HAVE_GNUTLS
CSecurityTLS::msg = &dlg;