LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 09-26-2009, 05:51 PM   #1
spellinator
Member
 
Registered: Oct 2007
Location: Dallas, TX
Distribution: CentOS, Ubuntu
Posts: 31

Rep: Reputation: Disabled
Can't Save Dual Monitor Settings


I'm using Ubuntu 9.04 and I'm trying to save my dual monitor settings in my NVIDIA X Server Settings control panel. Under the X Server Display Configuration, when I click the Save to X Configuration File, it gives a Save X Configuration dialog. The path of the config file is /etc/X11/xorg.conf and the "Merge with existing file." option is checked. I click the Save button and I get this: Unable to create a new X config backup file '/etc/X11/xorg.conf.backup'. Is this a rights issue? Do I need to be in su mode to make this change? From the desktop, how do you switch to root access?


Thanks,
Danny
 
Old 09-26-2009, 06:00 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,656
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Hi, yes, you need to be root to change/save files in /etc

Regards Glenn
 
Old 09-26-2009, 06:06 PM   #3
spellinator
Member
 
Registered: Oct 2007
Location: Dallas, TX
Distribution: CentOS, Ubuntu
Posts: 31

Original Poster
Rep: Reputation: Disabled
Here's the "funny" thing...

I don't know the root password, but the funny thing is that I have done successful system updates with my login. So I don't know if I have a root user. I thought I created it at install, but it has been a while and I don't remember what I did. Is there a default root user and if there is, what is the default password?


Thanks,
Danny
 
Old 09-26-2009, 06:19 PM   #4
spellinator
Member
 
Registered: Oct 2007
Location: Dallas, TX
Distribution: CentOS, Ubuntu
Posts: 31

Original Poster
Rep: Reputation: Disabled
Well, I'm Stuck.

I searched for "default root password in Ubuntu" and found out that there is no root password set in Ubuntu as the intent is to never let the user run as root. Okay, fine with me.

Then I found where someone said to do this:
sudo su
And after entering my password, do this:
passwd
Which I realize is how the password is set and since I switched to superuser mode, this made sense. So then I thought I had this worked out, so I logged off, then tried to login as root and was thwarted with the message that root could not be logged in through the the Ubuntu graphical login screen. Okay, so I logged in and opened up the terminal window and went into su mode. Yet, I still can't get the display settings saved. I know, I initiated a new process when I did the su, so while I may have been su mode, it was for the terminal process and not the graphical process. I get it.

So how to fix this? How do I set my display settings and save them? Can I only do it from the terminal by editing the .conf file? If that's the case, then why even have a control panel in GNOME for the display settings?

I'm a little frustrated right now. Not made at anyone, just not happy about the process for this which should be easier IMHO.
 
Old 09-26-2009, 07:23 PM   #5
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
AFAIK, you don't have to (shouldn't) log in as root at a graphical login screen. Log in as normal, open the terminal screen and then log in as root or use sudo to type 'nvidia-settings'. Then you should be able to save your configuration.
 
Old 09-27-2009, 12:05 AM   #6
spellinator
Member
 
Registered: Oct 2007
Location: Dallas, TX
Distribution: CentOS, Ubuntu
Posts: 31

Original Poster
Rep: Reputation: Disabled
Thanks!

Logging in as normal, then doing sudo su and nvidia-settings worked! That's just what I needed.
 
  


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
iptables-save can't save settings Actionscript3 Linux - Software 4 01-29-2009 10:26 AM
How to reset monitor settings to default autodetected settings in openSUSE? chengas123 Linux - General 2 09-17-2008 11:24 AM
settings won't save miner49er Debian 1 04-01-2006 12:27 PM
Saving settings - Dual Monitor Veteq Linux - Software 9 12-24-2005 12:44 AM
How to keep restorable monitor and 3D settings tar backup simple save configurat zaphod111 Linux - Newbie 2 11-08-2003 07:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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