LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 09-27-2015, 06:41 AM   #1
cogitans
LQ Newbie
 
Registered: Jun 2013
Posts: 17

Rep: Reputation: Disabled
Not able to get to desktop


For several days I had an issue about my loudspeakers playing some "bumbs" all the time. So last night I decided to fix it.

So I searched the web for a solution. I ended up trying to edit "/etc/pulse/default.pa" where I did a modification to a single line.

This morning I suddenly couldn't log in to the desktop (Linux Mint 17.2). When I enter my credentials and press enter the screen goes black as usual and after a few seconds the login-screen is shown again. So it's a never ending loop.

So I bootet into Windows 10 instead. Here the sound-issue continued so my "fix" wasn't the correct one (as it wasn't an OS-error). I thought my fix could have disrupted the system (although an edit in that file did NOT sound like the source to my login-problem). I made a backup of the file before I did the editing so I simply restored the original file again.

But the login-issue wasn't fixed.

So I did some new searching on the web. And I tried all of the following:

made sure my password wasn't changed by login in to the terminal through CTRL+ALT+F1
->login still valid

selected both default, cinnamon, cinnamon-"something" as desktop at the login-screen
->all options had the same result

deleted "/etc/X11/xorg.conf"
->not fixed

deleted everything in /tmp
->not fixed

removed compiz
->not fixed

sudo apt-get purge nvidia*
->not fixed

sudo ubuntu-drivers devices
->info that couldn't really be used

sudo add-apt-repository ppa:graphics-drivers
installed nvidia-346-updates from terminal
->reboot -> tried to login -> not fixed. Now only black screen.

So please: what am I to do?

Last edited by cogitans; 09-27-2015 at 03:13 PM. Reason: not detailed enough
 
Old 09-27-2015, 08:30 AM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
I'd log in as root on the first terminal and change the user pass...
By the way (I had that oe too) check to se if the num, caps, shiftlock are on the right setting...
 
Old 09-27-2015, 09:16 AM   #3
cogitans
LQ Newbie
 
Registered: Jun 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
But I'm able to log in to the terminal as that user. So which difference would changing the password have?
If any of the keys like Num Lock is pressed then I would probably receive an error, right? But I don't receive any messages at all when trying to login to the desktop....

Last edited by cogitans; 09-27-2015 at 09:17 AM.
 
Old 09-27-2015, 10:08 AM   #4
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Quote:
But I'm able to log in to the terminal as that user. So which difference would changing the password have?
Ow, interesting detail...
post your /home/[user]/.xinitrc here please...
Chances are that file points to something that does not exist...(anymore)...
 
Old 09-27-2015, 11:39 AM   #5
cogitans
LQ Newbie
 
Registered: Jun 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
I checked /home/user/.initrc
and it was completely empty.

I changed to root to be sure that the file was visible but root couldn't see any content either.
 
Old 09-27-2015, 12:24 PM   #6
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Smile

I noticed that you did delete quite some important stuff, try to restore that for starters....
Code:
/etc/X11/xorg.conf
compiz
nvidia
then reboot, go into the terminal and do a system update:
Code:
sudo apt-get update
sudo apt-get upgrade
reboot
there is a 17.3, I'd go with
Code:
sudo apt-get dist-upgrade
consider some things, like data, do you have a backup? if not, make one...boot up with a live CD (Knoppix come to mind) and mount the external drive along with the hard drive, the rest is a copy-n-paste...yep, a backup CAN be this simple...
Thor
 
Old 09-27-2015, 01:22 PM   #7
cogitans
LQ Newbie
 
Registered: Jun 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
Update:
I tried:
sudo apt-get install --fix-missing
-> nothing happened. Just a new line in the terminal.

sudo dpkg --configure -a
-> nothing happened. Just a new line in the terminal.

So I tried sort of the same approach as a few years ago when I had big problems regarding my Nvidia-driver.
So I tried removing MDM. Then I installed MDM again.
->still not able to login.

Well, then I tried installing GDM.
NOW I was able to login to the desktop. So I removed GDM again and installed MDM
->not able to login.

