Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'll try to be very sintatic with my question.
Linux intel 2.6.32-5-686 #1 SMP Mon Jan 16 16:04:25 UTC 2012 i686 GNU/Linux
Windows 7 Home Premium (64 bit)
I mess around with the configuration and I managed to see x session using VNC,but I would like to see a real x session using ssh with CYGWin. I.e. I want to open x session from the Linux server and declare the Windows desktop as the display. I already did the configuration on Windows (set DISPLAY=127.0.0.1:0.0, PuTTY with X11 forwarding etc). I miss something on the linux side.
Please help by describing all relevant configuration.
All of your sintatic explanation still leaves it unclear what you are trying to accomplish. Are you trying to use the Linux host to see & use application running on the Windows host? Or, are you trying to use the Windows host to see & use applications running on the Linux host?
In the first case, you will need to use a remote desktop client on the Linux host. In the second case, you will need to install an X server on the Windows host.
Thanks to Satyaveer Arya and theNbomr for their answer.
I want to run Linux applications from my Windows 7 desktop.
Have installed CGYwin on my Windows desktop.
Can see X session on Linux while the screen was connected to it, but I have no screen for this system.
Can see X session over VNC (using tightVNC), on my Windows desktop.
Want to run Linux X from Windows desktop directly, not through VNC.
Hint - the display for the linux X session should be MY:0.0 (where MY is the ip of my desktop)
There must be some procedure how to start X session on Windows (for free...) like it can be done using commercial software as XManager of VanDyke.
What I need is a set of configuration (not installation).
can anyone help?
On Linux server:
. set server for X11 forwarding
. set server for TCP forwarding
. set server to allow X session to desired user
On Windows desktop:
. download and install PuTTY
. Open PuTTY (on windows desktop) and configure a session to your Linux server. Make sure to set on SSH X11 forwarding. Save the session as <PuTTY Session Name>
. Download and install Cygwin
. Add to the end of cygwin/home/<user name>/.bashrc the following lines: (don't care about the dos style)
. Create a text file with an extension .cmd with the following content:
cd C:\cygwin\home\<user name>
start C:\cygwin\bin\mintty.exe -
PING -n 2 127.0.0.1 >NUL
start c:\<path>\putty.exe -load "<PuTTY Session Name>"
. Now try to run the cmd file, it should bring you the PuTTY login on top of the Cygwin window. Login and try xcalc to verify proper configuration.