Find the answer to your Linux question:
Results 1 to 4 of 4
hello all. i'm new to linux and need some help getting my machine setup. i'm running the ubuntu based Green OS and cant get my video card properly configured. i've ...
  1. #1
    wtf
    wtf is offline
    Just Joined!
    Join Date
    May 2010
    Posts
    2

    Editing xorg.conf?

    hello all. i'm new to linux and need some help getting my machine setup. i'm running the ubuntu based Green OS and cant get my video card properly configured. i've already gone through the forums to figure out what i need to do to get my ATI card working but my system wont let me access the xorg.conf file. i can see it using the the GOS file editor but it wont let me save the modifications. when i attempt to edit from a terminal window with su privelages it tells me that /etc/x11/xorg.conf does not exist. i've even tried booting into recovery mode and using the root instead of the sudo command. nothing i've tried will let me open the file. Can anyone help me with this? any input would be greatly apprciated. thank you

  2. #2
    wtf
    wtf is offline
    Just Joined!
    Join Date
    May 2010
    Posts
    2
    ok. so a few people have read my post but no one has responded yet so maybe it will help if i show you what's going on.

    josh@Linus:~$ cd /etc/x11
    bash: cd: /etc/x11: No such file or directory
    josh@Linus:~$ cd /
    josh@Linus:/$ cd /etc/x11
    bash: cd: /etc/x11: No such file or directory
    josh@Linus:/$ cd /etc
    josh@Linus:/etc$ dir
    acpi group pam.conf
    adduser.conf group- pam.d
    adjtime grub.d pango
    aliases gshadow papersize
    alternatives gshadow- passwd
    anacrontab gtk-2.0 passwd-
    apm hal pcmcia
    apparmor hdparm.conf perl
    apparmor.d hesiod.conf pnm2ppa.conf
    apport host.conf popularity-contest.conf
    apt hostname power
    at.deny hosts ppp
    avahi hosts.allow printcap
    bash.bashrc hosts.deny profile
    bash_completion hotplug protocols
    bash_completion.d hp pulse
    belocs inetd.conf purple
    bindresvport.blacklist init.d python
    blkid.tab initramfs-tools python2.5
    bluetooth inputrc rc0.d
    bogofilter.cf iproute2 rc1.d
    bonobo-activation issue rc2.d
    brlapi.key issue.net rc3.d
    brltty java rc4.d
    brltty.conf kernel-img.conf rc5.d
    calendar laptop-mode rc6.d
    chatscripts ldap rc.local
    compizconfig ld.so.cache rcS.d
    console-setup ld.so.conf readahead
    console-tools ld.so.conf.d resolvconf
    cron.d lftp.conf resolv.conf
    cron.daily libao.conf rmt
    cron.hourly libgda-3.0 rpc
    cron.monthly libpaper.d samba
    crontab locale.alias sane.d
    cron.weekly localtime scim
    cups logcheck screenrc
    dbus-1 login.defs scrollkeeper.conf
    debconf.conf logrotate.conf securetty
    debian_version logrotate.d security
    default lsb-base services
    defoma lsb-base-logging.sh sgml
    deluser.conf lsb-release shadow
    devfs ltrace.conf shadow-
    dhcp3 magic shells
    dictionaries-common magic.mime skel
    discover.conf mailcap sound
    discover.conf-2.6 mailcap.order ssh
    discover.d manpath.config ssl
    dpkg mediaprm sudoers
    emacs menu-methods sysctl.conf
    environment mime.types syslog.conf
    esound mke2fs.conf terminfo
    event.d modprobe.d timezone
    fdmount.conf modules ucf.conf
    firefox modutils udev
    fonts mono uniconf.conf
    foomatic motd updatedb.conf
    fstab motd.tail update-notifier
    fuse.conf mtab usplash.conf
    gai.conf nanorc vim
    gamin Net w3m
    gconf netscsid.conf wgetrc
    gdm network wodim.conf
    gimp NetworkManager wpa_supplicant
    gnome networks wvdial.conf
    gnome-app-install nsswitch.conf X11 <---- THERE IT IS. IT DOES EXIST
    gnome-system-tools ntp.conf xdg
    gnome-vfs-2.0 openalrc xml
    gnome-vfs-mime-magic openoffice zsh_command_not_found
    groff opt
    josh@Linus:/etc$ sudo su
    root@Linus:/etc# cd /x11
    bash: cd: /x11: No such file or directory

    root@Linus:/# gedit /etc/x11/xorg.conf

    (gedit:6294): GnomeUI-WARNING **: While connecting to session manager:
    Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

    after it displays that last message gedit opens up a blank document. if i open up the file system folder i can navigate to x11 and view the xorg.conf file but i cant write to it. i tried to copy it and paste it (with changes) to the blank file created by gedit but when i try to save with as a root user it wont let me have access to the x11 folder.

    What am i doing wrong??

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Hi and Welcome !

    Its a Capital X in X11.

    If you are using Terminal to edit file then use nano text editor instead of Gedit.
    Code:
    nano /etc/X11/xorg.conf
    Or
    Press Alt+F2 and type this
    Code:
    gksu gedit /etc/X11/xorg.conf
    It will open xorg.conf file in Gedit with root privileges.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Just Joined! Feeyo's Avatar
    Join Date
    Apr 2010
    Posts
    54
    Hi and welcome,

    Like he said it is a capital X. try executing:
    Code:
    aticonfig --initial -f
    This will create a new xorg.conf.

    Then restart X:
    Code:
    /etc/init.d/gdm restart

Posting Permissions

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