Re: Build errors on Ubuntu 12.04 LTS x64 Linux (and probably others as well)
On Mon, 21 May 2012, Mikael Lyngvig wrote: Just thought I'd let you know that I had to add three times #include stdlib.h to the RealVNC 4.1.3 Unix sources downloaded from RealVNC.com. I don't recall the names of the files, but the problem should be trivial to reproduce as all it takes is to try to build RealVNC Free Edition on Ubuntu Linux. Two times, there was missing a prototype for malloc() and once a prototype for atoi(). How you've managed to build these C++ sources with other compilers is beyond my knowledge and understanding. I just use Ubuntu repository packages and avoid compiling. I'm almost always happier because it is so fast and easy to use the packages that I don't want to do the extra work to get some small tweak. Mike ___ VNC-List mailing list VNC-List@realvnc.com To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
Set an environment variable for an app.
Hi, I need to set an environemt variable for a program running via vncviewer. It requires a env. variable JAVA_HOME=/usr/java/jre1.6.0_31. I have tried looking up on the web for hours and have had no luck. I am sure this is something very easy, if I just knew how. Thanks, Karen ___ VNC-List mailing list VNC-List@realvnc.com To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
RE: Set an environment variable for an app.
I'm extremely rusty with all things Unix, and I've never played with Linux, but this might help. https://www.ccs.uky.edu/docs/cluster/env.html Philip Herlihy Email: phi...@herlihy.eu.com -Original Message- From: vnc-list-boun...@realvnc.com [mailto:vnc-list-boun...@realvnc.com] On Behalf Of Karen Thompson Sent: 21 May 2012 20:41 To: vnc-list@realvnc.com Subject: Set an environment variable for an app. Hi, I need to set an environemt variable for a program running via vncviewer. It requires a env. variable JAVA_HOME=/usr/java/jre1.6.0_31. I have tried looking up on the web for hours and have had no luck. I am sure this is something very easy, if I just knew how. Thanks, Karen ___ VNC-List mailing list VNC-List@realvnc.com To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list ___ VNC-List mailing list VNC-List@realvnc.com To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
Re: Set an environment variable for an app.
On Mon, 21 May 2012, Karen Thompson wrote: I need to set an environemt variable for a program running via vncviewer. It requires a env. variable JAVA_HOME=/usr/java/jre1.6.0_31. I have tried looking up on the web for hours and have had no luck. I am sure this is something very easy, if I just knew how. I would think that you could just add it to the ~/.vnc/xstartup file just after the first line (the first line is typically #!/bin/sh without the quotes): export JAVA_HOME=/usr/java/jre1.6.0_31 (I removed a period from the end of that line assuming it wasn't meant to be part of the line.) Mike ___ VNC-List mailing list VNC-List@realvnc.com To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
Re: Set an environment variable for an app.
Karen == Karen Thompson kthomp...@triumphenergy.com writes: Karen Hi, I need to set an environemt variable for a program Karen running via vncviewer. It requires a env. variable Karen JAVA_HOME=/usr/java/jre1.6.0_31. I have tried looking up Karen on the web for hours and have had no luck. I am sure this Karen is something very easy, if I just knew how. man vncserver :- $HOME/.vnc/xstartup A shell script specifying X applications to be run when a VNC desktop is started. If it doesn't exist, vncserver will create a new one which runs a couple of basic applications. Specify whatever you want in there (its just a shell script). Sincerely, Adrian Phillips -- Perl hacker | Ubuntu user Skype: adrianp-mobile | Fring: 4790594804 ___ VNC-List mailing list VNC-List@realvnc.com To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list