LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-24-2009, 11:35 AM   #1
venmugil
LQ Newbie
 
Registered: Feb 2007
Location: India
Distribution: Mac OS X, Ubuntu 9.04
Posts: 21

Rep: Reputation: 15
Exclamation X-Windows system - client/server


Where does x-windows fit in the client-server model? Does it come in the client side or the server side?
When a user connects to a remote m/c from his desktop and runs a GUI application (like xclock), from where are the window borders and menu drawn? The x-windows should be installed in the remote m/c or the desktop m/c for the menus and border to be displayed?
 
Old 09-24-2009, 12:43 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
This sounds suspiciously like a homework assignment. You'll learn a lot more by doing your own homework. People interviewing candidates for jobs can quickly determine who just learned some terms from those who actually know what they're doing.
 
Old 09-24-2009, 01:02 PM   #3
venmugil
LQ Newbie
 
Registered: Feb 2007
Location: India
Distribution: Mac OS X, Ubuntu 9.04
Posts: 21

Original Poster
Rep: Reputation: 15
Your suspicion is wrong then :-). I am not a student.. Just started using linux and curious to know how certain basic things are working in Linux. People coming from windows world find even trivial things in linux bit confusing..
 
Old 09-24-2009, 01:32 PM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
My apologies then.

From the standpoint of "client/server" the machine that you launch the X application on (e.g. when you type "xclock") is the "server" for that application and the machine where the application actually get's displayed is the "client". Note that you can both launch an application and display it on the same machine (e.g. when you are in the GUI Console of a Linux box - all the items you see are X-Windows).

The X display implementations contain information such as fonts and other things that the application directs to be used. The application itself is still running on the machine that launched it. This means you're using more resources on the host that launched the application than on the one that displays it. Due to this model you're host doesn't have to know anything about the application you launched. It simply knows generic information common to all X windows. All the detail of the X window is provided by the launching application.

You can run X-Windows on top of MS-Windows by using tools such as Exceed ($$$) or Cygwin/X server (FOSS). You can also open VNC session from Windows to Linux/UNIX and run X inside the VNC session.
 
Old 09-24-2009, 01:46 PM   #5
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

Rep: Reputation: 80
Lots of good info:

http://en.wikipedia.org/wiki/X_Window_System
http://en.wikipedia.org/wiki/X_Windo..._core_protocol
 
Old 09-25-2009, 11:49 AM   #6
venmugil
LQ Newbie
 
Registered: Feb 2007
Location: India
Distribution: Mac OS X, Ubuntu 9.04
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks for the reply. Actually, my question is not about working of x-client/server. i am already aware of how the x-client/server works. I was curious to know about the redirection to x-windows manager. whenever a request comes to x-server from a client to display something, the request is redirected through x-windows manager. Where and how does this redirection occur?
For instance, when xclock is invoked, the application sends request to x-server to show the clock's face. Before the face of the clock is displayed, the request is redirected to x-windows manager which draws window border and title bar. Is this redirection done by x-client or x-server? If there is just a bare x-client/server without any windows manger installed, will the clock's face be displayed without any windows border?
 
  


Reply



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
how i can connect to linux server with thin client having windows ce operating system vinay.verma2 Linux - Networking 2 09-14-2009 06:22 AM
windows server 2003 as a host system for LINUX guest system VPS h@foorsa.biz Linux - General 2 09-22-2008 06:17 AM
linux server system cannot resolve name, but windows system no problem? hocheetiong Linux - Newbie 1 04-06-2008 11:16 PM
linux server system cannot resolve name, but windows system no problem? hocheetiong Linux - Newbie 3 04-06-2008 07:28 PM
can not connect to my pureftp server from Linux client, but i can from windows client bonito SUSE / openSUSE 5 03-16-2005 09:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:20 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
Open Source Consulting | Domain Registration