From: John Stone (johns_at_ks.uiuc.edu)
Date: Mon May 23 2022 - 09:51:05 CDT

Hi,
  The X-Windows builds of VMD for Linux will automatically revert to
a text-only mode if the DISPLAY environment variable isn't set, since
this would normally indicate execution on a cluster node or similar
non-graphical environment. So long as you have set DISPLAY correctly
for a viable windowing system, you should be okay.

Best,
  John Stone
  vmd_at_ks.uiuc.edu

On Sat, May 21, 2022 at 07:26:21PM +0100, manuel mourato wrote:
> Hello Dr Axel,
>
> Turns out this was because my DISPLAY env variable in the subsystem wasn't
> set to the correct value. After a few changes it worked like¬ a charm.
> Apologies and thank you for your time.
> On Sat, 21 May 2022 at 17:07, Axel Kohlmeyer <[1]akohlmey_at_gmail.com>
> wrote:
>
> Please provide the output that vmd produces when you launch it.¬
>
> --
> Dr. Axel Kohlmeyer [2]akohlmey_at_gmail.com [3]http://goo.gl/1wk0
> College of Science & Technology, Temple University, Philadelphia PA, USA
> International Centre for Theoretical Physics, Trieste, Italy
> On Sat, May 21, 2022, 09:43 manuel mourato
> <[4]manuelmourato25_at_gmail.com> wrote:
>
> Hello all,
>
> I am exploring vmd a bit, and have just recently compiled the code
> from source, in WSL2 (Centos OS 8), on my Windows PC.
> After following the instructions in the documentation, vmd is indeed
> installed¬ and I can launch it with the /usr/bin/vmd command ( the
> tcl/tk command line interface appears).
> However, the GUI is not launched.¬
> I have tried launching a VMD binary distribution (for windows) from my
> WSL2 Centos system command line (/mnt/c/.../vmd.exe) and it works with
> no issues.
> Is there something I am missing?
> Thank you.¬
>
> References
>
> Visible links
> 1. mailto:akohlmey_at_gmail.com
> 2. mailto:akohlmey_at_gmail.com
> 3. https://urldefense.com/v3/__http://goo.gl/1wk0__;!!DZ3fjg!9pHjq7NKGHmk9ascYgt47GxgrtMahKluu3G62F0vO7ovRNBApmwYP4zYRpDzxxbapWsvXqr4i78_2p3tjE882Iigu54$
> 4. mailto:manuelmourato25_at_gmail.com

-- 
NIH Center for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
http://www.ks.uiuc.edu/~johns/           Phone: 217-244-3349
http://www.ks.uiuc.edu/Research/vmd/