Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


Usability enhancements for v3_vncserver
Peter Dinda [Thu, 26 Apr 2012 22:59:13 +0000 (17:59 -0500)]
linux_usr/Makefile
linux_usr/v3_vncclient [new file with mode: 0755]
linux_usr/v3_vncserver [new file with mode: 0755]
linux_usr/x0vncserver

index aad54ba..f69af46 100644 (file)
@@ -50,7 +50,7 @@ EXPERIMENTAL_EXECS =  v3_simulate  \
 #
 PRECOMPILED_EXECS = x0vncserver
 
-COPIED_EXECS = v3_vncserver
+COPIED_EXECS = v3_x0vncserver
 
 #
 # Libraries that we need to build
@@ -133,8 +133,8 @@ v3_user_keyed_stream_file : v3_user_keyed_stream_file.c libv3_user_keyed_stream.
 #
 # VNC support is compiled separately
 #
-v3_vncserver : x0vncserver
-       cp x0vncserver v3_vncserver
+v3_x0vncserver : x0vncserver
+       cp x0vncserver v3_x0vncserver
 
 
 #
diff --git a/linux_usr/v3_vncclient b/linux_usr/v3_vncclient
new file mode 100755 (executable)
index 0000000..3aca886
--- /dev/null
@@ -0,0 +1,13 @@
+#!/usr/bin/perl -w
+
+use Getopt::Long;
+
+$port = 5951;
+$password = "";
+
+&GetOptions("port=i"=>\$port, "password=s"=>\$password);
+
+
+system "vncviewer localhost:$port\n";
+
+
diff --git a/linux_usr/v3_vncserver b/linux_usr/v3_vncserver
new file mode 100755 (executable)
index 0000000..82ef652
--- /dev/null
@@ -0,0 +1,20 @@
+#!/usr/bin/perl -w
+
+use Getopt::Long;
+
+$port = 5951;
+$password = "";
+
+&GetOptions("port=i"=>\$port, "password=s"=>\$password);
+
+$#ARGV==0 or die "usage: v3_vncserver [--port=port] [--password=password] /dev/v3-vmN\n";
+
+$vm=shift;
+
+system "echo \"$password\" | vncpasswd -f > ./.vncpasswd";
+
+system "v3_x0vncserver --PasswordFile=./.vncpasswd -rfbport $port $vm >/dev/null 2>&1 & echo \$! > ./.vncpid";
+print STDERR "pid of server is stored in ./.vncpid\n";
+print "You can now connect to port $port with password \"$password\"\n";
+
index d173fe8..a16fa85 100755 (executable)
Binary files a/linux_usr/x0vncserver and b/linux_usr/x0vncserver differ