Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
i am setting up compiz and i need to change the xorg.conf but it will not allow me to open it even with root access...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! georanson's Avatar
    Join Date
    Aug 2007
    Posts
    66

    how do i change a root text document


    i am setting up compiz and i need to change the xorg.conf but it will not allow me to open it even with root access

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    You should be able to go to a console or terminal as a regular user, su to root, then use the following command to edit the file:

    Code:
    nano /etc/X11/xorg.conf
    If it doesn't work when using su try using su - instead.

    Post the output of any error messages.
    oz

  3. #3
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    How exactly are you trying to edit the file?
    What command did you use?
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined! georanson's Avatar
    Join Date
    Aug 2007
    Posts
    66
    Next problem.. im sory for all the newb qustions im kinda new to the comand prompt and compiz im also more into server setup than desktop

    Code:
    debian:/home/georanson# compize --replace
    bash: compize: command not found
    debian:/home/georanson# compiz --replace
    X Error of failed request:  BadAlloc (insufficient resources for operation)
      Major opcode of failed request:  142 (GLX)
      Minor opcode of failed request:  3 (X_GLXCreateContext)
      Serial number of failed request:  16
      Current serial number in output stream:  17
    /usr/bin/compiz.real: SmcOpenConnection failed: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
    /usr/bin/compiz.real: No GLXFBConfig for default depth, this isn't going to work.
    /usr/bin/compiz.real: Failed to manage screen: 0
    /usr/bin/compiz.real: No manageable screens found on display :0.0
    debian:/home/georanson#

  6. #5
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    I'm a bit confused by what you posted above because that doesn't look at all like an error message that might result from running the command I posted for you that should allow you to edit the xorg.conf file:

    nano /etc/X11/xorg.conf
    oz

  7. #6
    Just Joined! georanson's Avatar
    Join Date
    Aug 2007
    Posts
    66
    i ran the command u gave me to edit my xorg.conf for compiz and now compiz wont run even though i followed the how to correctly

  8. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Which Graphics Card do you have and which tutorial are you following?
    Execute this
    Code:
    su -
    lspci | grep -i VGA
    cat /etc/X11/xorg.conf | grep -i driver
    Post output here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #8
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    Quote Originally Posted by devils_casper View Post
    Which Graphics Card do you have and which tutorial are you following?
    Execute this
    Code:
    su -
    lspci | grep -i VGA
    cat /etc/X11/xorg.conf | grep -i driver
    Post output here.
    You should be able to grep from a file without first using cat e.g.
    Code:
    grep -i driver /etc/X11/xorg.conf
    georanson, you didn't mention which distro you are using, the graphics card on your system and how you installed compiz. These things are important in order for you to get good responses right from the start.

  10. #9
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Quote Originally Posted by daark.child
    You should be able to grep from a file without first using cat e.g.
    Code:
     grep -i driver /etc/X11/xorg.conf
    Thanx but does it make any difference. I have a habit of executing that command only.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  11. #10
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    Quote Originally Posted by devils_casper View Post
    Thanx but does it make any difference. I have a habit of executing that command only.
    There are obviously many ways of killing a cat. If you prefer using cat first even though there is no need for it, then its obviously your choice. I personally think its going about things in a round about way. Its similar to people who cat something and then use less when you could just use less on its own.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •