![]() If I just type just 'startx' I can enter my commands in the terminal that pops up in the X window. About Pricing Community Teams Start Free Trial Log in. 4 Enter the following commands to rehash the fonts database: mkfontdir /usr/X11R6/lib/X11/fonts/misc startx xset. If you set the DISPLAY to go to your windows machine directly, you'd need the xhost thing for that, you would not use the ssh tunnel for X. Find answers to cygwin xwin -multiwindow from the expert community at Experts Exchange. The scp utility copies the file to your PC. I'll repeat: you do _not_ need the xhost +whatever.domain because the traffic relevant to X will appear to be local to both machines. This is why I suggested you might try putty, since I know this to be rock-solid for that. ![]() Cygwin/X consists of an X server, X libraries, and nearly all of the standard X clients, such as xterm, xhost, xdpyinfo, xclock, xeyes, etc. Cygwin provides a UNIX-like API, thereby minimizing the amount of porting required. As said, at least one incarnation of ssh that I've tried with has some issues with setting up the X tunnel correctly. Cygwin/X is a port of the X Window System to the Cygwin API layer for the Microsoft Windows family of operating systems. If that doesn't work for you, please report back, and we'll see what might be the problem. If it's not, then Joseph R's comment is probably correct and you don't have the package installed. on the remote (after connecting) you can verify this with This should tell you that startxwin is here: /usr/bin/startxwin. Run xlaunch using the 'XLaunch' shortcut under 'Cygwin-X' on the Start Menu. I added a +tb option to the xterm call to suppress the menubar at the top of the X-window. I added a drive letter to the CYGWINROOT because my work environment has my home directory outside of the C drive. Ssh -X will (hopefully) connect you to the remote host, and establish the relevant tunnel for X as well as set the DISPLAY environment variable for the remote shell to something like localhost:10. Start my favorite Cygwin shell (zsh) export DISPLAYlocalhost:0 ssh -X myserver.domain. ![]() If you want to start X using the standard startx script install this script as. leaves the terminal free for the next command (or just start two bash windows): The compilation system was a Windows 95 PC with cygwin-1.3.2 installed. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |