Beware that they will be slow to display and refresh. Your Cygwin/X server is working! You can now run GUI/X apps from the remote computer and display them locally. It should display in a window on your local machine. Run the xeyes program from the remote computer.If DISPLAY is empty, then either you did not set DISPLAY locally, did not cleanly restarted a X server locally or there was a problem with SSH X11 Forwarding. It should be set to some value like shown below: This is usually done by specifying -X (untrusted forwarding) or -Y (trusted forwarding) or setting the corresponding X11 Forwarding option in your SSH config file.Ĭheck the DISPLAY on the remote computer. Make sure you have X11 Forwarding enabled for this SSH session. SSH to the remote computer running Linux using ssh on Cygwin or PuTTY. Make sure local X apps can display a window to the Cygwin/X server. ![]() Make sure you have killed the earlier X server processes, set the DISPLAY environment variable locally and run startxwin. This is called the multiwindow mode.įollow all the steps shown above for local X apps. You can try by running xeyes from the Cygwin shell. You can now open another Cygwin window and can invoke individual X apps there and they will be displayed in individual windows. On 16:11, Sanjay Gupta wrote: > starting startx following error > Unable to init server: Could not connect to 127.0.0.1: Connection refused. Startxwin: If you run startxwin, you get X server running, but no windows are displayed. Once you kill this X window, your X server is closed. You can try by running xeyes inside that XTerm. From here on, you can open X apps by running them from that XTerm. In addition to changing the script to bring up Window Maker with the clipboard enabled between Cygwin and Windows, I added some of the preamble from the startx script which seems to solve some compatibility problems that xdvi has with ghostscript. ![]() Startx: If you run startx, you get X server opening a X window with XTerm running inside it. (the display must still be set properly and the script must be executable, of course).
0 Comments
Leave a Reply. |