I see what happened. Snowhog and I posted two different solutions two minutes apart. Either follow his suggestions or mine, but don't mix them up
Announcement
Collapse
No announcement yet.
Desktop not loading - tried everything but still just a black screen
Collapse
This topic is closed.
X
X
-
Originally posted by Enigma0 View PostGotcha. Ok I had one git pulldown folder that had most of the contents owned by root which shouldn't have any impact on my issue but was muddling the results. Here's the updated results:
Code:ls -laR /home/[USER]/ | grep root drwxr-xr-x 3 root root 4096 Jul 30 12:31 .. drwx------ 2 root root 4096 Oct 3 22:40 .gvfs -rw------- 1 root root 2125 Jul 31 10:53 katemetainfos -rw------- 1 root root 1592 Jul 30 12:47 katepartrc -rw------- 1 root root 533 Jul 31 01:48 katerc -rw------- 1 root root 419 Jul 30 12:50 katevirc -rw-rw-r-- 1 root root 943 Jul 30 21:35 QtProject.conf -rw-r--r-- 1 root root 4632 Dec 22 10:33 user -rw------- 1 root root 1024 Jul 30 14:30 ~ drwx------ 2 root root 4096 Oct 3 22:40 . drwxr-xr-x 3 root root 4096 Jul 31 10:53 kate -rw------- 1 root root 1405 Dec 22 10:33 recently-used.xbel drwxr-xr-x 3 root root 4096 Jul 31 10:53 . -rw------- 1 root root 3919 Jul 31 10:53 anonymous.katesession drwxr-xr-x 2 root root 4096 Jul 30 12:47 sessions drwxr-xr-x 2 root root 4096 Jul 30 12:47 . drwxr-xr-x 3 root root 4096 Jul 31 10:53 ..
sudo does not inherit root's environment unless you run it with an -i or -H switch, so when you do sudo kate it writes files that are owned by root into *your* home directory. Easily resolved by fixing permissions and abstaining from using sudo to start a graphical applicationwe see things not as they are, but as we are.
-- anais nin
- Top
- Bottom
Comment
-
Originally posted by wizard10000 View PostIf you're gonna run kate as root you've got to quit using sudo and use kdesudo or kdesu instead. That's what's messing with your home directory
sudo does not inherit root's environment unless you run it with an -i or -H switch, so when you do sudo kate it writes files that are owned by root into *your* home directory. Easily resolved by fixing permissions and abstaining from using sudo to start a graphical application
I'd happily delete all the kate stuffs in my home directory if that helps anything though I have no idea how since it doesn't list a location.Last edited by Enigma0; Jan 10, 2017, 02:13 PM.
- Top
- Bottom
Comment
-
Got it cleaned up a little more to this:
Code::~$ ls -laR /home/[USER]/ | grep root drwxr-xr-x 3 root root 4096 Jul 30 12:31 .. drwx------ 2 root root 4096 Oct 3 22:40 .gvfs -rw------- 1 root root 1024 Jul 30 14:30 ~ ls: cannot open directory '/home/[USER]/.gvfs': Permission denied
- Top
- Bottom
Comment
-
Last edited by Snowhog; Jan 10, 2017, 03:14 PM.Windows no longer obstructs my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
- Top
- Bottom
Comment
-
Originally posted by wizard10000 View PostLet's try one thing that will eliminate issues with your home directory; create another user and try logging in with a clean profile. Does that resolve the issue?
If I've already gone and deleted seemingly everything relevant in ~/. ie .kde .config .cache then how might a new user creation help?
- Top
- Bottom
Comment
-
Originally posted by Enigma0 View PostHow do I disable auto-login via command line?
edit: you could try just removing the username from the appropriate line in sddm.conf - it should work. Without the username sddm won't know who to log on automagically
Originally posted by Enigma0 View PostIf I've already gone and deleted seemingly everything relevant in ~/. ie .kde .config .cache then how might a new user creation help?Last edited by wizard10000; Jan 11, 2017, 09:00 AM.we see things not as they are, but as we are.
-- anais nin
- Top
- Bottom
Comment
-
Originally posted by Enigma0 View PostHa, gotcha. Well there is nothing in the sddm.conf except:
Code:[Autologin] user=[USER] session=plasma.desktop
Code:[Autologin] Relogin=false Session=plasma.desktop User=wizard [General] HaltCommand= RebootCommand= [Theme] Current=maui CursorTheme=DMZ-White [Users] MaximumUid=65000 MinimumUid=1000
we see things not as they are, but as we are.
-- anais nin
- Top
- Bottom
Comment
Comment