Home | History | Annotate | Download | only in x11vnc

Lines Matching full:x11vnc

5 This file is part of x11vnc.
7 x11vnc is free software; you can redistribute it and/or modify
12 x11vnc is distributed in the hope that it will be useful,
18 along with x11vnc; if not, write to the Free Software
23 gives permission to link the code of its release of x11vnc with the
35 #include "x11vnc.h"
45 " x11vnc -appshare: an experiment in application sharing via x11vnc.\n"
48 " Usage: x11vnc -appshare -id windowid -connect viewer_host:0\n"
49 " x11vnc -appshare -id pick -connect viewer_host:0\n"
70 " The -id/-sid option is as in x11vnc(1). It is either a numerical window\n"
85 " -trackdir dir Set tracking directory to 'dir'. x11vnc -appshare does\n"
86 " better if it can communicate with the x11vnc's via a\n"
89 " -args 'string' Pass options 'string' to x11vnc (e.g. -scale 3/4,\n"
91 " -env VAR=VAL Set environment variables on cmdline as in x11vnc.\n"
105 " cmd=restart Restart all of the x11vnc's.\n"
107 " cmd=x11vnc Run ps(1) looking for x11vnc's\n"
119 " cmd=print_logs Print out the x11vnc logfiles.\n"
153 " To stop x11vnc -appshare press Ctrl-C, or (if -noexit not supplied) delete\n"
158 " connected you will need to supply -args '-forever' otherwise the x11vnc's\n"
208 " x11vnc -remote_prefix X11VNC_APPSHARE_CMD: feature. So in the\n"
219 " If any part of a window goes off of the display screen, then x11vnc\n"
271 static char *x11vnc = "x11vnc";
274 static char *trackpre = "/tmp/x11vnc-appshare-trackdir-tmp";
354 if (strstr(line, "x11vnc version:")) {
438 len = 1000 + strlen(x11vnc) + strlen(connto) + strlen(x11vnc_args)
449 x11vnc, id_opt, win, use_forever ? "-forever" : "-once", timeo, unique_tag);
489 fprintf(stdout, "launching: x11vnc for window 0x%08lx %dx%d+%d+%d \"%s\"\n",
524 cmd = (char *) malloc(1000 + strlen(x11vnc));
525 sprintf(cmd, "pkill -TERM -f '%s %s 0x%lx -bg'", x11vnc, id_opt, win);
529 fprintf(stdout, "stopping: x11vnc for window 0x%08lx "
536 "%s 0x%lx -bg') &", x11vnc, id_opt, win);
616 fprintf(stderr, "===== x11vnc log %s =====\n", tracktmp);
1458 fprintf(stderr, " quit restart noop x11vnc help ? ! !!\n");
1663 char tmp[] = "/tmp/x11vnc-appshare.cmd.XXXXXX";
1712 } else if (!strcmp(str, "x11vnc") || !strcmp(str, "ps")) {
1713 char *cmd = "ps -elf | egrep 'PID|x11vnc' | grep -v egrep";
1908 x11vnc = strdup(argv[0]);
1968 fprintf(stderr, "unrecognized 'x11vnc -appshare' option: %s\n", s);