Linux command
Q: How to install .bundle
package ?
A: For example, we have a VMware-Workstation-Full-11.0.0-2305329.x86_64.bundle
executable file on /media/jerome/HHD
. We can install it like these command
chmod -R 777 VMware-Workstation-Full-11.0.0-2305329.x86_64.bundle
sudo sh VMware-Workstation-Full-11.0.0-2305329.x86_64.bundle
Q: VMware occurs VMware Workstation unrecoverable error: (vcpu-0) vcpu-0| I120+ Unexpected signal: 11
and log record message that MKS: Release starting (panic).
. How to solve it ?
A: Moddify *.vmx.
- delete
sound.virtualDev = "hdaudio"
- Add
smc.version = 0
Q: How do I uninstall software from .bunle package?
A: For example VMWare Software
sudo vmware-installer --uninstall-product vmware-workstation
Q:My LightDM Broken, how to restart ?
A:
sudo service lightdm stop
sudo service lightdm start
Q:Ubuntu gets stuck in a login loop.
A:
SOLUTION A
- commad run
If in the output the line$ls -lah
-rw------- 1 root root 53 Nov 29 10:19 .Xauthority
then you need to do
chown jerome:jerome .Xauthority
and try logging in.
Else, do
ls -ld /tmp
Check for the first 10 letters in the left: they should read exactly so: drwxrwxrwt
Else, you need to do
sudo chmod a+wt /tmp
and check again.
SOLUTION B:
sudo mv ~/.Xauthority ~/.Xauthority.backup
sudo reboot
SOLUTION C:
sudo apt-get install --reinstall ubuntu-desktop
sudo reboot
How to install MFC-L2700DW print driver?
- Download driver from here http://support.brother.com/g/b/downloadtop.aspx?c=eu_ot&lang=en&prod=mfcl2700dw_us_eu_as.
- Typing these commands
gunzip linux-brprinter-installer-2.0.0-1.gz sudo bash linux-brprinter-installer-2.0.0-1 MFC-L2700DW
Kill defunct process
First type these commands
ps -ef | grep defunct
Them kill the PID and PPID, Command like these
kill -9 32204 5763
ref: http://askubuntu.com/questions/201303/what-is-defunct-for-a-process-and-why-it-doesnt-get-killed