LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-21-2011, 03:26 AM   #1
SkyerSK
Member
 
Registered: Oct 2010
Location: Europe
Distribution: Gentoo
Posts: 206

Rep: Reputation: 10
Basic knowledge on desktop environments


Hello,
I have made my way through installing linux, but I still feel kind of lost when it comes to desktop environments stuff.

Installing/understanding (basics) Xorg is not a problem, but when I get to policykit, hal, udev, and similar, I don't have clear vision what works on top of what. I have read corresponding manuals, but yet I am still not fully comfortable with it.

For example, "what's policykit's relation to PAM?". I'd be very grateful, if you kicked me out with some links on documentation.

Thanks
 
Old 04-21-2011, 04:01 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960
udev is a user-space application (as opposed to the old in-kernel methods) that dynamically generates entries in /dev. When the kernel detects a new piece of hardware, it tells udev, and udev creates a node for it.

Hal is a step above that, and abstracts the hardware layer events into ones that your user-level programs can deal with in a consistent way. It's what (theoretically, at least) makes things like plugging/unplugging your mouse and suspend buttons work properly.

Hal is being deprecated and it's functions are in the process of being merged with udev:
http://en.wikipedia.org/wiki/HAL_%28...d_obsolescence

policykit is a security layer that determines which user can do what with which hardware/software. Other than that, I don't understand it very well.

Sorry, I'm not too clear about PAM, except that it provides a system for user authentication. Perhaps this page will help.
 
1 members found this post helpful.
Old 04-21-2011, 04:39 AM   #3
SkyerSK
Member
 
Registered: Oct 2010
Location: Europe
Distribution: Gentoo
Posts: 206

Original Poster
Rep: Reputation: 10
Thanks for your answer,
your post helps me to make it more clear. Also, mind if I have another question? If I want to mount disk with nautilus, how can I determine the exact call it makes? I mean, mounting disks by gnome-related tools always fails with "Not authorized", so I would like to be able to trace call it makes to see where the problem is.

So far, I think I made it to the point that nautilus, through dbus calls policy kit, which mounts disks somehow. I don't know what call nautilus invokes, neither what does it have to do with pam_mount or pmount packages. Also, where console kit gets to the game is also not known for me, but that's fairly another question, so let's stick with original one.

I'd like to get better perspective on what happens here, but so far I haven't been much successful.

Last edited by SkyerSK; 04-21-2011 at 04:44 AM.
 
Old 04-21-2011, 07:49 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,758
Blog Entries: 27

Rep: Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080
Hi,

Probably permissions!

Your user is in the proper groups?
Look at link # 2 below.

FYI: I suggest that you look at 'How to Ask Questions the Smart Way' so in the future your queries provide information that will aid us in diagnosis of the problem/query.



Just a few links to aid you to gaining some understanding;



1 Linux Documentation Project
2 Rute Tutorial & Exposition
3 Linux Command Guide
4 Bash Beginners Guide
5 Bash Reference Manual
6 Advanced Bash-Scripting Guide
7 Linux Newbie Admin Guide
8 LinuxSelfHelp
9 Utimate Linux Newbie Guide

The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 04-21-2011, 08:32 AM   #5
SkyerSK
Member
 
Registered: Oct 2010
Location: Europe
Distribution: Gentoo
Posts: 206

Original Poster
Rep: Reputation: 10
Thanks for your answer,
I'll check those links.

The "not authorized" problem is not the main problem, I mentioned it only because it could have something to do with the topic I am talking about.

edit: Actually, I was searching for some info about stuff I was posting about before (policykit,consolekit, dbus calls and maybe something more related to how it works, not how to work with it), not whole linux guides. (I already have read some of them).

Last edited by SkyerSK; 04-21-2011 at 08:37 AM.
 
Old 04-21-2011, 09:05 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,758
Blog Entries: 27

Rep: Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080Reputation: 2080
Hi,

Then look at 'Devices' section.
 
Old 04-22-2011, 04:28 AM   #7
SkyerSK
Member
 
Registered: Oct 2010
Location: Europe
Distribution: Gentoo
Posts: 206

Original Poster
Rep: Reputation: 10
Thanks,
so far it seems to be really what I've been searching for. There are still few questions left, but it can't be compared to what it was. I'll mark thread as solved.
 
  


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
Basic questions about themes and environments sogenant Linux - Newbie 1 12-14-2007 04:21 PM
FireWall - Basic knowledge. zamri Linux - Security 5 01-24-2005 06:43 AM
Oidentd basic knowledge/problem burn0ut Linux - Software 0 01-14-2005 03:07 AM
Need some basic knowledge on how DNS work davidas Linux - Newbie 17 05-31-2004 07:02 PM
Some basic knowledge of Linux regarding directory structure chem1 Linux - Newbie 3 08-10-2002 11:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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