Xvnc modification help

jmv16@cornell.edu jmv16 "at" cornell.edu
Wed, 29 Mar 2000 21:24:51 +0000


On Wed, 29 Mar 2000, Jonathan Morton <chromi "at" cyberspace.org> wrote:
 
> What needs to be put in the vncserver script, and why?  My thinking is you
> could probably put in your patch with default settings, and have ppl pass
> in switches if they don't like the default behaviour.  Most programs work
> this way, but is there something I'm missing?

Well, ideally, I'd have the default be to check if ~/.vnc/connect and 
~/.vnc/disconnect exist, and if they do, run them when appropriate.  (If 
they don't, do nothing.)  

But $vncUserDir is in vncserver; there's no concept of the users home
directory in Xvnc itself.  So I'd have to either ignore the $vncUserDir 
and hardcode a path, or set up a way for Xvnc to take $vncUserDir as an 
argument, which would require modifying vncserver to supply said argument.

-- 
Jeffrey M. Vinocur   *   jmv16 "at" cornell.edu
http://www.people.cornell.edu/pages/jmv16/


---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------