LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-17-2012, 08:25 AM   #1
ulkoma
Member
 
Registered: Feb 2012
Distribution: CentOS
Posts: 69

Rep: Reputation: Disabled
I cant change the DE as a root in Ubuntu 11.10


It's not my problem but someone has posted this in an other non-English forum and the problem made me very curious as I would love to know how linux handles each aspect

The user has installed Ubuntu 11.10, also he installed some GNOME, KDE and two more DEs
He has enabled the root account and set a password for it
Then he tried to log into the system using different DEs
Each time he tries that he ends up with the default unity DE!
http://i41.tinypic.com/2l95i8m.jpg

Any idea how linux handles the process? I am not interested in solving the problem, I am more interested in the mechanism and the priorities
Thanks
 
Old 04-17-2012, 09:59 AM   #2
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Open the login menu, there should be an icon near your name, currently a gear, and choose anyone from them.
 
Old 04-17-2012, 10:08 AM   #3
ulkoma
Member
 
Registered: Feb 2012
Distribution: CentOS
Posts: 69

Original Poster
Rep: Reputation: Disabled
That's right, this icon should modify the dmrc file in the home directory ie
Code:
[Desktop]
Session=the DE you just chose
Well the above does not work with the root user!!! why? any idea how to fix that? is it a bug?
 
Old 04-17-2012, 10:33 AM   #4
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Ubuntu was never designed to have root account enabled, therefore it is Not A Bug.
 
1 members found this post helpful.
Old 04-17-2012, 10:41 AM   #5
ulkoma
Member
 
Registered: Feb 2012
Distribution: CentOS
Posts: 69

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by snowpine View Post
Ubuntu was never designed to have root account enabled, therefore it is Not A Bug.
Like I said above, I more interested the mechanism I couldn't care less about it being a bug or a feature

I think this feature got something to do with the permissions! maybe that icon has no enough privileges to edit the dmrc file inside the root home directory! Is that possible?
 
Old 04-17-2012, 10:45 AM   #6
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Quote:
I think this feature got something to do with the permissions! maybe that icon has no enough privileges to edit the dmrc file inside the root home directory! Is that possible?
No, such is not the case. While logging into the system, from there also you can choose Desktop Environment. Right?
 
Old 04-17-2012, 10:53 AM   #7
ulkoma
Member
 
Registered: Feb 2012
Distribution: CentOS
Posts: 69

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Satyaveer Arya View Post
No, such is not the case. While logging into the system, from there also you can choose Desktop Environment. Right?
How do I switch to a certain DE while I am logged in an other one?
 
Old 04-17-2012, 10:58 AM   #8
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Quote:
How do I switch to a certain DE while I am logged in an other one?
Just restart your machine and hop in on the login window, search there you'll find definitely.
 
Old 04-17-2012, 11:10 AM   #9
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by Satyaveer Arya View Post
Just restart your machine and hop in on the login window, search there you'll find definitely.
Why restart the machine?
Just log out and you should be greeted with the Login prompt and DE chooser.
 
Old 04-17-2012, 11:14 AM   #10
ulkoma
Member
 
Registered: Feb 2012
Distribution: CentOS
Posts: 69

Original Poster
Rep: Reputation: Disabled
Guys r u talking about the same icon? that gear?
 
Old 04-17-2012, 11:16 AM   #11
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Yes, or something like it. There is usually a way to change your DE.
 
Old 04-17-2012, 11:16 AM   #12
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Quote:
Why restart the machine?
Just log out and you should be greeted with the Login prompt and DE chooser.
Ohhhh, right right!
 
Old 04-17-2012, 12:41 PM   #13
ulkoma
Member
 
Registered: Feb 2012
Distribution: CentOS
Posts: 69

Original Poster
Rep: Reputation: Disabled
This is getting crazier! and now I am obsessed with finding the solution
I have manually modified the dmrc file at /root to
Code:
[Desktop]
Session=gnome-shell
However I ended up with unity again! I would love to know what component is checking on the root and stopping it from loading any DEs but the default one!
The rest of the users can easily switch between different DEs

Last edited by ulkoma; 04-17-2012 at 12:44 PM.
 
Old 04-17-2012, 12:48 PM   #14
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: Pop!_OS
Posts: 945

Rep: Reputation: 297Reputation: 297Reputation: 297
There is a button on the gdm screen to allow you to select the session (It is the gear in 11.10). It will be the gear icon in 11.10, but I do recall one that had a little text box in a different version of Ubuntu. Select your session from that. You can even set that as default.

Last edited by jkirchner; 04-17-2012 at 12:53 PM.
 
Old 04-17-2012, 01:37 PM   #15
ulkoma
Member
 
Registered: Feb 2012
Distribution: CentOS
Posts: 69

Original Poster
Rep: Reputation: Disabled
I don't think you are following me! maybe its my clumsy English!
Basically now matter what DE I choose the system logs me into unity, that simple! any ideas?
 
  


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
[SOLVED] How do I change change the home directory to be owned by me and not root? Slackware theif519 Linux - Newbie 4 06-24-2011 12:21 PM
[SOLVED] How can I change file permissions in windows ntfs partition.Even root can't change it e3399 Linux - Newbie 3 03-02-2011 10:54 PM
[SOLVED] Change root password in ubuntu basheer Ubuntu 2 07-24-2010 01:28 PM
how to change the root password in ubuntu 10.04 basheer Ubuntu 2 07-23-2010 05:08 AM
How do I change document root in apache2 in Ubuntu? leemoreau Linux - Networking 4 03-30-2005 06:18 AM

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

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