LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 04-02-2013, 02:38 PM   #1
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Rep: Reputation: Disabled
About x program and x server


Good Morning Experts ;

I need some information about x program and x server. Already i discussed with unix team but few things are not clear.


what's the logic behind setting display variable 0.0 ?


Thanks in Advance ..
 
Old 04-02-2013, 02:46 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
":0.0" refers to screen zero, on server 0 on the current system, "anothermachine:3.1" would be screen 1 on server three on system "anothermachine".
 
1 members found this post helpful.
Old 04-02-2013, 02:49 PM   #3
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Original Poster
Rep: Reputation: Disabled
x program and x server How it works with display variable ?

Thanks acid_kewpie .
 
Old 04-02-2013, 02:57 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
how what works??
 
Old 04-02-2013, 03:14 PM   #5
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Original Poster
Rep: Reputation: Disabled
Today i (Oracle guy from Chennai) spoke with unix team about remote n/w connectivity !

I got information like X server is a program and created for X Window System that runs on local machines (typically a keyboard and mouse) on the computers.

For ex : work station is SOUTH INDIA and DATABASE SERVER is out of ASIA ..

Here i am asking , If i want to connect my server , What is the need to use x program and x server for remote DB connectivity ?

Thanks ..
 
Old 04-02-2013, 03:36 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
X or some form of X is not as common as it used to be. Normally you would not transmit an X application to your local X server over the internet. X is a pretty old system and not easy to secure. There are better and faster ways to remote desktop.


Note that this is one of the few exceptions to how one uses the terms server and client. Your display is the server in X.
 
Old 04-02-2013, 06:31 PM   #7
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Quote:
Originally Posted by jefro View Post
X or some form of X is not as common as it used to be. Normally you would not transmit an X application to your local X server over the internet. X is a pretty old system and not easy to secure. There are better and faster ways to remote desktop.
Well then call me abnormal. I use X to run GUI applications on remote hosts all the time. It is done routinely in many, many situations. If the X traffic is transmitted between hosts via a SSL tunnel, it is as secure as virtually any other traffic on a network. It just happens that doing so also simplifies the process of connecting remote X clients to the local X server.

A server, generically, is some long-running process that can be accessed by a client, and which performs some specified service to that client. In the case of X, the server provides the service of creating and maintaining windows, and drawing graphics and text on the windows, and serving keyboard and pointer activity back to the client. The clients that request it to do so are graphical X applications. In order for an X client application to find an X server, it uses the content of the $DISPLAY environment variable. By documented standard, $DISPLAY contains a hostname (optional), server number, and screen identifiers. The X client adds the number 6000 to the server number, and makes a TCP connection to the port identified by that sum. X traffic is conveyed between client and server on that TCP connection.

I think jefro is trying to explain that in most scenarios, the server is on a host that is remote, and your local workstation hosts the client side of a client-server application. Mail servers, and web servers are good examples of this arrangement. In the case of X, the server is generally at your local workstation, while the X clients are applications that may run on remote hosts. Some people find this confusing, probably due to lack of clear understanding of the client-server relationship.

--- rod.

Last edited by theNbomr; 04-03-2013 at 01:08 PM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
zmq client server program ..my client is working but server is not..pls help batman4 Programming 2 08-13-2012 08:44 AM
server program munna_dude Programming 15 03-17-2007 08:04 AM
Server Program? sonic04002 Linux - Software 12 11-11-2005 09:29 AM


All times are GMT -5. The time now is 02:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration