Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I'm super new to UNIX, so please don't drown me in techno-speak.
I'm accessing my university's system through a CYGWIN terminal on my laptop and got stuck trying to use a program that needs to open an additional screen. When I type the command for the program (I've seen my advisor use it on a university computer, so I'm sure I have the name right) I get the following response:
(pql:23311): Gtk-WARNING **: cannot open display:
a google search took me to another website where for a similar problem it was suggested to enter 'export DISPLAY=:0.0', but that gave me the response 'command not found' and unfortunately I couldn't understand enough of the rest of the post to continue.
Sorry this is so wordy, I guess the short question is how can i use SSH and get a window on a remote screen?
I opened a cygwin terminal at home.
I logged onto the university computer using SSH -XY
I moved into my files and used a few scripts (that had been set up for me) successfully
I typed pql [A-Z]*.xdr
I got the message '(pql:23311): Gtk-WARNING **: cannot open display:"
I've seen my advisor use this same command successfully on the university computer, so I know it works. It opens another window and allows me to manipulate earthquake seismograms using the program pql.
When I had my laptop at school yesterday he couldn't get something to work on it and told me to research how to use SSH and get a window on a remote screen. I think he was trying to run a different program on my laptop, but had the same problem, it wouldn't open the display.
A Cygwin terminal is insufficient. You will need to have a Cygwin desktop environment running (I use Windowmaker) so that X windowing is available. Then open a terminal from within that to make the ssh connection.
Quote:
I logged onto the university computer using SSH -XY
Use either the -X or -Y option but not both together. Unlike Windows, the Cygwin environment is case sensitive, so the command will be 'ssh -Y' with extra options to suit your connection.
in the cygwin setup window you need to select and install Xwin and you can start it by the command startxwin. http://x.cygwin.com/docs/ug/using.html. You need to open a terminal inside that X windows (probably called xterm), the usual cygwin terminal is not ok. You need to execute that ssh command inside that xterm.
Thanks. I used the link you provided and it looks like it will work, but I'm in the last week of the term with finals next week, so it will be 2 weeks before I can get back to my research and using UNIX and can give it a more complete tryout.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.