ssh X出错求助 badname
Tofloor
poster avatar
yshhsh
deepin
2012-09-11 00:24
Author
使用 ssh -X [email protected] 连接服务器,登录后可以正常启动gedit等软件,但启动某些软件(Cadence)时就会报错如下:

X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  45 (X_OpenFont)
  Serial number of failed request:  15
  Current serial number in output stream:  30

但在Ubuntu 10.10下无此问题,对比两个系统都没有找到xorg.conf文件,应该都是默认配置。

尝试“Search&Install X11-fonts”,直接在软件中心搜索“x11-fonts”出现很多结果,不知道要安装哪一个。

请求高手支援,谢谢!
Reply Favorite View the author
All Replies
yshhsh
deepin
2012-09-11 01:19
#1
好吧,我在Cadence Community找到了解决方法(虽然直接查看solution需要提供key,但某位好心人在回复中直接写了出来),那就是在启动Cadence时在后面加上 -nosplash即可。
启动后会报一系列的warning,都与font相关,哪位高手知道这些字体属于哪个包?
f.png
Reply View the author
tuhaihe
deepin
2012-09-11 18:13
#2
原来还有这么一个参数。。
Reply View the author
tuhaihe
deepin
2012-09-11 18:33
#3
-X      Enables X11 forwarding.  This can also be specified on a per-host
             basis in a configuration file.

             X11 forwarding should be enabled with caution.  Users with the
             ability to bypass file permissions on the remote host (for the
             user's X authorization database) can access the local X11 display
             through the forwarded connection.  An attacker may then be able
             to perform activities such as keystroke monitoring.

             For this reason, X11 forwarding is subjected to X11 SECURITY
             extension restrictions by default.  Please refer to the ssh -Y
             option and the ForwardX11Trusted directive in ssh_config(5) for
             more information.

     -x      Disables X11 forwarding.
Reply View the author