LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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, 11: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, 11:59 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,768

Rep: Reputation: 2887Reputation: 2887Reputation: 2887Reputation: 2887Reputation: 2887Reputation: 2887Reputation: 2887Reputation: 2887Reputation: 2887Reputation: 2887Reputation: 2887
would be nice to explain what did you make. So you opened a cygwin terminal (at home?) and ....
 
Old 03-04-2014, 12:34 PM   #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, 06:03 PM   #4
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,660

Rep: Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540
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, 01: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, 01:42 AM   #6
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,768

Rep: Reputation: 2887Reputation: 2887Reputation: 2887Reputation: 2887Reputation: 2887Reputation: 2887Reputation: 2887Reputation: 2887Reputation: 2887Reputation: 2887Reputation: 2887
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, 01: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:07 PM
How to make GNOME open a window in the center of my screen? QueenZ Linux - Newbie 3 07-17-2010 05:43 AM
tsclient, how to close the remote window when in full screen mode? gychang Linux - Networking 1 01-27-2009 01:29 PM
how can a rsh open a GUI aplication in remote window?? michi Linux - Networking 2 07-20-2006 01:16 PM
How to open an remote X window on FC5 from a Solaris 5 station? murariua Linux - Newbie 2 07-20-2006 05:44 AM

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

All times are GMT -5. The time now is 04:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration