On Mon, Feb 04, 2002 at 08:52:09AM -0800, Raymond Balise wrote:
> > try using
> > export $DISPLAY
> > after setenv
> No luck.  In the log I get this:
> export: Command not found.

If you're using csh or tcsh, then setenv is the command to export an
environment variable.  In sh, ksh, bash, or any other Bourne shell
derivative, you need to use the export command.  There is no need to
do both, nor would it work.

> I wish I knew more about Solaris?  Sigh....

You may want to pick up a book on the subject.  I recommend Harley
Hahn's Student Guide to Unix.

It sounds to me like everything is working fine.  The xstartup script
has the DISPLAY variable correctly set.  Exported environment variables
are passed along from one process to its child processes (any programs
started within xstartup) but not back up to parent processes.  So the
shell within which you launch Xvnc or vncserver does not automatically
get an updated DISPLAY variable.  What most people do is have xstartup
start an xterm or some other means to launch applications within the VNC
session.  Then they don't have any need to change the DISPLAY variable
in their original shell.

-- 
Mike Ossmann, Tarantella/UNIX Engineer/Instructor
Alternative Technology, Inc.  http://www.alttech.com/
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to