1. DO NOT use su to switch to another user and then use Xming, it will failed, like following(this is an example from putty). Directly login in with the id you want to work with Xming.
[root@ContentServer66 ~]# su - oracle
[oracle@ContentServer66 ~]$ xclock
Xlib: connection to "localhost:11.0" refused by server
Xlib: PuTTY X11 proxy: MIT-MAGIC-COOKIE-1 data did not match
Error: Can't open display: localhost:11.0
2. If you are using putty as I’m, you need to turn on X11 Forwarding and set X location to localhost, see following example:
没有评论:
发表评论