Only do xmodmap if X is running