This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Reinstalling kde without reinstalling everything

Tags: None
(comma "," separated)
HarryHaler
Registered Member
Posts
3
Karma
0
OS
Hi mates,

I'm having some troubles with my kubuntu. Yesterday I finished my session, switched up my computer and went to sleep. Today, when I tried to access to kubuntu, I typed my password and it didn't do anything. It just got frozen when trying to get to desktop.

I asked a friend of my, and he told me what to do, but it didn't work. I have saved all my data in a HDD using a LiveCd, so I wouldn't mind reinstalling the whole OS, but I hope that there's a less "violent" solution. Would it work just reinstalling kde?

Thank you so much! (And forgive my english if it's bad! o) )
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
And you can reproduce this freezing every time?

In the best case you don't need to reinstall everything, let's start looking for what's wrong. Does the mouse and keyboard freeze as well? How does the screen look like? (I.e. is it "frozen", or just a black screen?) Can you login with another user?


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
HarryHaler
Registered Member
Posts
3
Karma
0
OS
Hi everybody!

Thank you so much Hans for answering. I'm going to tell you what happens: it just gets frozen everytime I type my password in the KDM. I seems that it gets my pasword right, but then, while there's that small window whith some icons before Desktop, i gets frozen in the firts (which seems to be the Hard disk).

I told a friend of my, the one who helped me installing Kubuntu some years ago, and he told me that it seemed a problem in the configurations. He told me to open the console and type something like
"mv ./kde ./kdebak"
and then restart the kdm.

What happened then is that, after typing my password in the kdm, a message appeared in the upper-left corner, telling me that there was an error. Something like error number 3. This time no "little window with icons" (I don't know if this little window has a name...) appears.

What is the best thing to do? I have saved all the files in a HDD, so I would mind re-installing the whole Kubuntu. This would be, for sure, the fastest way to solve the problems. However I'd like to learn if there's another way to do it, more intelligent than simply going back to the beggining.

Thank you all.
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
Sorry for the late reply, my Internet connection has been quite unstable lately.

What you did with the command was to move your settings for KDE software, i.e. the settings are reset to default. It's strange that you get another error message after that.

Another way to test if it's a configuration error is to create a completely new user and see if you can login with it. You can do it with the following command:

Code: Select all
useradd -m -G users,audio,optical,storage,video -s /bin/bash newuser
passwd newuser


where -G specifies which groups the user is added to (in the example above: users, audio, optical, storage and video). The second commands lets you set a password for the new user.

I'm not a Kubuntu user so I don't know the best way to reinstall KDE. How did you install KDE - from an Ubuntu installation or directly from Kubuntu?

If nobody else answers and you're willing to try anything ( ;) ), here are some instructions I found: (note that you should use one of the following methods)

Option 1. Using the kubuntu-desktop metapackage:
Code: Select all
sudo apt-get remove kubuntu-desktop
sudo apt-get install kubuntu-desktop


Option 2. Manually removing packages (as suggested here):
Code: Select all
sudo apt-get remove akonadi-server akregator amarok amarok-common amarok-utils apport-kde apturl-kde ark bluedevil cdparanoia cdrdao docbook-xsl docbook-xsl-doc-html dolphin dragonplayer gdebi-core gdebi-kde gnupg-agent gnupg2 gtk2-engines-qtcurve gwenview hal hal-info ibus-qt4 icoutils jockey-kde k3b k3b-data kaddressbook kamera kate kcalc kde-config-gtk kde-config-touchpad kde-window-manager kde-zeroconf kdebase-bin kdebase-data kdebase-runtime kdebase-runtime-data kdebase-workspace kdebase-workspace-bin kdebase-workspace-data kdebase-workspace-kgreet-plugins kdegraphics-libs-data kdegraphics-strigi-plugins kdelibs-bin kdelibs5 kdelibs5-data kdelibs5-plugins kdemultimedia-kio-plugins kdepasswd kdepim-groupware kdepim-kresources kdepim-runtime kdepim-strigi-plugins kdepim-wizards kdepimlibs-kio-plugins kdesudo kdm kdoctools kfind khelpcenter4 kinfocenter klipper kmag kmail kmix kmousetool knm-runtime knotes konsole kontact kopete kopete-message-indicator korganizer kpackagekit kppp krdc krfb krosspython ksnapshot ksysguard ksysguardd ksystemlog ktimetracker ktorrent ktorrent-data kubuntu-debug-installer kubuntu-default-settings kubuntu-desktop kubuntu-docs kubuntu-firefox-installer kubuntu-konqueror-shortcuts kubuntu-netbook-default-settings kubuntu-notification-helper kvkbd kwalletmanager language-selector-qt libakonadi-contact4 libakonadi-kabc4 libakonadi-kcal4 libakonadi-kde4 libakonadi-kmime4 libakonadiprivate1 libao-common libao4 libattica0 libaudio2 libbluedevil1 libboost-program-options1.42.0 libcln6 libclucene0ldbl libdbusmenu-qt2 libdebconf-kde0 libdirectfb-1.2-9 libepub0 libflac++6 libgif4 libgpgme++2 libgps19 libhal-storage1 libhal1 libibus-qt1 libilmbase6 libindicate-qt0 libiodbc2 libk3b6 libkabc4 libkatepartinterfaces4 libkblog4 libkcal4 libkcddb4 libkdcraw8 libkde3support4 libkdecorations4 libkdecore5 libkdepim4 libkdesu5 libkdeui5 libkdewebkit5 libkdnssd4 libkephal4 libkexiv2-8 libkfile4 libkholidays4 libkhtml5 libkimap4 libkimproxy4 libkio5 libkipi7 libkjsapi4 libkjsembed4 libkldap4 libkleo4 libkmediaplayer4 libkmime4 libknewstuff2-4 libknewstuff3-4 libknotifyconfig4 libkntlm4 libkonq5 libkonq5-templates libkontactinterface4 libkopete4 libkparts4 libkpgp4 libkpimidentities4 libkpimtextedit4 libkpimutils4 libkpty4 libkresources4 libkrosscore4 libkrossui4 libksba8 libkscreensaver5 libksgrd4 libksieve4 libksignalplotter4 libktexteditor4 libktnef4 libktorrent-l10n libktorrent2 libkunitconversion4 libkutils4 libkwineffects1a libkworkspace4 libkxmlrpcclient4 liblastfm0 libloudmouth1-0 libmailtransport4 libmessagecore4 libmessagelist4 libmicroblog4 libmimelib4 libmng1 libmodplug1 libmpcdec6 libmsn0.3 libmysqlclient16 libnepomuk4 libnepomukquery4a libokularcore1 libopenexr6 libotr2 libpackagekit-glib2-14 libpackagekit-qt-14 libphonon4 libplasma-geolocation-interface4 libplasma3 libplasmaclock4b libplasmagenericshell4 libpolkit-qt-1-0 libpoppler-qt4-3 libprocesscore4a libprocessui4a libqalculate5 libqapt-runtime libqapt1 libqca2 libqca2-plugin-ossl libqgpgme1 libqimageblitz4 libqjson0 libqt4-dbus libqt4-designer libqt4-help libqt4-network libqt4-opengl libqt4-qt3support libqt4-script libqt4-scripttools libqt4-sql libqt4-sql-mysql libqt4-sql-sqlite libqt4-svg libqt4-test libqt4-xml libqt4-xmlpatterns libqtcore4 libqtgui4 libqtscript4-core libqtscript4-gui libqtscript4-network libqtscript4-sql libqtscript4-uitools libqtscript4-xml libqtwebkit4 libreadline5 libsolid4 libsolidcontrol4a libsolidcontrolifaces4 libsoprano4 libssh-4 libstreamanalyzer0 libstreams0 libsyndication4 libtag-extras1 libtaskmanager4a libtelepathy-qt4-0 libthreadweaver4 libts-0.0-0 libvirtodbc0 libvncserver0 libweather-ion4a libxcb-shape0 libxcb-xv0 libxine1 libxine1-bin libxine1-console libxine1-misc-plugins libxine1-x libzip1 mysql-client-core-5.1 mysql-common mysql-server-core-5.1 network-manager-pptp-kde odbcinst odbcinst1debian2 okular okular-extra-backends openoffice.org-kde openoffice.org-style-oxygen oxygen-cursor-theme oxygen-icon-theme oxygen-icon-theme-complete packagekit packagekit-backend-aptcc phonon phonon-backend-xine pinentry-gtk2 pinentry-qt4 plasma-dataengines-addons plasma-dataengines-workspace plasma-desktop plasma-netbook plasma-scriptengine-javascript plasma-scriptengine-python plasma-widget-facebook plasma-widget-folderview plasma-widget-kimpanel plasma-widget-kimpanel-backend-ibus plasma-widget-kubuntu-feedback plasma-widget-menubar plasma-widget-message-indicator plasma-widget-networkmanagement plasma-widget-quickaccess plasma-widgets-addons plasma-widgets-workspace plymouth-theme-kubuntu-logo plymouth-theme-kubuntu-text polkit-kde-1 printer-applet python-kde4 python-packagekit python-qt4 python-qt4-dbus python-sip qapt-batch quassel quassel-data rekonq shared-desktop-ontologies smartdimmer software-properties-kde soprano-daemon system-config-printer-kde systemsettings tsconf ttf-dejavu ttf-dejavu-extra update-manager-kde usb-creator-kde userconfig virtuoso-minimal virtuoso-opensource-6.1-bin virtuoso-opensource-6.1-common && sudo apt-get install kubuntu-desktop


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
HarryHaler
Registered Member
Posts
3
Karma
0
OS
Hey Hans!

Thank you very mucho for your reply. These days we're having some holidays in Spain and I've been a bit out of the trouble with kde, so I couldn't answer you before.

I've gone to the website where the second method is explained following your link. Maybe I'll try the first way, to see what happens. However, once removed kde, what will I need to install it again? I mean, will I need an Internet connection or an installation CD or it will just work without any of these things?

Thank you very much!
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
Yes, you need some place to get the packages from. As said I don't use Kubuntu so I don't really know how it works, but here are some information for Ubuntu:
https://help.ubuntu.com/10.10/add-appli ... fline.html
https://help.ubuntu.com/10.10/add-appli ... repos.html

(This is for the 10.10 version.) Instead of System → Administration → Software Sources I think you can use KPackageKit to manage your repositories - if you can use another Session than KDE, that is. Check the Session menu on the login screen if you have any other window manager installed, otherwise you can try to install one, e.g.
Code: Select all
sudo apt-get install openbox openbox-themes


If it doesn't work you can also manage repositories from the terminal, but once again, I don't know which file(s) Ubuntu uses. You would probably receive more useful help if you ask in the Ubuntu forum. Anyway I wish you good luck. :)


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]