[FAQ] How is Linux Layered?


Recommended Posts

An excellent beginner's take on the display layers for Linux/GNU :)

I have some follow up questions though... for example, font rendering is something I would think is handled by the Desktop Environment, but it seems so consistent across all three desktop environments. How is this handled?

Another question -- how difficult is it to start with just the kernel, and build up a system to the Desktop Environment? I assume it is NOT a trivial task :)

Again, great job! Thanks!

An excellent beginner's take on the display layers for Linux/GNU  :)

I have some follow up questions though... for example, font rendering is something I would think is handled by the Desktop Environment, but it seems so consistent across all three desktop environments.  How is this handled?

Another question -- how difficult is it to start with just the kernel, and build up a system to the Desktop Environment?  I assume it is NOT a trivial task  :)

Again, great job!  Thanks!

585281741[/snapback]

X handles most of the font tasks, and actually most of the GUI tasks overall. Everything GUI-wise is built up on top of X and implements more features, such as GUI toolkits like GTK and QT. I'm not sure which handles anti-aliasing of fonts, X or the DE, but anti-aliasing seems different for each environment, so it's more than likely the DE.

I'm uncertain what you mean by your second question, whether you mean a base install and building of from there or building from scratch. The former is much easier than the latter, it's mostly just building some packages. The latter is much more involved and requires a lot of work since you're building everything. Check out LFS and look at the book there.

Here I think a word is missing: "The target audience for this is quite likely someone who is considering installing Linux for the first time, or who has installed it recently, but is having ______ understanding the variety of choices."

585300193[/snapback]

Good catch! (Y) I'll correct that now. :yes:

Such is the advantage of Open Source: Enough eyes, and every problem is shallow (to paraphrase Linus Torvald's quote)

  • 2 weeks later...
  • 4 weeks later...
interesting thread markjensen  :)

585541731[/snapback]

Thanks. Glad you found it interesting.

This gets asked a lot, and it tough for many newcomers to understand at first.

  • 3 months later...
Great guide mark, same for the other one's in this FAQ section...

this section is gold-dust, only just started looking at it..

586113058[/snapback]

Thanks. :)

Oh, and several of us Green Mods (fred66, rezza, Armeck and myself) have been working at getting the HOWTO & FAQs moved out to be more visible. Still in the works, though progress seems slow...

  • 3 years later...

Good post and does in fact help a lot in Understanding how Linux Works and what setting needs to be changed or adressed to do this or that ... Either way I'm not sure if this is the place to put this but since we are talking about layers I read on Wikipedia that there are Seven layers of an OS !! Right ?? I only counted Six !! And Is this model of WIndow Managers , Kernel , Etc ... apply on all Operating System like WIndows for Example and Leopard and so on

... but since we are talking about layers I read on Wikipedia that there are Seven layers of an OS !! Right ?? I only counted Six !! And Is this model of WIndow Managers , Kernel , Etc ... apply on all Operating System like WIndows for Example and Leopard and so on

I think you mean the OSI model for the seven layers. It has to do with communications, not Operating Systems.

Not sure if that is what you meant... :unsure:

I think you mean the OSI model for the seven layers. It has to do with communications, not Operating Systems.

Not sure if that is what you meant... :unsure:

This is basically it : http://wiki.answers.com/Q/7_layers_of_operating_system

I'm sure I read it on WIkipedia that this model is the seven layers of the operating system : hardware, firmware, kernel, memory manager, input output manager, file manager and application layer

It seems that this is in fact the OSI model also according to Wikipedia , What exactly is this and doesn't it apply to Operating Systems ??

PS : If I'm going off topic please feel free to ignore me , I don't want to derail such a brilliant post

OSI = Open Systems Interconnection, it's how different computers talk to each other.

