nvvp 启动不了:Nvvp: Cannot open display

本文记录了在Xmanager的Xshell ssh连接服务器后启动NVVP客户端时遇到的错误,并提供了详细的日志信息及解决方案。问题在于图形界面初始化失败,通过使用ssh -X参数成功解决了此问题。

在Xmanager 的Xshell ssh 连接服务器之后,打算启动 nvvp 客户端,但报了如下错误:








具体打开 日志文件  :

vi ~/.eclipse/org.eclipse.platform_4.4.1_688285884_linux_gtk_x86_64/configuration/1530585580705.log

内容如下:

!SESSION 2018-07-03 10:39:31.973 -----------------------------------------------
  2 eclipse.buildId=unknown
  3 java.version=1.8.0_77
  4 java.vendor=Oracle Corporation
  5 BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
  6 Command-line arguments:  -os linux -ws gtk -arch x86_64 -data @noDefault
  7 
  8 !ENTRY org.eclipse.osgi 4 0 2018-07-03 10:40:20.525
  9 !MESSAGE Application error
 10 !STACK 1
 11 org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
 12     at org.eclipse.swt.SWT.error(SWT.java:4467)
 13     at org.eclipse.swt.widgets.Display.createDisplay(Display.java:934)
 14     at org.eclipse.swt.widgets.Display.create(Display.java:918)
 15     at org.eclipse.swt.graphics.Device.<init>(Device.java:157)
 16     at org.eclipse.swt.widgets.Display.<init>(Display.java:514)
 17     at org.eclipse.swt.widgets.Display.<init>(Display.java:505)
 18     at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:732)
 19     at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:162)
 20     at com.nvidia.viper.application.Application.start(Application.java:59)
 21     at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
 22     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
 23     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
 24     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
 25     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
 26     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 27     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 28     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 29     at java.lang.reflect.Method.invoke(Method.java:498)
 30     at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
 31     at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
 32     at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

找到问题所在了,应该使用如下方式登入: 

ssh -X user@host
参考: org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] while running eclipse on ubuntu


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值