Find the answer to your Linux question:
Results 1 to 3 of 3
I have installed Cygwin on my Windows PC to remote access a ubuntu server. After Cygwin install finished, I clicked the cygwin icon on the desktop to run it. I ...
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    19

    Remote access using cygwin

    I have installed Cygwin on my Windows PC to remote access a ubuntu server.

    After Cygwin install finished, I clicked the cygwin icon on the desktop to run it. I first ran "startxwin.bat" to start X window.
    A window with a X icon on the top left title bar appeared, it seemed it was the X window, I am not sure whether it's the X window for I am new to Cygwin.

    I then typed "ssh -X root@remote_IP_here" in the new X window, and got error:

    Warning: untrusted X11 fowarding setup failed. xauth key data not generated

    Warning:No xauth data; using fake authentication data for X11 fowarding

    However, if I typed "ssh -X root@remote_IP_here" in the Cygwin's command line window not in the new opened X windwo, the connection is ok.

    Where is wrong and how could I work around this problem? Thanks for help!

  2. #2
    Just Joined!
    Join Date
    Apr 2009
    Posts
    19
    Who could tell me where is wrong, Thanks!

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,975
    There may be something in the environment set up with the xterm's shell that is not the same as in the cygwin's normal bash shell. That's about as much as I can tell you, except that when I set up X-Windows on cygwin for my laptop, I configured it to not start an xterm, but just to start the X server, so I always ssh from the normal cygwin bash terminal window. When I connect to the remote system and start x applications, they show up just fine on my local display.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...