Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [128.54.220.195] X-Originating-Email: [yupeng_ AT hotmail DOT com] From: "Peng Yu" To: "Brian Dessent" , References: <3EFD513E DOT 71BBC330 AT dessent DOT net> <3EFDBAA0 DOT B67DE595 AT dessent DOT net> Subject: Re: How display graphic by cygwin Date: Sat, 28 Jun 2003 09:32:00 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-OriginalArrivalTime: 28 Jun 2003 16:32:12.0278 (UTC) FILETIME=[D3B37960:01C33D92] Yes, after I export DISPLAY=localhost:0.0 It works. But I have to startx first. Must I startx before I want to display any graphics? Can it automaticly start? Thanks. Peng ----- Original Message ----- From: "Brian Dessent" To: Sent: Saturday, June 28, 2003 8:56 AM Subject: Re: How display graphic by cygwin > Peng Yu wrote: > > > > I use command > > ssh -X myaccount AT remotehost > > then acroread. > > But it dosen't work. > > You're still getting "Can't open display"? What is the value of the > DISPLAY variable once you've logged in to the remote host? You may have > to set it before running ssh, i.e. export DISPLAY=localhost:0.0 > > Brian > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/