aboutsummaryrefslogtreecommitdiffstats
path: root/apps.c
diff options
context:
space:
mode:
authorkraxel <kraxel>2006-06-15 12:46:35 +0000
committerkraxel <kraxel>2006-06-15 12:46:35 +0000
commita27248c91a6a7a48ce794efc4ed51cc9a6e7172b (patch)
tree880c7673da96116584904e18b59c138fa0a166a0 /apps.c
parentafeb309719291120396c28c86e038fd9eade68d9 (diff)
downloadxenwatch-a27248c91a6a7a48ce794efc4ed51cc9a6e7172b.tar.gz
try krdc first
Diffstat (limited to 'apps.c')
-rw-r--r--apps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps.c b/apps.c
index 238b67d..e8f39c0 100644
--- a/apps.c
+++ b/apps.c
@@ -335,11 +335,11 @@ int open_vnc_session(char *host, int screen)
snprintf(vncurl, sizeof(vncurl), "vnc://%s:%d/", host, 5900 + screen);
/* --- try client apps --- */
- if (have_application("vncviewer"))
- return run_application(0, "vncviewer", "vncviewer", display, NULL);
if (have_application("krdc"))
/* KDE remote desktop client */
return run_application(0, "krdc", "krdc", display, NULL);
+ if (have_application("vncviewer"))
+ return run_application(0, "vncviewer", "vncviewer", display, NULL);
/* --- try web browser (java applet client) --- */
if (DESKTOP_KDE == desktop_type && have_application("kfmclient"))