7/1/2023 0 Comments Xshell 5 terminal backgroundsThe first thing to check is echo $DISPLAY: does it look reasonable? It would typically be something like localhost:10.0, with the host part localhost because the SSH server is relaying connections the SSH server machine where the X clients will be running to the SSH client machine which is running the X server. ![]() Then, if xclock doesn't work, you can begin to investigate why. ![]() Under a normal SSH connection, either SSH sets DISPLAY automatically, and everything works, or SSH doesn't set DISPLAY, and then setting it manually cannot work because that means SSH isn't relaying the X11 connection. Unless Xshell (which I'm not familiar with) is doing something unusual, you must not set DISPLAY.
0 Comments
Leave a Reply. |