2

I am on mobile.

This is fifth time. I reinstalled four times.

Please look at my recent questions.

I entet password and it says xxx files xx blocks and keep showing logib screen.

I dont know what caused this.

I installed as usual chrome yakuake zsh notepadqq inteljidea nvidia mysql emma

Changed

etc enviroment Zshrc Anthome javahome

Please help me. I dont want to reinstall :( or break my desktop

This is 5. Times happening same thing. I dont know what i am doing to cause.

What i did:

  • I removed nvidia, settings but did not work.
  • Renamed xauthotiry to see if causing. But not worked
  • sudo dkpgreconfigure lightdm
  • var log xorg 0 log shows no error. I couksnot find any error or warning there. But maybe i am looking wrong. This is image fron there. Only error is that. Can you look https://pasteboard.co/HpnxnQC.jpg
  • This is xsessionerrors https://pasteboard.co/HpnyrRv.jpg
  • ls -al , all of them are my user except dbus. It is root. Inside tmp, all of rhem are root. Such as xim unix

    Any suggestions?

1 Answers1

2

Thanks to @Byte Commander, I found the error.

In my /etc/environment I had added export parts:

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"

export JAVA_HOME="/usr/local/java/jdk1.8.0_171"
export ANT_HOME="/usr/local/ant"

export PATH=$ANT_HOME/bin:$PATH
export PATH=$JAVA_HOME/bin:$PATH

I removed export paths and it worked.

I think I should put / to end of them. I am not sure about it. And I don’t know how can I be sure after again adding them.

I removed export parts

https://stackoverflow.com/a/23384301/9103745

like that

  JAVA_HOME="/usr/local/java/jdk1.8.0_171"
     ANT_HOME="/usr/local/ant"

     PATH=$ANT_HOME/bin:$PATH
     PATH=$JAVA_HOME/bin:$PATH

but it did not work.

UPDATE

This is my .profile , lastversion:

 ...
# set PATH so it includes user's private bin directories
    PATH="$HOME/bin:$HOME/.local/bin:$PATH"

    PATH="$ANT_HOME/bin:$PATH"
    PATH="$JAVA_HOME/bin:$PATH"

this is etc/enviroment

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"

JAVA_HOME="/usr/local/java/jdk1.8.0_171"
ANT_HOME="/usr/local/ant"

and for .zshrc i added those to bottom

     source /etc/environment
  source ~/.profile 

Now it seems it is working. When i open a new terminal, it will source both. I dont know if this is a good idea but could not find any other way.