This is my first question here. First I should state that I am a bit of a newbie to linux. I was trying to install KDE 5 Plasma in an Ubuntu 15.10 installation on my Dell XPS L502x laptop. When I first installed Plasma Desktop, I noticed some graphics bugs, one of them being a lag in the mouse movement leaving a trailing "after image" (Sorry if this isn't the right term). So I thought to reinstall it by removing KDE desktop completely. But now, after I installed it again, I get a black screen with this Installation error "All Shell Packages Missing". I am able to open "Yakuake" though since I set it to auto start on startup. Can anyone give me some suggestions to rectify this?
PS: GNOME still works fine. I am able to login to it and there are no errors.
Edit: I am attaching the log of the startx command here