LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-04-2014, 10:48 AM   #1
Mermaid
LQ Newbie
 
Registered: Mar 2014
Posts: 4

Rep: Reputation: Disabled
Can't open window on remote screen


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?

Oh, I've turned the Norton security off too.

Thanks,
 
Old 03-04-2014, 10:59 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,804

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
would be nice to explain what did you make. So you opened a cygwin terminal (at home?) and ....
 
Old 03-04-2014, 11:34 AM   #3
Mermaid
LQ Newbie
 
Registered: Mar 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
what I did. . .

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.

Please let me know if you need any more info
 
Old 03-04-2014, 05:03 PM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
Quote:
I opened a cygwin terminal at home
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.
 
Old 03-05-2014, 12:34 AM   #5
Mermaid
LQ Newbie
 
Registered: Mar 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
thanks for the info allend.

I'll try a Cygwin desktop environment if I can find one free. Otherwise I can work at school (its just not as comfortable).

I entered the -XY because my professor told me to, but I'll try it with just the -Y if I get the desktop environment.
 
Old 03-05-2014, 12:42 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,804

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
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.
 
Old 03-10-2014, 12:22 PM   #7
Mermaid
LQ Newbie
 
Registered: Mar 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
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.

Michelle
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to open fluxbox right click menu when there is a full screen window on screen alagenchev Linux - Newbie 10 05-14-2012 08:07 PM
How to make GNOME open a window in the center of my screen? QueenZ Linux - Newbie 3 07-17-2010 04:43 AM
tsclient, how to close the remote window when in full screen mode? gychang Linux - Networking 1 01-27-2009 12:29 PM
how can a rsh open a GUI aplication in remote window?? michi Linux - Networking 2 07-20-2006 12:16 PM
How to open an remote X window on FC5 from a Solaris 5 station? murariua Linux - Newbie 2 07-20-2006 04:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration