[xcrysden] running XCrysden on SUSE 11.2 (64 bit) error [2]

Tobias Burnus burnus at net-b.de
Thu Mar 4 21:20:34 CET 2010


Hi,

Masoud Nahali wrote:
>
> ls: cannot access /usr/share/tcl/bwidget*: No such file or directory
>

This is a mistake of mine when modifying xcrysden to use the system's
bwidget - one needs a "set +f" before:
   BWIDGET_DIR=`ls -d /usr/share/tcl/bwidget*`
however, this does not seem to cause any problems. (It will be corrected
in the next build which should be ready in a moment.)
Note: This only affects the openSUSE builds at
http://software.opensuse.org/search


> Executing: /home/koa/XCrysden/usr/lib/xcrysden/bin/ftnunit
>
> drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command
> stream. See dmesg for more info
>

That seems to be the problem on your system. Do as the command asks for:
Run "dmesg". It seems to be a problem with Mesa on your Radeon graphics
card.


> * Another stupendous problem **:* commonly I write ./xcrysden in the
> konsole from my home (not root, without sudo su and going to root) but
> when I do the same in root konsole I will take another lines and do
> not see the graphical page for that 1 second !!
>

> koa at linux-vs0r:~/XCrysden/usr/bin> sudo su
> [...]
> Application initialization failed: no display name and no $DISPLAY
> environment variable

Well, that's the reason: In order to access the screen, one needs to
have a $DISPLAY variable. Try:
   sudo -E su
(untested). The -E option preserves the environment variable (if allowed
by "/etc/sudoers").

Tobias

PS: Question: Why do not simply install the program like normal in /usr
instead of unpacking it in a local directory under $HOME? That has
nothing to do with this problem, however. Additionally, running such
programs as xcrysden as root counts as bad practice. (It is regarded as
insecure to run bigger programs as root; on the other hand: programs can
also do bad things if run as a normal user. Thus one can argue whether
it is really more insecure - at least on single-user systems.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/xcrysden/attachments/20100304/88fdc607/attachment.htm 


More information about the XCrySDen mailing list