vncconfig -display :5 -set BlacklistTimeout=0 -set BlacklistThreshold=1000000 #In this replace :5 after -displacy to your :n value