LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 02:47 PM   #16
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Posts: 765

Rep: Reputation: 196Reputation: 196

Must have something to do with trying to run it as root. Not a good idea to run as root. I am not sure the fix, sorry

Does the desktop switch as a normal user?
 
Old 04-17-2012, 02:47 PM   #17
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,312

Rep: Reputation: 1721Reputation: 1721Reputation: 1721Reputation: 1721Reputation: 1721Reputation: 1721Reputation: 1721Reputation: 1721Reputation: 1721Reputation: 1721Reputation: 1721
Is there a .dmrc for the root user? If so, where is it and did you modify it?
 
Old 04-17-2012, 02:53 PM   #18
ulkoma
Member
 
Registered: Feb 2012
Distribution: CentOS
Posts: 69

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jkirchner View Post
Must have something to do with trying to run it as root. Not a good idea to run as root. I am not sure the fix, sorry

Does the desktop switch as a normal user?
I am curious about the concept that's all! I am not trying to play around as a root, I just like to explore and understand how linux works, is that too much to ask?

Yes, other users switch flawlessly

Quote:
Originally Posted by 273 View Post
Is there a .dmrc for the root user? If so, where is it and did you modify it?
Yes there is, it got created once I logged in as a root (not before that)
it's at /root

Last edited by ulkoma; 04-17-2012 at 02:56 PM.
 
Old 04-17-2012, 02:55 PM   #19
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Posts: 765

Rep: Reputation: 196Reputation: 196
The way ubuntu is put together I am not sure how best to tackle it. They disable root so there must be another file/tweak to be done. Have you tried asking at the Ubuntu forums?
 
Old 04-17-2012, 03:16 PM   #20
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,136

Rep: Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157
It's like asking "how do I change the radio station while driving in the trunk of my car?"

You could possibly find a work-around to operate the radio, but there may be other, unforeseen consequences--like crashing and dying!--because the car is designed to be operated from driver's seat, not the boot.
 
1 members found this post helpful.
Old 04-17-2012, 03:37 PM   #21
ulkoma
Member
 
Registered: Feb 2012
Distribution: CentOS
Posts: 69

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by snowpine View Post
It's like asking "how do I change the radio station while driving in the trunk of my car?"

You could possibly find a work-around to operate the radio, but there may be other, unforeseen consequences--like crashing and dying!--because the car is designed to be operated from driver's seat, not the boot.
Wrong

All I am asking is "Whats stopping me from changing the radio station while driving in the trunk of my car?"

Got it?

I couldnt careless if logging as a root was possible or not, I want to know which component of the OS is modifying my dmrc and stopping me from changing the DE
 
Old 04-17-2012, 07:01 PM   #22
ulkoma
Member
 
Registered: Feb 2012
Distribution: CentOS
Posts: 69

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jkirchner View Post
Have you tried asking at the Ubuntu forums?
They threw this in my face
 
Old 04-17-2012, 07:47 PM   #23
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Posts: 765

Rep: Reputation: 196Reputation: 196
I had a feeling they might take a hard line on it. If you check around most experienced users will tell you not to run X as root. Granted, you do whatever you want, it is your system. Apparently Ubuntu has set something in place to override you; no idea what it is as I am one of those who runs root only when needed and even then as su or sudo.

I honestly do not understand your need to do this as root, you can test, change, swap your DE as a normal user and ensure nothing breaks as well. I just don't get why you want to do it. But, again, your choice.

I wish I had the answer for you but I do not run Ubuntu, I have Fedora on one and Slackware on another. If you want ultimate freedom run Slackware.
 
Old 04-17-2012, 08:04 PM   #24
ulkoma
Member
 
Registered: Feb 2012
Distribution: CentOS
Posts: 69

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jkirchner View Post

I honestly do not understand your need to do this as root
there is no need, I just want to understand the flow of the process and what part of the system is responsible for this issue

I cant find enough info about LightDM, I have a feeling that it's my target
 
Old 04-17-2012, 08:10 PM   #25
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Posts: 765

Rep: Reputation: 196Reputation: 196
Are you trying to load a different desktop environment or a new display manager? Are you trying to replace the 11.10 GDM with LightDM? LightDM is a display manager and will not replace the unity desktop.

If you want to change the display manager this might help: http://linuxandfriends.com/2008/09/0...-ubuntu-linux/

Last edited by jkirchner; 04-17-2012 at 08:12 PM.
 
Old 04-17-2012, 09:07 PM   #26
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,136

Rep: Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157
Quote:
Originally Posted by ulkoma View Post
They threw this in my face
Try joining the Toyota forum and your first post is "how do I disable the airbag on my corolla?" and see what the moderators say.

I really don't understand your obsession with doing this incredibly inadvisable thing. Certainly the manufacturer of any product is not obligated to host unsafe how-to's on their moderated official support forums. "How do I put an eye out with your lawn dart?"
 
1 members found this post helpful.
Old 04-18-2012, 04:07 AM   #27
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
When you'll get into the login screen there is a gear icon, click on that gear icon it will list the options for DE. If gnome or KDE is not there then you can install gnome and KDE desktop environment. I'm attaching an image, you can see that.
Attached Thumbnails
Click image for larger version

Name:	13.jpg
Views:	4
Size:	12.9 KB
ID:	9471  
 
1 members found this post helpful.
Old 04-18-2012, 04:16 AM   #28
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Open a shell and run -

Code:
$ sudo apt-get install gnome-shell
Once installed, you have to reboot. After the reboot, on the login window select Gnome classic.
See the first attachment, Ubuntu login screen. Similarly you can install kde desktop environment and during login you can choose that.
Have a look at another image, choosing kde plasma workspace.
Good Luck!
Attached Thumbnails
Click image for larger version

Name:	ubuntu_11.10_login_sm.jpg
Views:	5
Size:	36.7 KB
ID:	9472   Click image for larger version

Name:	KDE SC 4.8 _4.jpg
Views:	5
Size:	20.5 KB
ID:	9473  
 
1 members found this post helpful.
Old 04-18-2012, 07:10 AM   #29
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
The thing is that these desktop managers become available to the user who installed them. If you installed them while you were logged in as root then they will be ready for that user to run them

If you installed them while you were running a session as your normal user then these applications will be ready to be used for that user.

If you want to understand how to set up and run the X11 server you can try by installing a distro like Arch Linux or even FreeBSD so you can pack your system with the apps you want!

Good luck to you.
 
Old 04-18-2012, 11:02 AM   #30
ulkoma
Member
 
Registered: Feb 2012
Distribution: CentOS
Posts: 69

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TroN-0074 View Post
The thing is that these desktop managers become available to the user who installed them. If you installed them while you were logged in as root then they will be ready for that user to run them
You are a genius! however that does not explain the entire problem
I've installed GNOME from a user account WITH gdm and it did NOT work ---> then followed TroN-0074's advice
I've installed GNOME from the root account WITH gdm and it worked
I've installed GNOME from the root account WITH lightdm and it did NOT work

again I still think it's lightdm's fault

I am getting closer to determine the component that is altering the process of assigning a DE to the root account

This forum is amazing!
 
  


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
[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 01: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 11:54 PM
[SOLVED] Change root password in ubuntu basheer Ubuntu 2 07-24-2010 02:28 PM
how to change the root password in ubuntu 10.04 basheer Ubuntu 2 07-23-2010 06:08 AM
How do I change document root in apache2 in Ubuntu? leemoreau Linux - Networking 4 03-30-2005 07:18 AM


All times are GMT -5. The time now is 02:53 PM.

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