LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   tools to connect to X server?? (https://www.linuxquestions.org/questions/linux-newbie-8/tools-to-connect-to-x-server-760278/)

ubuntu77 10-07-2009 06:14 AM

tools to connect to X server??
 
Hi,

I know if i use windows PC i can use exceed or X-win32 to get to tthe Xserver.

what tools if i use ubuntu as my pc to connect to xserver?

Note:
i know we can use ssh -X, but i am not asking about it.

i know we can use options at the login prompt X11 to get to xserver, but i need my x11 to work and i wanna connect to xserver also.

and about vnc, i think vnc is like remoting tools only, it can't get another Xsession of the xserver.

thanks.

theNbomr 10-07-2009 07:16 AM

Like many other before you, I think you are confused about what exactly an X server is.
When you run an application that requires an X server, the server normally runs on the host local to you. With Exceed or X-Win32, the X server is running on your Windows host locally. Similarly, when you use a Linux desktop, there is an X server running on that host. It can be used by local applications, or by applications running on a remote host, where the X traffic is typically tunneled through the ssh connection that you used to login (but not necessarily). When you login and run applications, they use the X server identified by the $DISPLAY environment variable. For an application that is running locally, that will normally be localhost:1. The X tunnel mechanism sets up a listener on the remote host which is identified with $DISPLAY, and sends the X traffic back to your local X server, through the tunnel.
It is possible that you want to run X applications locally, but attach to a remote X server (where you won't be able to see the display, or manipulate the keyboard or pointing device). The same mechanism applies: set $DISPLAY to point to the remote server. >For example, 123.123.123.123:1. Doing this will cause any X application that you run to attempt to connect to the specified X server. If the server is reachable, and is configured to accept TCP connections, then the application should run, and send its output to the specified server. It will, of course, expect its keyboard and pointing device to be there, too.
--- rod.


All times are GMT -5. The time now is 01:27 AM.