Installed GDM again and now I'm able to login. So I guess I have to live with this desktopmanager. A pity I can't install a classic menuindicator (I tried but the icon doesn't show up as supposed to).

Is 17.3 out already? I tried a dist-upgrade in the process and that didn't show anything. Well, the new distribution might be the reason for this mess as I experienced my desktop acting strange when an upgrade was released.

But I can't figure out why MDM does NOT work anymore, but GDM does....?

Last edited by cogitans; 09-27-2015 at 01:24 PM.
 
Old 09-27-2015, 01:39 PM   #8
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Quote:
But I can't figure out why MDM does NOT work anymore, but GDM does....?
Hey, you have a pretty scientific aproach here, kudos...
Maybe reviewing what MDM does need instead of GDM. Honestly, I use SLIM (outdated since quite a while) and would like to install MDM, but, it it works, dont fix it
GDM is quite system demanding too, I can totally agree you not really wanting that one since you do HAVE the choices (the creed of Linux: freedom to choose)
So, let's review what MDM needs. However, maybe looking at the logs can help. There should be a system location (/var/log) for that...what errors MDM encoutered...then, you should be able to figure out what was missing for MDM to complete...
I for one am glad your system is functional again, I hate it when something gives and you're left with a black screen...
Thor
 
Old 09-27-2015, 01:44 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
So I bootet into Windows 10 instead. Here the sound-issue continued so my "fix" wasn't the correct one.
???
why would you expect a change on a LINUX operating system to MAGICALLY!!!!! fix something on a WINDOWS operating system ???????????


you can not fix windows by editing a linux os
and you can not fix a linux os by editing a windows os


please use those little gray cells

if TWO os's have the same problem on the same hardware , then it is likely that it is THE HARDWARE that has a problem and NOT the linux OS ( or Windows)


Quote:
I thought my fix could have disrupted the system (although an edit in that file did NOT sound like the source to my login-problem). I made a backup of the file before I did the editing so I simply restored the original file again.
you edited it using win10 ??????
how????

microsoft OS's can not read a ext4 partition
 
1 members found this post helpful.
Old 09-27-2015, 03:12 PM   #10
cogitans
LQ Newbie
 
Registered: Jun 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Thor_2.0 View Post
Hey, you have a pretty scientific aproach here, kudos...
Thor
Thankyou :-) I live and I learn (and I write a whole lot of notes).

Quote:
Originally Posted by John VV View Post
why would you expect a change on a LINUX operating system to MAGICALLY!!!!! fix something on a WINDOWS operating system ???????????
I wasn't. I was searching for a GUI and as my linux was corrupted my only other choice was Windows 10.

Quote:
Originally Posted by John VV View Post
please use those little gray cells
Hmmm. Please don't point fingers.

Quote:
Originally Posted by John VV View Post
if TWO os's have the same problem on the same hardware , then it is likely that it is THE HARDWARE that has a problem and NOT the linux OS ( or Windows)
Of course (???)

Quote:
Originally Posted by John VV View Post
you edited it using win10 ??????
how????
Nope. During bootup you'll have to choose normal boot or recovery-mode. I could also edit through some boot-stick. I think it was BootCorrector or something like that (back in the days I was using that system quite a lot to fix my linux-system).

And by the way: I'm not able to do a dist-upgrade. The terminal tells me that there isn't any upgrade. Strange!
lsb_release -a
says "Linux Mint 17.2 Rafaela"

Not even
sudo sed -i 's/rebecca/rafaela/g' /etc/apt/sources.list.d/official-package-repositories.list
did the trick

Last edited by cogitans; 09-28-2015 at 01:33 AM.
 
Old 09-28-2015, 04:59 AM   #11
cogitans
LQ Newbie
 
Registered: Jun 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
The only critical problem now is whenever I open RssOwl. Then the computer thinks a little and then logs me out. When I log back in all my programs are shutdown.
 
Old 09-29-2015, 01:03 AM   #12
cogitans
LQ Newbie
 
Registered: Jun 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
This morning I was able to update linux-source 3.13.00. After that my usual desktop AND RssOwl are functioning correct again :-)
 
Old 09-29-2015, 11:57 AM   #13
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Quote:
This morning I was able to update linux-source 3.13.00. After that my usual desktop AND RssOwl are functioning correct again :-)
Yay!
 
  


Reply



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
Accidentally damaged my freshly installed Ubuntu desktop: remove UbuntuStudio-desktop Cocolate Linux - Software 21 09-08-2014 02:34 PM
Desktop sends packet to the dns server when connecting to a seperate desktop via ssh Alpha90 Linux - Networking 2 10-21-2013 02:05 AM
ubuntu-desktop vs. kubuntu-desktop vs. xubuntu-desktop vs. lubuntu-desktop vs. unity Kenny_Strawn Ubuntu 18 05-13-2011 09:20 AM
Desktop icons dosnt have ToolTips (apear when mouse hover above desktop icon) Acidx Linux - General 1 12-03-2006 07:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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

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