How do I log in as Root to fix screen resolution for nvidea problems

Asked by bluey

My screen resolution does not go over 1024x768. I can reset it using "Nvidia Display Settings" via "SYSInfo" and have found that everything looks really neat when set to "1152x864" . But my problem is that is won't retain this setting after restarting.

Do I have to log in as "Root" to save the settings permanently?

If so can someone tell me how to do that, as I am new to all this "Command Line" stuff.

Thanks,
Bluey.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Bhavani Shankar
Solved:
Last query:
Last reply:
Revision history for this message
Murat Gunes (mgunes) said :
#1

You should use the "sudo" command instead of logging in as root. If you need to have root privileges for lots of commands, "sudo -i" can be useful.

For more info, check out https://help.ubuntu.com/community/RootSudo .

Revision history for this message
Best Bhavani Shankar (bhavi) said :
#2

hello bluey..You can use the following command in a terminal to set your video card up (adjusting the various factors (like resolution and so on)..
sudo dpkg-reconfigure xserver-xorg

And if you do not want to answer all the questions but only those which are rated with high priority:

sudo dpkg-reconfigure -phigh xserver-xorg

secondly.. If you want to login as a rootuser do,
$ su
$ password: rootpassword
in case you cant login as root (assuming you havent set your root password) follow these simple steps..
$sudo passwd root
$New Password: typeyourpassword
$Retype password: Again
This will set your root password..

Then you can log in as root by doing as mentioned above,

hope it helps,

br,

Bhavani Shankar.

Revision history for this message
bluey (stringybark) said :
#3

Thanks Bhavani Shankar, that solved my question.

Revision history for this message
bluey (stringybark) said :
#4

Hi Bhavani,
Thanks for that info, it was a great help. I was able to reconfigure my nvidia graphics card using "sudo" and everything is looking good now.

Thanks very much for responding to my question.

Bluey.

Revision history for this message
bluey (stringybark) said :
#5

Hi Murat,
I was able to use the "sudo" commands to reconfigure my nvidia card. Thank you for giving me that advice and also for the Ubuntu link, very helpful. All of us 'newbies' to Ubuntu are on a very steep learning curve but the process is made much easier by the willingness of folks, such as yourself and Bhavani Shankar, in sharing their knowledge. Much obliged.

Bluey.

Revision history for this message
Murat Gunes (mgunes) said :
#6

You're welcome, bluey; you can refer to the official and community maintained documentation at http://help.ubuntu.com in the future when you have problems or are stuck somewhere, and let us know if you have any other problems.

Revision history for this message
Bhavani Shankar (bhavi) said :
#7

no problems bluey... You are always welcome..:)

Revision history for this message
Chris Hunt (coolbiker) said :
#8

Hi Im using virtualbox to experiment with ubuntu and the instructions above did not work for me. I know when I first ran Ubuntu as a live disk it gave me options at the bottom to change settings but they didnt stick and I don't see an option in virtualbox to change the setting to other video sizes(which would probably be my first step in solving this if I could find it). Is there something I'm doing wrong or am I limited to 800x600 in a virtual drive software?

Thanks