Welcome to iraf.net Friday, May 17 2024 @ 05:47 AM GMT
tobywhc |
10/01/2007 10:40AM (Read 9411 times)
|
|
|
Status: offline
Registered: 10/01/2007
Posts: 2
|
I installed iraf for my undergrad final year project.
I followed the procedure on http://mjhutchinson.com/journal/2006/11/05/install_iraf_on_ubuntu_edgy_amd64
but I've encountered a series of problems.
Finally I'm installed with iraf, x11iraf and ds9,
yet I can't run them properly, can anyone help me, please?
Here are the error messages:cheng@cheng-desktop:~$ su iraf
Password:
iraf@cheng-desktop% tcsh
iraf@cheng-desktop% echo $DISPLAY
:0.0
iraf@cheng-desktop% ds9
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specifiedApplication initialization failed: couldn't connect to display ":0.0"
Error in startup script: invalid command name "option"
while executing
"option add {*Entry*BorderWidth} 1"
(file "./zvfsmntpt/src/ds9.tcl" line 10)
iraf@cheng-desktop% xgterm
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specifiedxgterm Xt error: Can't open display: :0.0
iraf@cheng-desktop%
|
|
|
|
fitz |
10/01/2007 10:40AM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
You initially logged in as 'cheng' but then su to 'iraf' to run the tasks. Cheng owns the desktop and needs to give 'iraf' permission to display windows there, so in another window owned by cheng just type the command 'xhost +' to do this. The 'iraf' account isn't necessary to run IRAF so you can just start DS9 and xgterm as yourself in most cases and avoid this entirely.Cheers,
-Mike
|
|
|
|
BrainBug |
10/01/2007 10:40AM
|
|
|
Status: offline
Registered: 10/30/2006
Posts: 33
|
I has meet some problem, but not remember how was fixed it...
So, here is my output info:
[code:1:0ffb3702a7]
cerebrum@cerebrum ~ $ su - iraf
Password:
iraf@cerebrum% ds9
iraf@cerebrum% env
TERM=rxvt
PATH=.:/iraf/iraf/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/ bin:/usr/local/sbin:/usr/X11R6/bin:/iraf/irafbin/bin.linux:/iraf/irafbin/noao.bi n.linux:/iraf/iraf/unix/bin
XAUTHORITY=/iraf/iraf/local/.xauthIOLk0j
DISPLAY=:0.0
HOME=/iraf/iraf/local
SHELL=/bin/csh
USER=iraf
LOGNAME=iraf
HOSTTYPE=i386-linux
VENDOR=intel
OSTYPE=linux
MACHTYPE=i386
SHLVL=1
PWD=/iraf/iraf/local
GROUP=iraf
HOST=cerebrum
ANT_HOME=/usr/share/ant-core
CG_COMPILER_EXE=/usr/bin/cgc
CONFIG_PROTECT=/usr/share/X11/xkb /usr/kde/3.5/share/config /usr/kde/3.5/env /us r/kde/3.5/shutdown /usr/share/config
CONFIG_PROTECT_MASK=/etc/env.d/java/ /etc/gconf /etc/terminfo /etc/splash
CVS_RSH=ssh
FLTK_DOCDIR=/usr/share/doc/fltk-1.1.7/html
GCC_SPECS=
GDK_USE_XFT=1
G_BROKEN_FILENAMES=1
G_FILENAME_ENCODING=KOI8-R
INFOPATH=/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/info: /usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info:/usr/share/info/emacs-21
JAVAC=/opt/blackdown-jdk-1.4.2.03/bin/javac
JAVA_HOME=/opt/blackdown-jdk-1.4.2.03
JDK_HOME=/opt/blackdown-jdk-1.4.2.03
KDEDIRS=/usr/kde/3.5:/usr:/usr/local
LADSPA_PATH=/usr/lib/ladspa
LANG=ru_RU.KOI8-R
LC_ALL=ru_RU.KOI8-R
LESS=-R -M --shift 5
LESSOPEN=|lesspipe.sh %s
MANPATH=/usr/man:/usr/X11R6/man:/usr/local/man:/usr/share/man
OPENGL_PROFILE=nvidia
PAGER=less -C -e -M
PKG_CONFIG_PATH=/usr/qt/3/lib/pkgconfig
PRELINK_PATH_MASK=/usr/lib/klibc
PYTHONPATH=/usr/lib/portage/pym
QMAKESPEC=linux-g++
QTDIR=/usr/qt/3
ROOTPATH=/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/opt/blackdown-jdk-1.4.2. 03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/u sr/qt/3/bin
TMAKEPATH=/usr/lib/tmake/linux-g++
TZ=UTC
INPUTRC=/etc/inputrc
MAIL=/var/spool/mail/iraf
iraf=/iraf/iraf/
OS_MACH=linux
MACH=linux
hostid=unix
host=/iraf/iraf/unix/
hlib=/iraf/iraf/unix/hlib/
hbin=/iraf/iraf/unix/bin.linux/
tmp=/tmp/
CC=gcc
F77=/iraf/iraf/unix/hlib//f77.sh
F2C=/iraf/iraf/unix/bin.linux//f2c.e
RANLIB=ranlib
HSI_CF=-O -DLINUX -DPOSIX -DSYSV -w -Wunused
HSI_XF=-Inolibc -w -/Wunused
HSI_FF=-O
HSI_LF=
HSI_F77LIBS=
HSI_LFLAGS=
HSI_OSLIBS=
HSI_LIBS=/iraf/iraf/unix/hlib/libboot.a /iraf/iraf/lib/libsys.a /iraf/iraf/lib/l ibvops.a /iraf/iraf/unix/hlib/libos.a
xgterm=xgterm -bg black -fg white
crt=24
EDITOR=vi
BLOCKSIZE=K
IPAGER=less -C -M +G
MOZILLA_HOME=/usr/local/bin/netscape
TAPE=/dev/nrsa0
IRAFARCH=linux
[/code:1:0ffb3702a7]
|
|
|
|
tobywhc |
10/01/2007 10:40AM
|
|
|
Status: offline
Registered: 10/01/2007
Posts: 2
|
Can't imagine such a simple problem has wasted me so many time!
Thx Mike for helping linux newbies like me~
|
|
|
|
| |
|
Content generated in: 0.08 seconds |
|