im not the owner cant edit xorg.conf

Asked by JB LARSON

I WANT TO BE OWNER I HAV TO CHANGE XORG.CONF
I NEED TO CHANGE "VERTREFRESH 43-60" TO 43 ONLY
ITS A VERY OLD MONITER BUT WORKS WELL AT 43
as the sys boots the moniter works untill the logon screen
then it looses h synk scramble screen
i put a newer mon on it and tryed to change vertrefresh
i try to change atrib on file it tells me that I'm not the owner!!! What can I do to be owner ?

jeff noob 1 day old

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
JB LARSON
Solved:
Last query:
Last reply:
Revision history for this message
Rich Johnson (nixternal) said :
#1

You need to open the file as an administrator (ie, root or sudo).

From the command line type:
sudo nano /etc/X11/xorg.conf

From within KDE do:
Alt+F2
Type in -> kdesu kwrite /etc/X11/xorg.conf
Press OK or hit Enter

From within GNOME do:
Alt+F2
Type in -> gksu gedit /etc/X11/xorg.conf
Press OK or hit Enter

Revision history for this message
JB LARSON (jefflarson) said :
#2

its not getting file into editer
i have read permissions but no write permissions
i can see file in nano but cannot edit i try to type and no caricters are inserted

i installed under jbl + password
i should be king owner but no joy
cant write

Revision history for this message
Ralph Janke (txwikinger) said :
#3

If you use one of the ways described above, you have write permission.

In Ubuntu the account you enter during installation is not an Admin account as i.e. in Windows. This is done in order to protect the system.

Any change you want to do that needs system administration permission must be done with sudo (or its equivalents for KDE kdesu or GNOME gksu) in order to have the appropriate rights.

I hope this helps

Revision history for this message
williamts99 (williamts99) said :
#4

Also, please make sure that you are typing it in correctly as Linux is case sensitive.

/etc/X11/xorg.conf
/ETC/x11/xorg.conf
/etc/X11/Xorg.conf
are all different files

Please ensure that you care using
/etc/X11/xorg.conf

Best Regards,
Williamts99

Revision history for this message
JB LARSON (jefflarson) said :
#5

hiya

the problem is not opening the file thats easy
i can view the file in nano i just cant make changes
im not the owner cant change file attrib
i installed with user name jbl password 000D00
that should make me admin king but no it seems im classified as a low
level user
with no write permissions

how do i log on as owner or change my account to owner level

ill reinstall if i have to

jeff

Revision history for this message
williamts99 (williamts99) said :
#6

Sure if you do not belong to the admin group, you can easily add yourself to the admin group by booting into the recovery mode
https://wiki.ubuntu.com/RecoveryMode
and then issuing the command
addgroup username admin

where username is of course your username.

Though you didn't mention that you were getting an error when using sudo so it would seem that you are already there.
You might want to have a read through https://help.ubuntu.com/community/RootSudo

Also, when you were done editing, what command did you use to save your edits?

Best Regards,
Williamts99

Revision history for this message
Best JB LARSON (jefflarson) said :
#7

OK

GREAT ITS FIXED

 THANKS ALL

Revision history for this message
thebug (windsorbug) said :
#8

I tried all these and nothing worked!!!!!!!!!! Keep getting access denied!!! Anyone know the English way , like for SUPER dummies!!!!!! new to ubundu!!