Ubuntu 15.04 desktop

Asked by davidzaq1

Hello,

I am having a very strange thing happening to my desktop.
When I log in, my I get a photo that flashes on my desktop for a brief second.
I get a photo of my desktop but it is a half photo and the desktop is inverted;;; upside down.

It is really strange.

Is this image stored in the computer somewhere and needs to be purged out somehow?

Also, is there a registry in Ubuntu similar to windows where there is stored everything that is downloaded into Ubuntu?
My question is...is there a way to clean out broken packages, links, software that had not been completely removed etc?

Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
davidzaq1
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

There is no registry. There is dconf which is kinda similar but doesn't contain information about installed packages etc.

If you run:

sudo apt-get auto-remove

The system will remove orphaned packages. If you run:

dpkg -l | grep ^rc

What is the output?

Revision history for this message
davidzaq1 (david3a9x) said :
#2

Hello,

I ran the above command but said there was no command for auto-rumove.
i tried it using just autoremove and it worked but nothing happened as a result.

I ran the second command and the output is this:

~$ dpkg -l | grep ^rc
rc flashplugin-installer 11.2.202.481ubuntu0.15.04.2 amd64 Adobe Flash Player plugin installer
rc libabw-0.1-1 0.1.0-2 amd64 library for reading and writing AbiWord(tm) documents
rc libavcodec56:amd64 6:11.2-1 amd64 Libav codec library
rc libcmis-0.4-4 0.4.1-7 amd64 CMIS protocol client library
rc libcmis-0.5-5 0.5.0-1ubuntu1 amd64 CMIS protocol client library
rc libe-book-0.1-1 0.1.1-2 amd64 library for reading and converting various e-book formats
rc libeot0 0.01-3 amd64 Library for parsing/converting Embedded OpenType files
rc libfreehand-0.1-1 0.1.0-2 amd64 Library for parsing the FreeHand file format structure
rc libfreerdp1:amd64 1.0.2-2ubuntu1 amd64 RDP client for Windows Terminal Services (library)
rc libgcrypt11:amd64 1.5.4-2ubuntu1.1 amd64 LGPL Crypto library - runtime library
rc libical1 1.0-1 amd64 iCalendar library implementation in C (runtime)
rc libinput0:amd64 0.2.0-2 amd64 input device management and event handling library - shared library
rc libisl10:amd64 0.12.2-2 amd64 manipulating sets and relations of integer points bounded by linear constraints
rc libkidletime4 4:4.14.6-4~ubuntu3 amd64 library to provide information about idle time
rc libkutils4 4:4.14.6-4~ubuntu3 amd64 dummy transitional library
rc libmbim-glib0:amd64 1.8.0-1 amd64 Support library to use the MBIM protocol
rc libmetacity-private1 1:3.12.0-1ubuntu4 amd64 library for the Metacity window manager
rc libminiupnpc8:amd64 1.6-4ubuntu1 amd64 UPnP IGD client lightweight library
rc libmircommon2:amd64 0.8.0+14.10.20141010-0ubuntu1 amd64 Display server for Ubuntu - shared library
rc libmwaw-0.3-3 0.3.4-1 amd64 import library for some old Mac text documents
rc libopenvg1-mesa:amd64 10.3.2-0ubuntu0.1 amd64 free implementation of the OpenVG API -- runtime
rc libpoppler46:amd64 0.26.5-0ubuntu2 amd64 PDF rendering library
rc libprotobuf8:amd64 2.5.0-9ubuntu1 amd64 protocol buffers C++ library
rc libsystemd-daemon0:amd64 208-8ubuntu8.2 amd64 systemd utility library
rc libsystemd-journal0:amd64 208-8ubuntu8.2 amd64 systemd journal utility library
rc libsystemd-login0:amd64 208-8ubuntu8.2 amd64 systemd login utility library
rc libupower-glib1:amd64 0.9.23-2ubuntu2 amd64 abstraction for power management - shared library
rc linux-image-3.16.0-23-generic 3.16.0-23.31 amd64 Linux kernel image for version 3.16.0 on 64 bit x86 SMP
rc linux-image-3.16.0-29-generic 3.16.0-29.39 amd64 Linux kernel image for version 3.16.0 on 64 bit x86 SMP
rc linux-image-3.16.0-37-generic 3.16.0-37.49 amd64 Linux kernel image for version 3.16.0 on 64 bit x86 SMP
rc linux-image-3.19.0-16-generic 3.19.0-16.16 amd64 Linux kernel image for version 3.19.0 on 64 bit x86 SMP
rc linux-image-extra-3.16.0-23-generic 3.16.0-23.31 amd64 Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
rc linux-image-extra-3.16.0-29-generic 3.16.0-29.39 amd64 Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
rc linux-image-extra-3.16.0-37-generic 3.16.0-37.49 amd64 Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
rc linux-image-extra-3.19.0-16-generic 3.19.0-16.16 amd64 Linux kernel extra modules for version 3.19.0 on 64 bit x86 SMP
rc python3-aptdaemon.pkcompat 1.1.1+bzr982-0ubuntu3 all PackageKit compatibilty for AptDaemon
rc thermald 1.3-9 amd64 Thermal monitoring and controlling daemon
rc ttf-punjabi-fonts 1:0.5.14ubuntu1 all Free TrueType fonts for the Punjabi language
rc xserver-xorg-video-modesetting 0.9.0-1build1 amd64 X.Org X server -- Generic modesetting driver

