I am using Ubuntu 14.04 (On VM Player) but unable to login suddenly. I am entering the correct password, because if I enter wrong password it gives password error message, and not otherwise. It just stays on the login screen - no error nothing. I have restarted VM Player and VM a few times, etc
Adding more details My orginal issue was my program not finding JAVA_HOME even though it is there.
1. Originally I had setup PATH in etc/environemnt.
$ sudo service dse start
**Java executable not found (hint: set JAVA_HOME)**
@ubuntu:~/Downloads$ echo $JAVA_HOME
/opt/jdk1.8.0_111
@ubuntu:~/Downloads$ java -version
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
Java exists as above
2. Then I setup PATH .bashrc (this also did not work) export JAVA_HOME= /opt/jdk1.8.0_111 export PATH= $PATH:$JAVA_HOME/bin
- Added path to .profile (same as above) now removed from .bashrc and etc/environemnt After this my login issues have started.
The original hypothesis was there maybe multiple java versions causing conflicts but that may not be true:
~$ sudo update-alternatives --config java
update-alternatives: error: no alternatives for java
Thx