Bug 440910 - kde does not boot after adding a wrong path
Summary: kde does not boot after adding a wrong path
Status: RESOLVED NOT A BUG
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-12 23:28 UTC by affonso
Modified: 2021-08-13 15:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description affonso 2021-08-12 23:28:09 UTC
SUMMARY


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Geckolinux
(available in About System)
KDE Plasma Version: 5.18.6
KDE Frameworks Version: 5.71.0
Qt Version: 5.12.7

ADDITIONAL INFORMATION


Sorry I'm using the translator

I went to install kotlin and added the wrong path to the .bashrc file
had put it like this

export path=$PATH:/home/affonso/kotlinc/bin/

more or less that, as I remember.
after opening the terminal and not a command worked in kconsole, only in the root terminal.
I found it strange so I restarted the computer.
when I restarted KDE it crashed at the login screen it wouldn't start.

to fix it i logged in as root user and fix the kotlin path. for this

export PATH="$PATH:/home/affonso/kotlinc/bin/"

made the change and saved.
then i logged in with my user and kde booted normally.
Comment 1 Nate Graham 2021-08-13 14:45:45 UTC
If it crashed at the login screen, then the login screen itself was broken by your change. The login screen is actually not a KDE project. Unfortunately this kind of user misconfiguration is capable of bricking the system. There isn't anything we can do about it without restricting your ability to make changes like that (which would cause a riot) or have the distro ship backup and recovery tools (which would depend on the distro).
Comment 2 affonso 2021-08-13 15:35:02 UTC
I understand