I get to know that we can bring the display by installing X-server on source (Server) and setting display parameters on server which pointing to client desktop.
-If we are using X-server services(on linux), how to check at the OS level for confirmation ? -How to export display to client?
Apart from above steps, to full fill my requirement, any other requisites in place . request you please advice.
The system that runs the X windows manager is normally called the X server, and the system on which X application is run is called the client. To send the display of the application (the client) to the server screen, you need:
In order to run X Windows application on a unix system and get the display on an XP system, you need to have X Windows S/W installed on XP. There are many S/W packages available (some you need to buy) and some are free.
I will consolidate all my understanding from all above inputs
- install X-server software on the linux server - install X- windows software on XP . for example like humming bird - export display parameter on the linux server pointing to win Xp client . - apply xhost+ command on server - run xclock command by login to linux server from putty of client machine , then that should eventually display clock on win client desktop
please correct if I am wrong in anywhere in steps and also advice how to test that whether x-server software rerunning linux box ?
- install X-server software on the linux server (optional) - install X- windows software on XP . for example like humming bird - run X windows on xp (and some of them has discovery capability and can tell you which ones are running X session managers - XDMP) - allow connections from other systems on the network on the X windows running on xp - connect to unix box (some will run X windows login session on the remote unix system) - export display parameter on the linux server pointing to win Xp client - run xclock command by login to linux server from putty of client machine , then that should eventually display clock on win client desktop
Dear omerfarid I added the clarification which l am looking for . apart from this ,do you have any links for which I am looking for
install X-server software on the linux server (optional) <my comments > I am wondering without this software installed on server how can display be brought to client PC </my comments > - install X- windows software on XP . for example like humming bird - run X windows on xp (and some of them has discovery capability and can tell you which ones are running X session managers - XDMP) <my comments > you mean , start humming bird services on client pc desktop ie on win XP </my comments > - allow connections from other systems on the network on the X windows running on xp <my comments > how ? </my comments > - connect to unix box (some will run X windows login session on the remote unix system) <my comments > X windows login session ? ? plz elaborate </ my comments > - export display parameter on the linux server pointing to win Xp client - run xclock command by login to linux server from putty of client machine , then that should eventually display clock on win client desktop
It seams the concept of client and server are different when it comes to X windows. The X server is the s/w that will be serving you, and in this case it is the X s/w on the xp. The client in your case is the x application that you will run on the unix / linux system. All what the client needs is to tell it where to send output (through DISPLAY env variable).
So installing X server on linux will not serve you here.
So, you need to start the X windows on the xp and this will be your server that will serve the client on the unix / linux system. For the x server to start serving x applications that run on remote system (and that will be sending output to your x server), you need to allow remote applications to use the x server on the xp. The x windows server has a configuration options to allow remote applications to send output to it.
Now, you can telnet or ssh to the unix / linux system, then you can set DISPLAY env var to point to your xp IP address:
DISPLAY=XP_IP_ADDRESS:0.0 ; export DISPLAY
then run the x application and you should see the display on the xp.
Regarding the XDMP session, as I said x server running on xp can discover XDMP capable / enabled systems and can run x session manager remotely where you can use it to login and run x applications
LEt me explain from beginning: First of all X11 display you are looking at is called X-server. One like Xming needs to be installed on your PC X clients are applications that do run on your Linux server computer and use X server for display X protocol uses TCP connections from server to port 6000 and above to workstation, Thede need to be allowed on your firewall.
More practical would be using SSH client like putty and X11 forwarding - all the X11 connections will be forwarded inside one firewall-friendly SSH connection. and it sets all the shell variables needed.
xdpyinfo when run on linux queries window server if it finds one. if it triggers any errors or firewall warnings - these have to be fixed before running somthing like startkde or xterm.
Ask google for products mentioned - first hit on xming and putty are correct ones.