Skip to content

Instantly share code, notes, and snippets.

@omushpapa
Last active March 31, 2018 06:55
Show Gist options
  • Save omushpapa/2f3ce23096be32326d9efb7025c1de8e to your computer and use it in GitHub Desktop.
Save omushpapa/2f3ce23096be32326d9efb7025c1de8e to your computer and use it in GitHub Desktop.
Anaconda Fix for Failing KDE Login

After installation of Anaconda3 and rebooting, GUI login fails.

Add this to .bashrc

Find the line

# added by Anaconda3 installer
# export PATH="/path/to/anaconda3/bin:$PATH"

Replace with

# added by Anaconda3 installer
# If not running interactively, don't do anything
# This is required, otherwise  error at KDE login 
#   "Could not start D-bus. Can you call qdbus-qt5?"
[ -z "$PS1" ] && return

[[ ":$PATH:" =~ ":/path/to/anaconda3/bin:" ]] || PATH="/path/to/anaconda3/bin:$PATH"

Source:

The response by bscipio on this Github issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment