安装abaqus时无法启动GUI界面

终端运行:sudo /mnt/setup -sysinfo
得到如下信息,希望大家能帮我看一下怎样才能解决呢

 Ascratch directory is required for the execution of the
Abaqus installation procedure.

TMPDIR is not defined on this system.  Provide the full path
to the scratch directory.

Scratch directory is: /home/Greatman/temp

Running system configuration checks for Linux/x86-64.
Please wait until all necessary information has been gathered...

Current system configuration is:

Date:                 Thu Apr 14 12:50:47 2016
Hostname:             linux-x0h3.site
Username:             root
System Host ID:       e811323e98bf
DSLS Target ID:       VGT-51E31511323E98BF
IP Address:           10.10.40.168
Processor:            Intel(R) Core(TM) i5 CPU       M 480  @ 2.67GHz
Number of CPUs:       4
Physical Memory:      4096 MB
Virtual Memory:       33554431 MB
OS Version:          suse
Linux Kernel:         Linux Kernel 3.12.28-4-default
C++ Compiler:         gcc version 4.8.3
Lib C Runtime:        GNU Lib C 2.19, which was installed with
                      glibc-2.19-17.72.x86_64.rpm
Linker Version:       GNU ld version 2.24.0.20140403-2
Fortran Compiler:     Unable to find a Fortran compiler on this system.
MPI:                  Unable to locate an MPI implementation on this system.
                      For more information on the MPI-based parallel
                      functionality, see the section 'Parallel processing modes
                      in Abaqus' in the Abaqus Analysis User's Manual
Browser:              Firefox 31.1.0


Graphics Card:        NVIDIA Corporation GT218M [GeForce 310M] (rev a2)
Mesa:                 Mesa 10.0.2
OpenGL:               X server is not configured to use OpenGL.  Verify that
                      the DISPLAY environment variable is set to an X server
                      that is configured to use OpenGL; otherwise contact
                      system administration to have the X server configured to
                      use OpenGL
X11 Version:          xorg-x11-7.6_1-14.17.noarch
X Server:             Unable to determine X Server configuration.


Disk Space:
Filesystem     1K-blocks      Used Available Use% Mounted on
/dev/sda8       20504188    888052  18551536   5% /
devtmpfs         1948508         0   1948508   0% /dev
tmpfs            1956908       164   1956744   1% /dev/shm
tmpfs            1956908     10392   1946516   1% /run
tmpfs            1956908         0   1956908   0% /sys/fs/cgroup
/dev/sda5      125775868   4501776 121274092   4% /usr
/dev/sda6       61799272   3915588  56797704   7% /home
/dev/sda1         294156     36879    237569  14% /boot
/dev/sdb1      976761556 285091716 691669840  30% /run/media/Greatman/Seagate Backup Plus Drive
/dev/loop0       3688858   3688858         0 100% /mnt



...finished.

我没有用过这个软件,但 “-sysinfo” 应该只是打印系统信息的参数吧,去掉试一试。

用 ANSYS 不行吗?一定要用 abacus,我用 openSUSE 做 ansys 有限元仿真

去掉就显示 DISPLAY 未设置啥的,也起动不了,我在加了环境变量 DISPLAY=:0.0 也没效果,我在 redhat7.2 里安装是没问题的

用 ANSYS 是可以,但是总感觉它越来越大,就不喜欢他了

有没有启动桌面环境?SSH 的话应该要 X over SSH 的。

这是错误信息,请帮我看一下,谢谢

sudo /mnt/setup

In order to run the installation GUIs, the environment variable
DISPLAY must be set. Please set DISPLAY as desired and run this
setup script again.

你应该是没有安装桌面环境吧,从 zypper 里装一个 GNOME/KDE 试试。具体的搜一下就可有了。
另外你的终端是什么环境?tty?SSH 过去的?

看到楼主此贴,我特意注册回复。在 openSUSE 中,我试过的,凡是用 sudo 是无法打开 GUI 界面的。或许 openSUSE 默认的 root 用户是不带用户界面的。Abaqus 我已成功安装,版本是 6.14。因为 root 打不开 GUI 界面,所以我用普通用户的身份去安装,把安装路径放在自己的用户目录下。不知楼主是否已经解决呢?

1赞

Wireshark 启动的时候要求 root 权限,这是怎么做到的?

sudo 之后访问不了 DISPLAY 变量。你得让它能访问:

marguerite@linux-5hmc:~> sudo kwrite 1.txt
root's password:
QXcbConnection: Could not connect to display 
已放弃
marguerite@linux-5hmc:~> xhost local:root
non-network local connections being added to access control list
marguerite@linux-5hmc:~> sudo DISPLAY=$DISPLAY kwrite 1.txt
3赞