ssh & su can't use X

ssh can logon the computer remotely but can't use X application. The error message is: "Error: Can't open display: ".
For "su -", the same error message appears when I try to open an X application.
How can I solve the problem? Thanks.

所有跟帖: 

is this helpful? -嫩头青- 给 嫩头青 发送悄悄话 嫩头青 的博客首页 (210 bytes) () 03/12/2004 postreply 16:16:59

Thanks but it doesn't work -slacktty- 给 slacktty 发送悄悄话 (0 bytes) () 03/12/2004 postreply 19:27:02

type: xhost + and set display -modems- 给 modems 发送悄悄话 (14 bytes) () 03/12/2004 postreply 19:48:03

ssh X problem solved -slacktty- 给 slacktty 发送悄悄话 (242 bytes) () 03/12/2004 postreply 20:15:18

Bravo! -嫩头青- 给 嫩头青 发送悄悄话 嫩头青 的博客首页 (107 bytes) () 03/12/2004 postreply 22:46:57

请您先登陆,再发跟帖!