Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm running xubuntu, and removed xfce from the software manager (face palm) while trying to clear up space (I believe this is what I did since I cant find any trace of xfce in the terminal). At the time it didn't affect anything. When I restart my computer the ubuntu load screen comes on like normal, then the log-in screen. When I enter my password a text box pops up that says ":unable to launch "startxfce4" x session --- "startxfce3" not found; falling back to default session." Upon pressing okay, another text box pops up that says "failed to load session gnome" with the only option to log out. I'm stuck trying to re-install any gui from the terminal. Also my internet is a wireless network that only works after logging into the internet provider's site, which I'm not sure I can do without a gui. Any ideas or suggestions?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

One thing you can do is to (use another computer to) download all the packages for xubuntu that you've uninstalled, from Ubuntu server into a flash drive and boot Ubuntu in the recovery mode (When you see the boot menu, choose the item right below the default item). Then you can install the packages from command line.

If you have a cd drive, you can also try apt-cdrom.

It's a good idea to have a small partition on your hard drive and install (another copy of) ubuntu to it for the rough days, so in a situation like this you can boot from that partition and repair the main installation/partition.

share|improve this answer
    
That's a good idea. Will do next time. Btw if I have an iso image of windows in my downloads, can I mount it from the terminal? And install it from there as a dual package? –  cmaniak Feb 8 at 7:33
    
I think yes, but you'd better do this using an Ubuntu live disk because you first need to repartition your hard drive. Then you can mount the iso image using, say, gisomount. –  Reza Feb 8 at 7:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.