LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-14-2004, 04:08 PM   #1
sunowww
LQ Newbie
 
Registered: Mar 2004
Posts: 26

Rep: Reputation: 15
Question what is X windows?


and how does it relate to "window managers" and "desktops" like KDE or blackbox?
 
Old 03-14-2004, 04:34 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
X Window or XFree86 is the program that allows other programs to draw in graphical mode. It allows them to use mouse, screen, also controls windows. But, X Window alone doesn't bring you GUI. All menus, window decorations and so on are prepared by window managers or desktop environments. They run over X Window, using it for many tasks.
 
Old 03-14-2004, 06:12 PM   #3
sunowww
LQ Newbie
 
Registered: Mar 2004
Posts: 26

Original Poster
Rep: Reputation: 15
ok so every linux distro with a gui uses xfree86 right?

and are "window manager" and "desktop environment" just different names for the same thing?
 
Old 03-14-2004, 09:17 PM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Every distro with a GUI uses something like XFree86. Some use other more experimental programs that serve the same function. But XFree86 is pretty universal at the moment.

A desktop environment *contains* a window manager and a window manager is all you really need (IMO) but they basically include an entire development suite - their own special libraries and what not - and people build tools specifically for that IDE. Things come with them like GUI config tools and integrated HTML help and various Windows-ish things. Window managers just basically give you a way to launch your apps and control them (rollup, iconize, push 'em around) once launched. The main IDEs are KDE and Gnome, along with XFce trying to get there - and Enlightenment wants to be. Other smaller projects. And there's zillions of WMs. Fluxbox is the most popular of those, probably - certainly at LQ. Also WindowMaker and Ice and lots of others. KDE's window manager is KWin I think, and Gnome's may be Sawfish or Metacity or something - WMs that almost nobody uses if they *don't* use KDE or Gnome. But it's just a component and you can make other WMs run with the IDE in some cases - you can't run two WMs or IDEs on the same display, though. But a WM in an IDE, yeah.
 
Old 03-14-2004, 11:33 PM   #5
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
xfree86 is a distribution of the GUI, it contains the x server, the standard x libs and various config tools, programs, and other stuff,

the X Windowing System is a standard thought of back in like 1987(? i think I'm wrong here, but around this time), its had additions and stuff, right now X11 is at revision 6 so its sometimes called X11R6, X11 it self is the protocol X uses to communicate between the server and the libs (this makes it possible to have network transparently, meaning that you can run the server on a different computer, and see the program on the computer your at,

the X server is not supposed to, and does not (cause X11 says so) supply a way to manage were windows are, and such, but it does provide for the tools to do the stuff, this is were window managers come in, they are just regular clients are far as the xserver is concerned (so you can have more then 1 running i think, but it would probably crash as they might get into a fight and bye bye whatever you was doing), the windows managers use the tools provided by the x libs to say were, and if a window should go here, or there, it usually offers an interface so people can drag Windows around, close them, minimize/iconify/shade them..

if you are really curious this site explains it best http://www.ac3.edu.au/SGI_Developer/...b_PG/sgi_html/
note: you probably only want to read the intro unless you really are curious
 
Old 03-15-2004, 05:38 AM   #6
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Rep: Reputation: 30
simple X is GUI like Windows
 
Old 03-15-2004, 11:44 AM   #7
Wynd
Member
 
Registered: Jul 2001
Distribution: Slackware 12
Posts: 511

Rep: Reputation: 32
Think like this: There is the basic Linux system (command line). Then X runs on top of that to give the capability of a GUI. Then a window manager or desktop environment runs on top of X to actually take advantage of X and do something with an actual GUI. That's why you can have different window managers - because they're not integrated into X so you can easily change which one you use.
 
Old 03-15-2004, 01:26 PM   #8
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
There was originally a version of X Window for Intel chips, that was called X386. Some people thought that there ought to be a free version of X for Intel chips, so they started the XFree86 project. Cute pun. XFree86 is used as the basis of almost all GUIs for Linux-based systems.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux under Windows - to use USB devices, not affect / reboot Windows, etc? pianoplayer88key General 2 12-01-2005 07:17 PM
Red Hat Linux 9 + Windows Server 2003 + Windows XP + Fedora in same domain wolfy339 Linux - Networking 5 03-02-2005 06:03 AM
SuSE 9.1 and Windows Xp refuse to live in harmony: error loading windows through GRUB sanctumtacete Linux - Newbie 3 10-19-2004 07:47 AM
Running Windows Games In Linux From Windows Hard Drive Darkstar274 Linux - Games 2 12-25-2003 11:19 PM
Partitioning drives to split Linux and windows with windows already on computer. linuxnoub Linux - Hardware 5 10-16-2003 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:58 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