This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

xrandr setting resolution issue

hello ,

i'm running ubuntu with Xfce on TI 8148 evm board.

Where do I add the xrandr command to run it always after boot/startup automatically?    
i've put "xrandr -s 800x600 -r 60" command in /etc/init.d/rc.local , but getting "Can't open display "