LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-04-2017, 08:16 AM   #1
Harshit_24
Member
 
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75

Rep: Reputation: 5
Debian Gnome stretch cannot boot


Earlier, I was running Xubuntu, so I thought to try Debian 9 Gnome live. I had the separate root(/) & home(/home) partitions. So after trying the Debian in live mode, I installed it. Before installing, I changed my home directory name to a new one as I used the same account name in new install as well i.e.

Earlier
Quote:
/home/harshit
Later
Quote:
/home/harshit.bak
harshit.bak contains the whole of my data. Although, Xubuntu again created the /home/harshit dir instantly after rename. So, while installing debian, I only formatted / & swap partition, not the /home partition. After it installed successfully, I rebooted the system. After login in, it remains stuck on a grey screen. It doesn't move forward.

I am not sure what the issue is. Is this the problem with the home directory or owner problem?

I am using Debian 9.1.0 Gnome version.

Also, I can login via terminal by pressing Ctrl+Alt+F4

Thanks

Last edited by Harshit_24; 08-04-2017 at 09:14 AM.
 
Old 08-04-2017, 11:09 AM   #2
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,396
Blog Entries: 8

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Quote:
Originally Posted by Harshit_24 View Post
Earlier, I was running Xubuntu, so I thought to try Debian 9 Gnome live. I had the separate root(/) & home(/home) partitions. So after trying the Debian in live mode, I installed it. Before installing, I changed my home directory name to a new one as I used the same account name in new install as well i.e.

Earlier
Later
harshit.bak contains the whole of my data. Although, Xubuntu again created the /home/harshit dir instantly after rename. So, while installing debian, I only formatted / & swap partition, not the /home partition. After it installed successfully, I rebooted the system. After login in, it remains stuck on a grey screen. It doesn't move forward.

I am not sure what the issue is. Is this the problem with the home directory or owner problem?

I am using Debian 9.1.0 Gnome version.

Also, I can login via terminal by pressing Ctrl+Alt+F4

Thanks
What is the userid of the user you're trying to log in as, in Debian? Did there already exist a folder with that name in /home, and did that folder have any contents before the install?

It's generally a bad idea to try and reuse a home folder with a GUI unless it's to an install of the same distribution (and the users etc are all set up the same). In this case, you're going to a different distribution. Most likely, there are some config files which are causing problems due to different versions of software, or other differences. It seems like there's something causing problems for GNOME itself...it might not be a config file, it could be file permissions on some sort of utility file.

To fix this, log in to a terminal as root (if you did the stupid thing of not creating a root user, then reinstall Debian - this is an option if you don't provide a root password to make your system more Ubuntu-like, but it's a stupid idea that makes things more difficult in situations like this and others).

After logging in as root, do something like this:
Code:
cd /home
mv -vi harshit harshit.bad
mkdir harshit
chown harshit:harshit harshit
This will create a fresh new home folder for the user harshit, with the proper permissions for harshit to access it. At this point, you can switch back to the GDM graphical greeter and log in to the GNOME3 DE. Whatever data you have in /home/harshit.bad can be manually moved if desired.
 
1 members found this post helpful.
Old 08-04-2017, 11:38 AM   #3
Harshit_24
Member
 
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75

Original Poster
Rep: Reputation: 5
Thanks @IsaacKuo for the reply.

I just now again went to the login screen, then after pressing Ctrl+Alt+F4, via terminal, I logged in to root & via startx, I was able to access the GUI of Gnome.

So, it seems that the problem is with my account i.e /home/harshit only. So, I will try as you suggested.
 
Old 08-04-2017, 12:25 PM   #4
Harshit_24
Member
 
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75

Original Poster
Rep: Reputation: 5
Its working. Thanks IsaacKuo
 
  


Reply


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
LXer: How to upgrade Debian 8 Jessie to Debian 9 Stretch LXer Syndicated Linux News 0 06-16-2017 02:11 AM
LXer: UEFI secure boot booted from Debian 9 'Stretch' LXer Syndicated Linux News 0 05-01-2017 04:00 PM
debian testing stretch: what's the point to rename eth0, wlan0,... at boot? patrick295767 Debian 8 06-12-2016 06:05 AM
(Debian Stretch) KDE SDDM do not start up at boot CheatCat Linux - Desktop 2 11-13-2015 06:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:08 AM.

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