Disable autostart of Oracle-xe in Ubuntu
Remove auto-start from system boot:
cd /etc/ls -l rc*.d
You may get 7 directories, rc0.d, rc1.d, ..., rc6.d and rcS.d, and in some of them you may find the files like
ls -l *oracle-xe*
lrwxrwxrwx 1 root root 19 Mar 17 23:59 K01oracle-xe -> ../init.d/oracle-xe
...
lrwxrwxrwx 1 root root 19 Mar 17 23:59 S80oracle-xe -> ../init.d/oracle-xe
...
Which starts with K is for shutdown and starts with S is for start-up.
Remove all of them or remain shutdown. If leave shutdown link I suppose no need to shut down with command before you log out.
sudo rm S80oracle-xe