Any help with this would be apreciated.

Thank you,

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

OK let's make Bash do the work:

sudo dpkg -P `dpkg -l | grep ^rc | awkward {'print $2'}`

Should clear some space. The 'rc' bit means removed but residual configuration files are still present.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Sorry. Change the word awkward to just awk.

Stupid autocorrect.

Revision history for this message
davidzaq1 (david3a9x) said :
#5

Hello,

Thank you for the answer but I am still having the problem.
Never did this before and did not do it with previous versions.
The desktop is still being inverted at the log in screen.

What happens is, the computer goes through it initial start up phase and then
goes to the second screen where I put in my user password.
Once I press enter, I get almost a small screen shop of an inverted photo of the desktop
going across the screen. It appears only for a second or two and then disappears and
then I have my regular desktop. After I get the regular desktop, everything else is fine.

I have no issues with the OS, it works good. I only have the inverted desktop for a few seconds and while I do not think it is causing a problem, it is just irritating.

I am wondering, can it be a problem with the graphic driver?

Thank you for your continued help.

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

This sounds as if there is some wrong information transferred from the graphic card to the monitor during initialization.
As it disappears after a second, I would not care too much.

What make and model is your graphic card and monitor? What is the output of

sudo lshw -C display
xrandr

?

Revision history for this message
davidzaq1 (david3a9x) said :
#7

Hello,

Here is the information you requested:

First command:

 *-display
       description: VGA compatible controller
       product: G86M [GeForce 8400M GS]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nouveau latency=0
       resources: irq:28 memory:fd000000-fdffffff memory:f4000000-f7ffffff memory:fa000000-fbffffff ioport:df00(size=128) memory:fea00000-fea1ffff

Second Command:

~$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192
LVDS-1 connected primary 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1280x800 60.0*+
   1024x768 59.9
   800x600 59.9
   640x480 59.4
   720x400 59.6
   640x400 60.0
   640x350 59.8
VGA-1 disconnected (normal left inverted right x axis y axis)

I suppose if we cannot figure out what is causing this, we can just leave it alone
since it seems to be working fine and goes away after a second or two.
It is just really strange.
I have had the 15.04 for a while and it has been fine up to about a week or two ago.
All of a sudden, it was doing this.
I am not sure, but I changed desktop wallpapers and downloaded some from a Ubuntu website. maybe it had something to do with that.

Thank you for the help

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

There is the option to switch from the open source nouveau driver to the proprietary NVidia drivers. Maybe that would change something.

Revision history for this message
davidzaq1 (david3a9x) said :
#9

Ok, maybe this is causing the problem.
I was using the NVidia driver at one point but some how it must have changed over to the nouveau driver. I was using this driver before and had some problem with the OS.
When I use the NVidia driver, I do not have any problems.

Is there a way to change over to the current NVidia driver?

I have to say, there was one NVidia driver that really messed up my computer but I do not remember which one it was. I think it was 340. series. There were reports all over the internet that this was a really bad driver.

But if you can help me to switch to the NVidia driver, I think it will do the trick.

Thank you,

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

What is the output of the command

sudo ubuntu-drivers devices

Revision history for this message
davidzaq1 (david3a9x) said :
#11

Output is:

== /sys/devices/pci0000:00/0000:00:1c.1/0000:0c:00.0 ==
model : BCM4312 802.11b/g LP-PHY (Wireless 1395 WLAN Mini-Card)
modalias : pci:v000014E4d00004315sv00001028sd0000000Bbc02sc80i00
vendor : Broadcom Corporation
driver : bcmwl-kernel-source - distro non-free

== cpu-microcode.py ==
driver : intel-microcode - distro non-free

== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
model : G86M [GeForce 8400M GS]
modalias : pci:v000010DEd00000427sv00001028sd00000228bc03sc00i00
vendor : NVIDIA Corporation
driver : xserver-xorg-video-nouveau - distro free builtin
driver : nvidia-340-updates - distro non-free
driver : nvidia-304-updates - distro non-free
driver : nvidia-304 - distro non-free
driver : nvidia-340 - distro non-free recommended

Revision history for this message
Manfred Hampl (m-hampl) said :
#12

This output shows that you could use the NVidia-304 or NVidia-340 drivers.

To enable that driver use the software & updates tool, switch to the tab "Additional Drivers" and select one of the nvidia drivers, see also http://www.omgubuntu.co.uk/wp-content/uploads/2013/04/drivers.jpg

Revision history for this message
davidzaq1 (david3a9x) said :
#13

I updated the drover to the NVidia driver. System is working great now, no inverted desktop after signing in.

Thanks for your continued support. I really appreciate it.