As for the OS, that "layout" seems a bit strange, the memory manager and IO live in the kernel, not on top of it (unless we're talking about microkernel, but they add an extra 20 layers or so), and applications don't run on top of the file manager, they run along side it.

It seems that this is in fact the OSI model also according to Wikipedia , What exactly is this and doesn't it apply to Operating Systems ??

It's just someone who's misunderstood and thought the OSI model applies to operating systems. It doesn't, it deals with networking (and in a very academic way, compared to IP which does not follow the OSI model and is more practically designed).

OSI = Open Systems Interconnection, it's how different computers talk to each other.

As for the OS, that "layout" seems a bit strange, the memory manager and IO live in the kernel, not on top of it (unless we're talking about microkernel, but they add an extra 20 layers or so), and applications don't run on top of the file manager, they run along side it.

On Windows (sorry, I know it's a Linux thread) the layers are technically hardware abstraction layer->drivers/kernel (scheduling, synchronization, interrupt/exception handling)->executive (memory, IO, process/thread management, networking, etc)->subsystems->applications. With the exception of the applications, most of this runs in kernel mode, so it's not a microkernel architecture in the sense that everything above the kernel runs in user mode.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I have been using Firefox for years.
    • I'd trust open source stuff on github more then closed source binaries from Microsoft.
    • OpenAI is now rolling out Lockdown Mode to more ChatGPT users by Pradeep Viswanathan Back in February, OpenAI first announced Lockdown Mode for users who want the most comprehensive protection from potential attacks. At the time of the announcement, the company mentioned that this feature was available to a small set of highly security-conscious users, including executives or security teams at leading organizations. Today, OpenAI announced that Lockdown Mode is now rolling out to all personal ChatGPT accounts, including Free, Go, Plus, and Pro, and also self-serve ChatGPT Business accounts. Users can enable the feature from ChatGPT Settings > Security when it is available for their account. When Lockdown Mode is enabled, ChatGPT limits or disables several features that connect to the web or external services. These include live web browsing, Deep Research, Agent Mode, and more. Here is the complete list of services that will be disabled in Lockdown Mode: Live web browsing: Web browsing is limited to accessing only cached content. Search results may be limited, unavailable, or stale. Image support: ChatGPT may not display images in regular responses or retrieve images from the web. Users can still upload image files, and image generation remains available where it is otherwise available. Deep research: Deep research is disabled. Agent mode: Agent mode is disabled. Canvas networking: Users cannot approve Canvas-generated code to access the network. File downloads: ChatGPT cannot download files for data analysis. ChatGPT can still operate on your manually uploaded files. It is important to note that Lockdown Mode does not completely block prompt injections from appearing in content that ChatGPT processes. For example, a malicious instruction could still be present in an uploaded file or cached web content. However, the mode is designed to reduce the ways such an attack could send sensitive information outside the conversation. Along with Lockdown Mode, OpenAI today also announced that the Active sessions feature is now available across ChatGPT accounts and workspace types. This feature allows users to review where their account is signed in across devices and end sessions if required. A session will have the following information displayed: Device or browser information. First-party app context, such as ChatGPT, Codex, or API Platform. Approximate location. Sign-in date and time. Whether the device is a trusted device. Whether it is your current session. OpenAI highlighted that the Active sessions feature will not be available for accounts linked to an organization’s single sign-on setup, including SAML or OIDC.
  • Recent Achievements

    • Rookie
      moog19 went up a rank
      Rookie
    • Mentor
      grik went up a rank
      Mentor
    • Dedicated
      JKR earned a badge
      Dedicated
    • One Year In
      CHUNWEI earned a badge
      One Year In
    • Conversation Starter
      FBSPL earned a badge
      Conversation Starter
  • Popular Contributors

    1. 1
      +primortal
      491
    2. 2
      PsYcHoKiLLa
      270
    3. 3
      Skyfrog
      75
    4. 4
      Steven P.
      68
    5. 5
      FloatingFatMan
      63
  • Tell a friend

    Love Neowin? Tell a friend!