I was trying to start emulator with the following command.
emulator
/home/shahrear/Android/Sdk/emulator/emulator -avd Pixel2_API_29 -no-window