-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vaa3d failed to call plugin on CentOS server due to X server #6
Comments
try to use " export DISPLAY=:0.0" before calling Vaa3D. |
Thanks @zhizhoualan for the hint. unfortunately it did not work for our server. It complains PS: our CENTOS server version is CentOS release 6.8 (Final) |
@lsqshr try this: export DISPLAY=:30;Xvfb :30 -auth /dev/null & |
@zhizhoualan Great! Thanks Zhi! That seems to get over the X server checking successfully. Now Vaa3D 3.2 outputs a undefined symbol error instead Does it make sense to just totally bypass the GUI components if vaa3d is used in command line for HPC batch processing? |
@lsqshr Yes. We use the same command line to run all algorithms on supercomputers. Use "sh start_vaa3d.sh" instead of "vaa3d" to launch Vaa3D. |
I think all QT libs are missing in the released CentOS version. Please download the zip file in the attachment, unzip it and put all so.4 files to the "Vaa3D_CentOS_64bit_v3.200" folder. After that, try "sh start_vaa3d.sh" again. Sorry about that. |
It is working! Now we are ready to kick off! Thanks a lot for the help Zhi!! Just played a couple of plugins and they all work awesome here! May consider referring this issue / adding such messages in https://github.com/Vaa3D/Vaa3D_Wiki/wiki/commandLineAccess.wiki |
Another thing is about the The one I am using for Ubuntu #setup_vaa3d.sh
#!/bin/sh
dname=$(dirname $(realpath $0));
# Remove the old ones made by Vaa3D
sed -i '/^export V3DPATH=/d' ~/.bashrc;
sed -i '/^alias v3d=/d' ~/.bashrc;
sed -i '/export LD_LIBRARY_PATH=.*Vaa3D_Ubuntu_.*/d' ~/.bashrc;
# Add new Vaa3D shortcuts
echo "export V3DPATH=\"$dname\";" >> ~/.bashrc; # Append the current path to PATH
echo "export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:$dname;" >> ~/.bashrc;
echo "alias v3d=\"$dname/vaa3d\";" >> ~/.bashrc; # Make alias for v3d For centos it should be #setup_vaa3d.sh
#!/bin/sh
dname=$(dirname $(readlink -f $0));
# Remove the old ones made by Vaa3D
sed -i '/^export V3DPATH=/d' ~/.bashrc;
sed -i '/^alias v3d=/d' ~/.bashrc;
sed -i '/export LD_LIBRARY_PATH=.*Vaa3D_Ubuntu_.*/d' ~/.bashrc;
# Add new Vaa3D shortcuts
echo "export V3DPATH=\"$dname\";" >> ~/.bashrc; # Append the current path to PATH
echo "export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:$dname;" >> ~/.bashrc;
echo "alias v3d=\"export DISPLAY=:30;Xvfb :30 -auth /dev/null & $dname/vaa3d\";" >> ~/.bashrc; # Make alias for v3d In this way, your terminal does not have to go to the vaa3d folder to start v3d. I can make a pull request if you like the idea. |
Thanks for your suggestion! I will give it a try! On Wed, Oct 26, 2016 at 10:07 PM, Siqi Liu [email protected] wrote:
|
try this:export DISPLAY=:30;Xvfb :30 -auth /dev/null & On Wed, Oct 26, 2016 at 6:28 PM, Siqi Liu [email protected] wrote:
|
Yes. We use the same command line to run all algorithms on supercomputers. Use "sh start_vaa3d.sh" instead of "vaa3d" to launch Vaa3D. On Wed, Oct 26, 2016 at 8:28 PM, Siqi Liu [email protected] wrote:
|
Added a short note at CommandLineAccess WIKI. Closing this issue. |
With the 3.200 CentOS release, I tried to start plugins on a CentOS server without X server. Vaa3D complains
cannot connect to X server
for all plugins.I can reproduce this error with simply
vaa3d -h
I can evoke plugins from command line on my local ubuntu without trouble.
Is it a known issue?
The text was updated successfully, but these errors were encountered: