Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-21-2012, 10:10 AM   #1
LQ Newbie
Registered: Feb 2012
Posts: 2

Rep: Reputation: Disabled
I broke my linux :( I did apt-get remove zenity. Now my desktop is missing.

Hi Everyone.

I hope someone can be kind enough to help me. Before we start, I'm a total noob and a luzer. I know already so you don't have to tell me. So now that's out of the way...

I'm not entirely sure if this is what caused this mess but this is what I think happened.

I'm trying to learn backtrack linux for my wannabe security pro endeavors. I got it set up and working the way I like it.

For an irrelevant reason I downloaded and ran the script on this page

The application it installed didn't work (said it had to be root when it already was) So I became bored and decided I wanted to uninstall. I looked inside the script and it said the line...

xterm -title 'Install zenity' -e "sudo apt-get update && sudo apt-get install -q -y zenity"

So because I'm such a spanner and a div, I figured to uninstall I had to run...

"apt-get remove zenity"

When zenity was removing I saw it removed lots of other things like "gnome" and stuff that I figured I might actually need. Realising (or rather guessing) I might have done something stupid, I ran

"apt-get install zenity"

Everything seemed to be working fine. I left my laptop on overnight and came back to it the next day. For some reason the Internet wouldn't connect so I decided to restart the computer.

That's when I ran in to problems. I ran the startx command like usual but rather than giving me my usual desktop I was instead presented with a black screen and a little cyan box in the top left hand corner divided up in to four. None of my panels were present including the regular menu panel with the clock and everything. Left clicking gives me a menu I have never seen before with "Applications, FVWM Modules, Games, Help, Window Managers" I tried the games but they were all totally lame. I then looked at "window Managers" but the only option inside was FVWM1 and that didn't seem to do much...I discovered that by selecting Applications/File Management/Nautilus, I can get it to load my background and give me a file manager type window that I could use to find the word "zenity" from the file I ran last night.

In addition to linux savvy and common sense, I think I might be missing a default "window manager" or something. What do I need to type in to terminal to get my backtrack linux back to the way it was (or something close to it). That is the standard panels and menus that it starts with out of the box.

Thanks in advance to anyone kind enough and smart enough to help.


Old 02-21-2012, 11:16 AM   #2
Registered: Jun 2011
Location: Chester, SC
Distribution: Slackware Current
Posts: 123

Rep: Reputation: 26
I believe KDE is the default desktop. Try apt-get kde. This should replace anything you inadvertently removed, though it may pull in a few extras (you can deal with those later). Typically, Debian style package management will then automatically set the new desktop environment as the default. If not, you will have to edit the xinitrc.
Old 02-24-2012, 09:25 AM   #3
LQ Newbie
Registered: Feb 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi liberalchrist,

Thank you for getting back to me. I'm afraid apt-get kde didn't help. It said "kde has no installation candidate" or something. It doesn't matter now anyway though. I nuked the computer and did a fresh re-install.

Thanks anyway.


1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] I broke apt-get again smeezekitty Linux - Newbie 17 03-30-2010 08:45 PM
Broke my Apt-get ecturkum Linux - Newbie 8 02-28-2007 07:08 AM
HELP! I broke APT cerealdaemon Ubuntu 4 04-29-2006 11:03 PM
apt-get broke! jon_k Linux - Software 1 11-07-2004 03:14 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration