Saturday, January 10, 2015

How to enable USB Debugging and Developer Options on Motorola Moto E

How to enable USB Debugging and Developer Options on Motorola Moto E Here is the instruction how to turn on USB Debugging hidden in secret Developer Options on Android Jelly Bean. 1) Turn on the developer mode options Go to Settings -> About phone -> and tap 7 times"Build number" 2) Enable USB Debugging Settings -> Developer options-> and check USB Debugging

How to take screenshot on moto-e

How to take screenshot on moto-e : 1) Press "volume -" + "power" button in one go. Hold both of them for 2 seconds. 2) Your screen will be captured and you will get a notification. 3) Your picture will be visible in gallery App.

Friday, January 9, 2015

How to fix error "Xlib: connection to "hostname" refused by server"

If you are facing this issue on second server and everything works fine on first server.

Then do the following :

first$ xauth list $DISPLAY
first.server.com/unix:0 MIT-MAGIC-COOKIE-1 076aaecfd370fd2af6bb9f5550b26926

first$ telnet second.server.com

login:
Password:

second% setenv DISPLAY first.server.com:0

second% xauth add first.server.com:0 . 076aaecfd370fd2af6bb9f5550b26926