I think you may have tried to run a gui editor as root, and the access denied you are seeing is because root is denied access to the screen, rather than being able to access the file itself. The solution in this case is to start a gui editor preceding the command with "kdesu", or a console text editor (like vim or emacs) preceding the command with `sudo'.
Another option is to use Cups web interface to edit the file. Enter "http://localhost:631" in the browser.
Select the "Administration" tab. Click the "Edit Configuration File". After making your changes, click save. You will be asked for the username and password. Enter the user "root" and the root password to save your changes.
Please don't log into KDE or Gnome as root. Do so only if it is impossible to log in as a normal user.
Last edited by jschiwal; 04-30-2011 at 11:52 AM.
|