Results 1 to 9 of 9

Thread: removed x.org,stuck in terminal

  1. #1
    Join Date
    Dec 2009
    Location
    I.E socal
    Beans
    428
    Distro
    Ubuntu 12.04 Precise Pangolin

    removed x.org,stuck in terminal

    i was trying to reconfigure xorg, i removed it now im stuck in the terminal
    tried different commands.but nothing is helping.
    is there anyway i could save some data?
    thinking reinstall.

  2. #2
    Join Date
    Apr 2010
    Location
    England
    Beans
    3,286

    Re: removed x.org,stuck in terminal

    How did you remove it?

    It's worth noting that Linux will continue to work fine without xorg, so there's no need to reinstall the whole OS, just reinstall the packages you removed. The command line application for installing packages is:

    Code:
    sudo apt-get install <package name>
    If you just removed xorg, reinstall with

    Code:
    sudo apt-get install xorg
    Reconfiguring it depends on what graphics drivers you have installed.

    If you're an nvidia user, run:
    Code:
    sudo nvidia-xconfig
    Otherwise, you can get a generic xorg configuration by running:
    Code:
    sudo mv /etc/xorg/xorg.conf /etc/xorg/xorg.conf.old && Xorg -configure
    Last edited by WorMzy; September 10th, 2010 at 05:51 PM.
    http://xkcd.com/293/
    There are 10 kinds of people in this world: Those who understand ternary, those who don't, and those who confuse it with binary.

  3. #3
    Join Date
    Dec 2009
    Location
    I.E socal
    Beans
    428
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: removed x.org,stuck in terminal

    when chosing to install, i get messages failed to fetch. maybe run apt-get update
    when i run apt-get update iget failed to fetch again.

    how do i check how im connected?
    i have an ethernet and wireless card .

  4. #4
    Join Date
    Dec 2009
    Location
    I.E socal
    Beans
    428
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: removed x.org,stuck in terminal

    nvidia-xconfig =gtk warning cannot open display
    sudo mv /etc/xorg/xorg.conf. /etc/xorg/xorg.conf.old && x= no such file or directory

  5. #5
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: removed x.org,stuck in terminal

    try (if nvidia-driver installed)

    Code:
    sudo nvidia-xconfig

  6. #6
    Join Date
    Apr 2008
    Location
    Germany - Berlin
    Beans
    340

    Re: removed x.org,stuck in terminal

    Quote Originally Posted by soryu View Post
    when chosing to install, i get messages failed to fetch. maybe run apt-get update
    when i run apt-get update iget failed to fetch again.

    how do i check how im connected?
    i have an ethernet and wireless card .
    You probably aren't connected. Easiest solution is: Get a network cable, plug it into your router and execute 'sudo dhclient eth0' on the console/terminal.
    If that doesn't work try eth1 instead of eth0.
    If that doesn't work either you should give us information like:
    sudo iwconfig
    sudo ifconfig

  7. #7
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: removed x.org,stuck in terminal

    If you not have ATI or Nvidia driver installed,you could simply delete xorg.conf (no need for it since 9.10)...

    Code:
    sudo rm /etc/X11/xorg.conf
    Code:
    sudo reboot

  8. #8
    Join Date
    Dec 2009
    Location
    I.E socal
    Beans
    428
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: removed x.org,stuck in terminal

    Quote Originally Posted by Gunman1982 View Post
    You probably aren't connected. Easiest solution is: Get a network cable, plug it into your router and execute 'sudo dhclient eth0' on the console/terminal.
    If that doesn't work try eth1 instead of eth0.
    If that doesn't work either you should give us information like:
    sudo iwconfig
    sudo ifconfig


    not connected that was it.
    updating and installing xorg, rebooting hope it worked.

  9. #9
    Join Date
    Dec 2009
    Location
    I.E socal
    Beans
    428
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: removed x.org,stuck in terminal

    thank you everyone for you're input.
    i was searching sites for 1 hr.
    30min on the foums thanks.

Bookmarks

Posting Permissions

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