From: Cesar Delgado (beettlle_at_hotmail.com)
Date: Tue Mar 02 2004 - 19:26:22 CST

I think the problem is the shell script spawning a terminal and, from there
calling VMD. I think Chromium is trying to intercept calls from the
terminal from which the shell was called and disregards the terinal tha was
created which is calling VMD. The easies solution I can think of is to make
another option in the shell script, something like "-chromium". I made a
diff file to the vmd script that seems to work on our Chromium setup. I
don't know csh so it's a horrible hack. I'm sure you guys can think of a
more elegant way to do it. Just my $0.02.

132,136d131
<
< if ( "$argv[$parmcount]" == "-chromium") then
< set VMDCHROMIUM=1
< endif
<
284c279
< # check for Mac bundled version, else assume X-Windows

---
># check for Mac bundled version, else assume X-Windows
287,290c282
<   # check to see if VMD will run under Chromium
<   if ($?VMDCHROMIUM == "1") then
<     exec "$VMDDIR/$execname" $*
<   else if ($?DISPLAY) then
---
>   if ($?DISPLAY) then
-Cesar Delgado
---------------------------------------------
Research Computing Facility @ UNL
http://rcf.unl.edu
cdelgad2_at_bigred.unl.edu, beettlle_at_hotmail.com
>From: John Stone <johns_at_ks.uiuc.edu>
>To: Brian Dotson <Brian.Dotson_at_netl.doe.gov>
>CC: beettlle_at_hotmail.com, vmd-l_at_ks.uiuc.edu
>Subject: Re: vmd-l: Using VMD with Chromium
>Date: Tue, 2 Mar 2004 09:56:59 -0600
>
>
>Guys,
>   Do you know why running VMD via the normal startup script doesn't work
>with Chromium?  Is some Chromium environment variable lost when it is run
>that way?  If you guys can tell me what's going on there, I can probably
>change the startup script so that it works for Chromium too.
>
>Thanks,
>   John Stone
>   vmd_at_ks.uiuc.edu
>
>On Tue, Mar 02, 2004 at 07:12:42AM -0500, Brian Dotson wrote:
> > Cesar,
> >
> > Running the binary worked.
> >
> > Thanks for the help.
> >
> > Brian
> >
> > >>> "Cesar Delgado" <beettlle_at_hotmail.com> 03/01/04 01:30PM >>>
> > I've had luck starting VMD with the binary and not the shell script
> > which
> > calls it.  When you call VMD it calls a shell script that sets
> > environment
> > variables and such.  To run Chromium call the binary, it should be
> > /usr/local/lib/vmd/vmd_LINUX, not the shell script.  Check out the
> > shell
> > script though and set those environment variables yourself.
> >
> > Cheers,
> >
> > -Cesar Delgado
> > ---------------------------------------------
> > Research Computing Facility @ UNL
> > http://rcf.unl.edu
> > cdelgad2_at_bigred.unl.edu, beettlle_at_hotmail.com
> >
> >
> >
> >
> > >From: "Brian Dotson" <Brian.Dotson_at_netl.doe.gov>
> > >To: <vmd-l_at_ks.uiuc.edu>
> > >Subject: vmd-l: Using VMD with Chromium
> > >Date: Mon, 01 Mar 2004 07:59:34 -0500
> > >
> > >Hello,
> > >
> > >I am trying to run VMD on a 3 x 3 tiled display system.  I have
> > >Chromium running on the system and have tested it by running the
> > >chromium sample code.  I tried running vmd the same way as I did the
> > >samples, but VMD starts on the machine I start crappfaker on and not
> > the
> > >tiled display.
> > >
> > >Any help would be appreciated.
> > >
> > >Thanks in advance,
> > >
> > >Brian Dotson
> > >National Energy Technology Laboratory
> > >
> >
> > _________________________________________________________________
> > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
> > http://join.msn.com/?page=features/virus
>
>--
>NIH Resource for Macromolecular Modeling and Bioinformatics
>Beckman Institute for Advanced Science and Technology
>University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
>Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349
>   WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail