Forum Stats

  • 3,782,758 Users
  • 2,254,684 Discussions
  • 7,880,156 Comments

Discussions

About init GUI on linux or solaris

About init GUI on linux or solaris

Error1.xhost: unable to open display ""

Possible Solution:
[email protected]:~# xhost +
xhost: unable to open display ""
[email protected]:~# export DISPLAY=localhost:1
[email protected]:~# xhost +
access control disabled, clients can connect from any host

Error2.No protocol specified
xhost: unable to open display ":1.0"

Possible Solution:
Forget about DISPLAY and xhost, that's ancient history!
Use SSH X-forwarding.
- On the solaris server make sure SSH server is running and X11
forwarding is enabled.
- On the Cygwin-PC, start the X11 environment ("startx" I think), open an xterm and
ssh -X [email protected]
sometimes you need -Y instead of -X (don't remember why)
ssh -Y [email protected]
That's all. X programs on Solaris should open on Cygwin.)
Tagged:
This discussion has been closed.