X2Go Bug report logs - #1084
(NMRDraw) XView error: Cannot open connection to window server

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: René Genz <liebundartig@freenet.de>

Date: Sat, 10 Sep 2016 21:45:01 UTC

Severity: normal

Found in version 4.0.5.1-2016.08.18

Full log


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

Received: (at submit) by bugs.x2go.org; 10 Sep 2016 21:41:29 +0000
From liebundartig@freenet.de  Sat Sep 10 23:41:26 2016
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,FREEMAIL_FROM,
	URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 93A3C5DA95
	for <submit@bugs.x2go.org>; Sat, 10 Sep 2016 23:41:25 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id WyzHzHwONGWg for <submit@bugs.x2go.org>;
	Sat, 10 Sep 2016 23:41:19 +0200 (CEST)
Received: from mout3.freenet.de (mout3.freenet.de [195.4.92.93])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 120265DA94
	for <submit@bugs.x2go.org>; Sat, 10 Sep 2016 23:41:19 +0200 (CEST)
Received: from [195.4.92.140] (helo=mjail0.freenet.de)
	by mout3.freenet.de with esmtpa (ID liebundartig@freenet.de) (port 25) (Exim 4.85 #1)
	id 1biq1W-0007gC-Lz
	for submit@bugs.x2go.org; Sat, 10 Sep 2016 23:41:18 +0200
Received: from localhost ([::1]:35041 helo=mjail0.freenet.de)
	by mjail0.freenet.de with esmtpa (ID liebundartig@freenet.de) (Exim 4.85 #1)
	id 1biq1W-00069b-IA
	for submit@bugs.x2go.org; Sat, 10 Sep 2016 23:41:18 +0200
Received: from mx1.freenet.de ([195.4.92.11]:44985)
	by mjail0.freenet.de with esmtpa (ID liebundartig@freenet.de) (Exim 4.85 #1)
	id 1bipy0-0004Rc-7q
	for submit@bugs.x2go.org; Sat, 10 Sep 2016 23:37:40 +0200
Received: from p20030045440bed60cc94b570353ff2ff.dip0.t-ipconnect.de ([2003:45:440b:ed60:cc94:b570:353f:f2ff]:40161)
	by mx1.freenet.de with esmtpsa (ID liebundartig@freenet.de) (TLSv1.2:DHE-RSA-AES128-SHA:128) (port 465) (Exim 4.85 #1)
	id 1bipxz-0007fz-Qi
	for submit@bugs.x2go.org; Sat, 10 Sep 2016 23:37:40 +0200
To: submit@bugs.x2go.org
From: René Genz <liebundartig@freenet.de>
Subject: (NMRDraw) XView error: Cannot open connection to window server
Message-ID: <55f48091-7667-5926-81bb-9adde34da8a2@freenet.de>
Date: Sat, 10 Sep 2016 23:37:38 +0200
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101
 Thunderbird/45.2.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Originated-At: 2003:45:440b:ed60:cc94:b570:353f:f2ff!40161
Package: x2goclient
Version: 4.0.5.1-2016.08.18

On Windows 7 using the built-in X server of X2Go Client starting `nmrDraw` fails.
It is a program from the NMRPipe environment, installation guide is below.
Xfce is used as session.

X2Go server is: Fedora 24 x86_64 (reproducable with Fedora 22 x86_64 as X2Go server)
$ rpm -q x2goserver
x2goserver-4.0.1.19-11.fc24.x86_64

$ rpm -q x2goserver-xsession
x2goserver-xsession-4.0.1.19-11.fc24.x86_64

$ rpm -q nxagent
nxagent-3.5.0.32-4.fc24.x86_64



After starting nmrDraw from the terminal no window of nmrDraw appears as expected.
The error message is:
$ nmrDraw
...
(NMRDraw) XView error: Cannot open connection to window server: :50.0 (Server package)



Using a different X server is a workaround.
The steps are:
1. download freeware: http://mobaxterm.mobatek.net/download.html -- Home Edition
    if you lack administrative rights to install 'installer edition', download and extract 'portable edition'
2. close all X2Go connections
3. reconfigure X2Go client:
    X2Go Client -- Options -- Settings... -- X.Org Server settings: |x| use custom X-Server
    change from:
            executable:             C:\program files\vcxsrv\vcxsrv.exe
            command line options:   -multiwindow -notrayicon -clipboard
    to:
    # for portable version
            executable:     path to MobaXterm_Personal_9.0.exe
    # for installer version (packages extracted during runtime to %temp%\Mxt90 ; X-Server is: %temp%\Mxt90\bin\XWin_MobaX.exe)
            executable:     %programfiles%\Mobatek\MobaXterm Personal Edition\MobaXterm.exe
            on 64 bit OS:   %programfiles(x86)%\Mobatek\MobaXterm Personal Edition\MobaXterm.exe
    # either version
            append to command line options: -silent-dup-error -nolisten inet6 -hostintitle +bs -nowgl -noreset :0
4. restart X2Go client



Other X2Go clients I tested and the outcome of starting `nrmDraw`:
on Lubuntu 14.04 with X2Go Client 4.0.1.1: error

on Mac OS X 10.10.6 with X2Go Client 4.0.5.1: OK

on Fedora 24 x86_64 with X2Go Client 4.0.5.1: OK




The installation guide for NMRPipe follows.
The commands work for Fedora 24 x86_64 using a Bash shell.

### NMRPipe (analyze NMR spectra) installation guide
### website: https://www.ibbr.umd.edu/nmrpipe/install.html ; old: http://spin.niddk.nih.gov/NMRPipe/
# user must use tcsh to use programs, f.e. `nmrDraw`

### download installation files
## required:
wget --timestamping 'http://spin.niddk.nih.gov/NMRPipe/install/download/install.com' # install script
wget --timestamping 'http://spin.niddk.nih.gov/NMRPipe/install/download/binval.com' # an auxiliary script which determines system type
wget --timestamping 'http://spin.niddk.nih.gov/NMRPipe/install/download/NMRPipeX.tZ' # data for all versions of NMRPipe
# font.com not required! only use the "font.com" script if the "install.com" procedure or README_NMRPIPE_USERS file indicates that it is needed for your system (mostly just SGI/IRIX systems, and some versions of Linux)
## optional:
#wget --timestamping 'http://spin.niddk.nih.gov/NMRPipe/install/download/talos.tZ' # files required for TALOS+ and SPARTA+
#wget --timestamping 'http://spin.niddk.nih.gov/NMRPipe/install/download/dyn.tZ' # files required for DYNAMO and MFR
# DemonstrationData
#wget --timestamping 'http://spin.niddk.nih.gov/NMRPipe/install/data/data.tar'
#wget --timestamping 'http://spin.niddk.nih.gov/NMRPipe/install/valpha/valpha_all.tar'

### download installation files -- no difference
# http://nmrpipe.org/install.html
## required:
#wget --timestamping 'https://www.ibbr.umd.edu/nmrpipe/install.com' # Install script
#wget --timestamping 'https://www.ibbr.umd.edu/nmrpipe/binval.com' # Used by install script
#wget --timestamping 'https://www.ibbr.umd.edu/nmrpipe/NMRPipeX.tZ' # NMRPipe executables and files for Linux and Mac OS X
#wget --timestamping 'https://www.ibbr.umd.edu/nmrpipe/s.tZ' # NIST IBBR Updates for NMRPipe
## optional:
#wget --timestamping 'https://www.ibbr.umd.edu/nmrpipe/dyn.tZ' # Optional Ramachandran surfaces for TALOS+ graphics, PDB data and all files for DYNAMO and MFR
#wget --timestamping 'https://www.ibbr.umd.edu/nmrpipe/talos.tZ' # Files required for TALOS-N, TALOS+, and SPARTA+


### installation
## required programs
dnf install -y tcsh
dnf install -y xterm

## 32 bit compatibility libs
# ia32-libs @Debian/Ubuntu is the 32-bit version of the C standard library; glibc.i686 @Fedora
dnf install -y glibc
dnf install -y glibc.i*

## for nmrDraw on 64-bit Fedora
dnf install -y libX11.so.6
dnf install -y libXext.so.6

## some programs, such as SPARTA+ and TALOS+, might require 32-bit C++ libraries
# $ repoquery -f */libstdc++.so
#  compat-gcc-34-c++-0:3.4.6-24.fc17.x86_64
#  libstdc++-devel-0:4.7.2-8.fc18.i686
#  gcc-c++-0:4.7.2-8.fc18.x86_64
dnf install -y libstdc++.so.6
dnf install -y libstdc++-devel.i*

## fonts
dnf install -y xorg-x11-fonts-100dpi
dnf install -y xorg-x11-fonts-ISO8859-1-100dpi
dnf install -y xorg-x11-fonts-75dpi
dnf install -y xorg-x11-fonts-ISO8859-1-75dpi
dnf install -y xorg-x11-fonts-misc

## for test after installation
dnf install -y xset


## put installation files into place
DIR0="/usr/local/NMRPipe"
mkdir -p "${DIR0}"
for F in *.tZ; do
        mv "${F}" "${DIR0}"
done
for F in *.com; do
        mv "${F}" "${DIR0}"
done
# required for access later on
chmod o+rx "${DIR0}"
cd "${DIR0}"

# *.Z and *.tar not present
for F in *.tZ; do
        chmod a+r "${F}"
done
for F in *.com; do
        chmod a+rx "${F}"
done


#`./install.com +help` to generate a list of install command-line options and help
#tcsh "${DIR0}/install.com" # tcsh not required for installation, works with Bash; execution or program requires tcsh, though
"${DIR0}/install.com"


## modify config file to source environment automatically
# man 1 tcsh => global file = /etc/csh.cshrc ; private file = ~/.cshrc
# not changing /etc/csh.cshrc because ancient gnuplot from NMRPipe would be used by default, hence break workflow for other users

# note TCSH is required to start/use programs!
# users with Bash as default shell have to start TCSH before they can start `nmrDraw`

FILE="${HOME}/.cshrc"
echo "### NMRPipe" >> "${FILE}"
# see above for DIR0 value!
grep -v "#" /usr/local/NMRPipe/example.cshrc | grep -v '^$' >> "${FILE}"
# Some previous versions of NMRPipe have an expiration date. To override the expiration date:
echo "setenv NMR_CONT CORRECT_ALL" >> "${FILE}"
# full path to `nmrDraw`: /usr/local/NMRPipe/nmrbin.linux9/nmrDraw
-- 
Kind regards,
René


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 15:20:00 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.