PDA

View Full Version : [lubuntu] cannot stat /etc/X11/xorg.conf



whatthefunk
December 11th, 2010, 08:04 PM
I've just done a fresh install of Lubuntu 10.10 on an older Sony Vaio laptop. Having learned the hard way about editing xorg files, I wanted to create a backup of the xorg.conf file so that I dont have to do another install when I screw everything up. In a terminal, I typed


sudo cp /etc/X11/xorg.conf /ect/X11/xorg.conf.911

I got the error message


cp: cannot stat `/etc/X11/xorg.conf': No such file or directory

Hmmm.... What does that mean? How can I make a backup? Thanks.

StephenDavison
December 11th, 2010, 08:27 PM
It means there is no xorg.conf. That file is generally no longer needed by the X server. I think Ubuntu 9.04 was the last time I saw it (but I skipped 9.10).

whatthefunk
December 11th, 2010, 08:38 PM
Thanks StephenDavison. So if I need to edit configuration files, but want to make backups of the originals first, what should i do?

bobcollard
December 11th, 2010, 08:46 PM
Thanks StephenDavison. So if I need to edit configuration files, but want to make backups of the originals first, what should i do?
If you are hard core, you can create another xorg.conf, make it executable and create your own settings, no guarantees they will all overide the current system though. Suggest you do a search on the forum to see what replaced xorg.conf. I don't mess with settings.

StephenDavison
December 11th, 2010, 08:46 PM
you might try
http://ubuntuforums.org/showthread.php?t=670645
or
http://www.osguides.net/operation-systems/217-how-to-create-xorgconf-in-ubuntu-910.html

whatthefunk
December 12th, 2010, 12:15 AM
you might try
http://ubuntuforums.org/showthread.php?t=670645
or
http://www.osguides.net/operation-systems/217-how-to-create-xorgconf-in-ubuntu-910.html

Those two aren't working.

I typed this into a terminal and rebooted.


sudo dpkg-reconfigure -phigh xserver-xorg

Same error message after reboot.

For the second link, it suggests


sudo service gdm stop

This give me this error message:


gdm: unrecognized service

whatthefunk
December 12th, 2010, 12:16 AM
If you are hard core, you can create another xorg.conf, make it executable and create your own settings, no guarantees they will all overide the current system though. Suggest you do a search on the forum to see what replaced xorg.conf. I don't mess with settings.

Thanks bobcollard. How do I go about doing that?

bobcollard
December 12th, 2010, 02:30 AM
Thanks bobcollard. How do I go about doing that?
Sorry, I never worked with Lubuntu and don't know my way around that system. Hope someone else can help you out. I have a feeling it does not use GDM (Gnome Desktop Manager)

kgarbutt
December 12th, 2010, 02:44 AM
I've just done a fresh install of Lubuntu 10.10 on an older Sony Vaio laptop. Having learned the hard way about editing xorg files, I wanted to create a backup of the xorg.conf file so that I dont have to do another install when I screw everything up. In a terminal, I typed


sudo cp /etc/X11/xorg.conf /ect/X11/xorg.conf.911

I got the error message



Hmmm.... What does that mean? How can I make a backup? Thanks.

You typed: /ect/X11... When you should have typed /etc...