I'm using Cygwin and am using Console2 as replacement to the default Cygwin terminal. I need to use X11 forwarding, and every time I run startxwin it launches it in a new terminal. I would instead like to have it open in the same terminal (or in a new tab), inside of Console2. Ideally I'd be able to either launch Cygwin with startxwin or launch a new tab with a Cygwin XWin server. This will probably involve editing the
.startxwinrc file, but I'm not sure how to go about doing this. I just recently starting using X11 forwarding in Cygwin.
How can I do this?
I'm trying to start an X11 session in Cygwin. This can be done by setting the
DISPLAY environment variable to
0.0. The X11 server is then launched by issuing the command
startxwin. After issuing that command, a new terminal opens, in a different window. That terminal is extremely basic and quite ugly. What I want to happen is either that terminal appear as a new tab in Console2 or have it run in the same terminal that it was launched from. This way I can continue to work in a terminal that has been optimized to my liking. Alternatively, if it is possible to launch Cygwin with X11 forwarding already enabled, that would be more ideal. I'm currently launching Cygwin by using this command
H:\bin\bash.exe --login -i -c "cd /cygdrive/d; exec /bin/bash". The entire reason why I need to use X11 is because I'm SSHing into a remote server that has programs with GUIs that I need to use. I just want to be able to do everything inside of Console2.