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" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 28, 2003 8:56 AM Subject: Re: How display graphic by cygwin > Peng Yu wrote: > > > > I use command > > ssh -X [EMAIL PROTECTED] > > 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/