Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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).
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.