Dear Justin, Mark and Frank, Thank you so much for explaining it. Now I think I understand it.
I was confusing because I thought, I should install/compile the xorg-dev by using "cmake". But actually, what you meant is, use "cmake" to compile Gromacs after installing xorg-dev. I tried as Frank suggested for the cmake command line, including "-DGMX_X11=on", using my original Gromacs 5.0.4 files. But some problems occurred on the cmake. But I managed to use VMD to visualise my xtc file. So it is okay for me now. Thank you for all your help! Yours sincerely Cheng ------------------ Original ------------------ From: "ZHANG Cheng";<272699...@qq.com>; Date: Thu, May 11, 2017 04:27 AM To: "gromacs.org_gmx-users"<gromacs.org_gmx-users@maillist.sys.kth.se>; Subject: Re: Re: Re: How to use "gmx view" on Ubuntu? Dear Mark, Yes, Justin gave me a link for Gromacs-2016.3, but not the link for xorg-dev. Do you mean, I should uninstall my current Gromacs 5.0.4, then install the Gromacs-2016.3, so that I can use the "gmx view" in the Gromacs-2016.3 on my Ubuntu? Cheng ------------------ Original ------------------ From: "ZHANG Cheng";<272699...@qq.com>; Date: Thu, May 11, 2017 02:50 AM To: "gromacs.org_gmx-users"<gromacs.org_gmx-users@maillist.sys.kth.se>; Subject: Re: Re: Re: How to use "gmx view" on Ubuntu? Dear Justin, Thank you for your link. I know how to install the Gromacs based on your link. But do you know where I can download the tar.gz file so that I can compile it and then use "gmx view"? Thank you. Cheng ------------------ Original ------------------ From: "ZHANG Cheng";<272699...@qq.com>; Date: Wed, May 10, 2017 11:27 PM To: "gromacs.org_gmx-users"<gromacs.org_gmx-users@maillist.sys.kth.se>; Subject: Re: Re: How to use "gmx view" on Ubuntu? Dear Mark Abraham, Thank you very much for your updating. Sorry, could you please tell me where can I download the cmake file, or which command line to use, in order to compiling & installing? I have tried the below and they both worked, but "gmx view ??" still not work, with the same issue "Compiled without X-Windows - can not run viewer." ) sudo apt-get install xorg-dev ) sudo apt-get install xorg-dev libglu1-mesa-dev (Sorry, I am not sure how to find the files to download) Thank you. Yours sincerely Cheng ------------------ Original ------------------ From: "ZHANG Cheng";<272699...@qq.com>; Date: Wed, May 10, 2017 04:22 AM To: "gromacs.org_gmx-users"<gromacs.org_gmx-users@maillist.sys.kth.se>; Subject: Re: How to use "gmx view" on Ubuntu? Dear Gromacs and Mark Abraham, Sorry, I am not familiar with compiling issue. I installed xorg-dev by: sudo apt-get install xorg-dev Then, I type cmake .. -DGMX_X11=on But I was told: CMake Error: The source directory "/home/lanselibai/Cheng/gromacs/... ..." does not appear to contain CMakeLists.txt. What I should do next? Thank you. Cheng ------------------ Original ------------------ From: "ZHANG Cheng";<272699...@qq.com>; Date: Wed, May 10, 2017 02:58 AM To: "gromacs.org_gmx-users"<gromacs.org_gmx-users@maillist.sys.kth.se>; Subject: How to use "gmx view" on Ubuntu? Dear Gromacs, I am running Gromacs 5.0.4 on Ubuntu 14.04.1 LTS. When I run "gmx view ..." as below: gmx view -f dppc-md.xtc -s dppc-md.tpr I got the following: Compiled without X-Windows - can not run viewer. Can I ask how to use "gmx view" on Ubuntu? Thank you. Yours sincerely Cheng -- Gromacs Users mailing list * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting! * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists * For (un)subscribe requests visit https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a mail to gmx-users-requ...@gromacs.org.