为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:
【操作系统】:
【CPU】:
【问题描述】*:```language
--windows电脑ip
C:\Users\Administrator>ipconfig
Windows IP 配置
以太网适配器 以太网 2:
连接特定的 DNS 后缀 . . . . . . . :
本地链接 IPv6 地址. . . . . . . . : fe80::39e2:21cb:9864:47c3%13
IPv4 地址 . . . . . . . . . . . . : 172.17.17.35
子网掩码 . . . . . . . . . . . . : 255.255.255.0
默认网关. . . . . . . . . . . . . :
以太网适配器 以太网 4:
连接特定的 DNS 后缀 . . . . . . . :
本地链接 IPv6 地址. . . . . . . . : fe80::607c:ba4c:a9fe:cb4c%9
IPv4 地址 . . . . . . . . . . . . : 2.0.0.1
子网掩码 . . . . . . . . . . . . : 255.255.255.0
默认网关. . . . . . . . . . . . . :
以太网适配器 以太网:
媒体状态 . . . . . . . . . . . . : 媒体已断开连接
连接特定的 DNS 后缀 . . . . . . . :
无线局域网适配器 本地连接* 1:
媒体状态 . . . . . . . . . . . . : 媒体已断开连接
连接特定的 DNS 后缀 . . . . . . . :
无线局域网适配器 本地连接* 2:
媒体状态 . . . . . . . . . . . . : 媒体已断开连接
连接特定的 DNS 后缀 . . . . . . . :
以太网适配器 VMware Network Adapter VMnet1:
连接特定的 DNS 后缀 . . . . . . . :
本地链接 IPv6 地址. . . . . . . . : fe80::e539:e256:f08d:6a2b%8
IPv4 地址 . . . . . . . . . . . . : 192.168.183.70
子网掩码 . . . . . . . . . . . . : 255.255.255.0
默认网关. . . . . . . . . . . . . :
以太网适配器 VMware Network Adapter VMnet4:
连接特定的 DNS 后缀 . . . . . . . :
本地链接 IPv6 地址. . . . . . . . : fe80::79d4:d3ba:4842:6c11%20
IPv4 地址 . . . . . . . . . . . . : 192.168.74.1
子网掩码 . . . . . . . . . . . . : 255.255.255.0
默认网关. . . . . . . . . . . . . :
以太网适配器 VMware Network Adapter VMnet8:
连接特定的 DNS 后缀 . . . . . . . :
本地链接 IPv6 地址. . . . . . . . : fe80::c915:8c4a:eb83:39f4%21
IPv4 地址 . . . . . . . . . . . . : 192.168.40.10
子网掩码 . . . . . . . . . . . . : 255.255.255.0
默认网关. . . . . . . . . . . . . :
以太网适配器 以太网 3:
媒体状态 . . . . . . . . . . . . : 媒体已断开连接
连接特定的 DNS 后缀 . . . . . . . :
无线局域网适配器 WLAN:
连接特定的 DNS 后缀 . . . . . . . :
本地链接 IPv6 地址. . . . . . . . : fe80::44e:98a2:d9d1:c2eb%22
IPv4 地址 . . . . . . . . . . . . : 192.168.5.4
子网掩码 . . . . . . . . . . . . : 255.255.255.0
默认网关. . . . . . . . . . . . . : 192.168.5.1
C:\Users\Administrator>
--windows电脑上运行vpn 使用xshell连接公司服务器
--运行dts失败
[dmdba@top175 ~]$ export DISPLAY=172.17.17.35:0.0
[dmdba@top175 ~]$ /dmdb8/dmdbms/tool/dts
(Dts:32280): GLib-GObject-WARNING **: 06:08:16.551: invalid (NULL) pointer instance
(Dts:32280): GLib-GObject-CRITICAL **: 06:08:16.551: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(Dts:32280): Gtk-CRITICAL **: 06:08:16.552: IA__gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
(Dts:32280): Gtk-WARNING **: 06:08:16.554: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
(Dts:32280): Gtk-WARNING **: 06:08:16.554: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
(Dts:32280): Gdk-CRITICAL **: 06:08:16.554: IA__gdk_screen_get_display: assertion 'GDK_IS_SCREEN (screen)' failed
(Dts:32280): Gdk-CRITICAL **: 06:08:16.554: IA__gdk_display_get_pointer: assertion 'GDK_IS_DISPLAY (display)' failed
(Dts:32280): Gdk-CRITICAL **: 06:08:16.554: IA__gdk_screen_get_monitor_at_point: assertion 'GDK_IS_SCREEN (screen)' failed
(Dts:32280): Gtk-WARNING **: 06:08:16.554: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
(Dts:32280): Gdk-CRITICAL **: 06:08:16.554: IA__gdk_screen_get_n_monitors: assertion 'GDK_IS_SCREEN (screen)' failed
(Dts:32280): Gtk-WARNING **: 06:08:16.554: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
(Dts:32280): Gdk-CRITICAL **: 06:08:16.554: IA__gdk_screen_get_monitor_geometry: assertion 'GDK_IS_SCREEN (screen)' failed
(Dts:32280): Gdk-CRITICAL **: 06:08:16.554: IA__gdk_screen_get_default_colormap: assertion 'GDK_IS_SCREEN (screen)' failed
(Dts:32280): Gdk-CRITICAL **: 06:08:16.554: IA__gdk_colormap_get_visual: assertion 'GDK_IS_COLORMAP (colormap)' failed
(Dts:32280): Gdk-CRITICAL **: 06:08:16.554: IA__gdk_screen_get_default_colormap: assertion 'GDK_IS_SCREEN (screen)' failed
(Dts:32280): Gdk-CRITICAL **: 06:08:16.554: IA__gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN (screen)' failed
(Dts:32280): Gdk-CRITICAL **: 06:08:16.554: IA__gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN (screen)' failed
(Dts:32280): Gdk-CRITICAL **: 06:08:16.554: IA__gdk_window_new: assertion 'GDK_IS_WINDOW (parent)' failed
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f9202796597, pid=32280, tid=0x00007f9238616700
#
# JRE version: OpenJDK Runtime Environment (8.0_382-b05) (build 1.8.0_382-b05)
# Java VM: OpenJDK 64-Bit Server VM (25.382-b05 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libgdk-x11-2.0.so.0+0x7b597] gdk_window_enable_synchronized_configure+0x7
#
# Core dump written. Default location: /home/dmdba/core or core.32280
#
# An error report file with more information is saved as:
# /home/dmdba/hs_err_pid32280.log
#
# If you would like to submit a bug report, please visit:
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
/dmdb8/dmdbms/tool/dts: line 19: 32280 Aborted (core dumped) "$JAVA_HOME/bin/java" -XX:+PerfDisableSharedMem -Djava.net.preferIPv4Stack=true -DDM_HOME="$DM_HOME" -Djava.library.path="$DM_HOME/bin" -Ddameng.log.file="$TOOL_HOME/log4j.xml" -Ddameng.tool.workspace="$TOOL_WORKSPACE" -Dosgi.nl="$INSTALL_LANGUAGE" -Ddameng.dts.config.file="$TOOL_WORKSPACE/dts.xml" -Ddameng.dts.drivers.dir="$TOOL_HOME/dropins/com.dameng/plugins/com.dameng.jdbc.drivers" -Ddameng.dts.explorer.root="$TOOL_WORKSPACE/data/local/dts" -Ddameng.isql.explorer.root="$TOOL_WORKSPACE/data/local/isql" -Dapp.name=dts -jar "$TOOL_HOME/plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar" -os linux -ws gtk -arch x86_64 -showsplash "$TOOL_HOME/dts.bmp" -configuration "$TOOL_WORKSPACE/configuration/dts" -data "$TOOL_WORKSPACE/data/dts" -product com.dameng.dts.product -name Dts
[dmdba@top175 ~]$ ^C
[dmdba@top175 ~]$
需要连接到服务器的图形界面,xshell本身无法使用图形界面,需要使用xmanager之类的工具
看起来是linux缺少GTI图形化插件