Set the Display automatically for the current new user ?

export DISPLAY=`eval ?who am i | cut -d"(" -f2 | cut -d")" -f1'`Here in above command, see single quote, double quote, grave ascent is used. Observe carefully.

No comments: