Use x-terminal-emulator instead of xterm.