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.
Hi,
today I restarted my computer and found that the gnome surface is not starting properly. I have a black screen with trash and home directory icon, which work and skype is opening but the 'start' field is not showing up.
Entering the console via Alt+Strg+F2 I can access everything.
One possible reason I thought of was that I tried to deinstall python2.7 in order to install python3. I know now that this is idiotic and by doing that I probably deinstalled something important. Nevertheless, as far as I can see, python2.7 still works and I don't understand what might be the issue? I already reinstalled python, but it said that there is nothing to do.
I also tried
yum -y groups install "GNOME Desktop"
but it says that there are no packages in any group available for installing or updating.
Can you please help me?
I have a Centos 7, 64 kernel system.
To do this, I have to use --skip-broken since there are unresolved dependencies. If I do so, it has to skip nux-desktop but then the panel is back. Nevertheless, this is only if I enter it as a root user. How can I keep it also for 'normal' user?
Thanks!
You enter what as root user? GNOME? Don't do this. After logging once into GUI as root you may get all sorts of permissions problems as regular user afterwards. Quite often, it manifests itself as .ICEAuthority permission/ownership problem. Google for it. Or search here on LQ.
To do 'yum disto-sync' I have to be root user. Otherwise it doesn't work. If I then enter the GUI, I have the panel and everything else back. But if I then switch to normal user, it is gone and I get black screen with some icons.
Obviously, "yum distro-sync" helps but not for the user. How can I apply this for the user?
Just to be clear:
I login to the user account: black screen and some icons appear but no panel.
Then I enter a shell via "Strg+Alt+F2",
login>> user
Password>> password
user@linux>> su
root@linux>> yum distro-sync
(if I would do: root@linux>> startx #gives panel, otherwise...)
root@linux>> exit
user@linux>> startx #->Still black screen and some icons.
Obviously, "yum distro-sync" helps but not for the user. How can I apply this for the user?
Just to be clear:
I login to the user account: black screen and some icons appear but no panel.
Then I enter a shell via "Strg+Alt+F2",
login>> user
Password>> password
user@linux>> su
root@linux>> yum distro-sync
(if I would do: root@linux>> startx #gives panel, otherwise...)
root@linux>> exit
user@linux>> startx #->Still black screen and some icons.
yum distro-sync is for the OS, not the user. Those command are run as root and have nothing to do with any user.
I could solve it by creating another user (adduser) and copying
.local/share/gnome-settings-daemon/ and
.local/share/gnome-shell/
from its home directory to the home directory of the old user.
Quote:
As root do
Code: chown user:user -R /home/user
Then start X as regular user.
This was not the problem. It was the user's directory, not root.
Quote:
yum distro-sync is for the OS, not the user. Those command are run as root and have nothing to do with any user.
I know but I did not understand why the configs did not stay for the users. I've understood now, that the reason of the error were local configs and yum distro-sync does not touch them.
Exactly. User configurations are always in /home and have nothing to do with the operating system, only the user. The command you ran was for the package management system and was for the OS only.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.