WebJun 4, 2024 · >xterm: DISPLAY is not set >and then a >DISPLAY=:0.0 xterm & >which also produced an error message: >xterm: Xt error: Can't open display: :0.0 >Interestingly, there is an X-Icon in the notification area, and when I hover >over it, the tooltip says "Cygwin/X Servre: 0.0", but when I right-click on this Web>menu, and then: try to run xterm.exe from the resulting cygwin window >but this always fail with xterm Xt error: Can't open display. i have >tried setting my display to …
Displaying remote clients - Cygwin/X
WebFor instance you can edit the last line (commented below) and instead start xterm with your favorite options: #exec xterm -e /usr/bin/bash -l exec xterm -sb -sl 1024 -rv -geometry 80x25+0+0 -name login or even better, something like: rxvt -rv -display localhost:0.0 -sl 1024 -e bash -li (those are simple examples, you can do much more with other ... WebJun 11, 2024 · 4 Answers Sorted by: 1 When you do the su, it discards the DISPLAY environment variable (which is used to tell the terminal where to display its window). If you set DISPLAY, you will run into a different problem (essentially permissions) which has been asked more than once, e.g.,. grant hill 25th anniversary
Cygwin - Wikibooks, open books for an open world
WebJan 30, 2024 · To properly launch a Cygwin X-Server for WSL, from a DOS command prompt, launch cygwin with two extra parameters: -- -listen tcp and -nowgl like this: C:\cygwin64\bin\run.exe --quote /usr/bin/bash.exe -l -c "cd; exec /usr/bin/startxwin -- -listen tcp -nowgl" The last two options are rather important. WebAug 9, 2016 · To run a program that need access to a X Server you need: 1) a running X Server 2) the variable DISPLAY defined If you check from Xterm you will have: $ echo $DISPLAY :0.0 So your program can run as DISPLAY is defined and the X server is found. Share Improve this answer Follow answered Aug 9, 2016 at 14:45 matzeri 7,839 2 14 16 WebApr 21, 2015 · It's trying to look at your DISPLAY environment variable to use that to show the logo on, but you don't have a display to use, and thus have nothing in your DISPLAY variable. You will need access to an X server somewhere to do that step. One option would be to install cygwin on your Windows machine. grant hill 25th anniversary fila