LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   question about /etc/init.d/xdm and desktop environments (https://www.linuxquestions.org/questions/linux-newbie-8/question-about-etc-init-d-xdm-and-desktop-environments-4175448749/)

dksellou 02-05-2013 01:50 PM

question about /etc/init.d/xdm and desktop environments
 
Hi...
two quick questions:
1) are window managers and desktop environments 2 different things.
For example is Metacity a desktop environment or just a window manager?

2)if a X display manager is not already started do you start it with /etc/init.d/xdm or /etc/init.d/xdm start?

Thanks

shivaa 02-05-2013 08:16 PM

Quote:

Originally Posted by dksellou (Post 4884986)
1) are window managers and desktop environments 2 different things.
For example is Metacity a desktop environment or just a window manager?

Both windows manager and desktop environment are different.
A windows manager is a utility used to manage different windows opened in your system, whereas a desktop environment is overall setup of your desktop and what you are seeing on your desktop is all a part of your desktop environment.

Metacity is windows manager for GNOME desktop environment, but its not a destkop environment. A windows manager is also a part of your desktop environment. Commonly used desktop enviornments includes GNOME, KDE, XFCE etc.

For more details, check here.

Quote:

Originally Posted by dksellou (Post 4884986)
2)if a X display manager is not already started do you start it with /etc/init.d/xdm or /etc/init.d/xdm start?

Service management may be different in different OS. For a perfect answer, mention your distro, its version and which desktop environment (plus its version) you're using.
However, you can check for appropriate desktop services under:
Code:

~$ cd /etc/init.d
~$ ls gdm xdm

But nothing specific could be suggested until complete information is provided.

dksellou 02-05-2013 09:03 PM

Thank you so much
for question 2 I use Suse linux enterprise server 11 and use it through VMware. so what should i type at acoomand prompt to start the xdm if it is not started...
i hope it makes more sense now...
:(

shivaa 02-05-2013 09:14 PM

Which desktop environment is has - GNOME or KDE? Not much sure about desktop config. in Suse, but as far as I remember, Suse should have KDE.

So you can start it from terminal using:-
Code:

~$ /opt/kde3/bin/startkde

dksellou 02-05-2013 09:21 PM

It is Gnome

shivaa 02-05-2013 09:39 PM

Alright. Did you check gnome desktop service (gdm) under /etc/init.d/?

You can start it from CLI using:
Code:

~$ which gnome-session
~$ gnome-session &

This document could be helpful.

dksellou 02-05-2013 10:05 PM

Yeah I know I was just wondering about the xdm and whether was /etc/init.d/xdm or /etc/init.d/xdm start

shivaa 02-05-2013 11:03 PM

Yes, you can manage xdm service in this way,
Code:

~$ sudo /etc/init.d/xdm start
~$ sudo /etc/init.d/xdm stop
~$ sudo /etc/init.d/xdm reload

Similarly, gnome desktop can be managed using gdm.
xdm is also kind of desktop manager, but older than gdm and lacks graphics and features like gnome.

Hope this make it more clear!

dksellou 02-06-2013 03:06 PM

Thank you all so much !!!

shivaa 02-06-2013 06:01 PM

Quote:

Originally Posted by dksellou (Post 4885789)
Thank you all so much !!!

Hope above explainations helped. So you can mark the thread as solved (Thread Tools > Mark this thread as solved).


All times are GMT -5. The time now is 12:21 AM.