اینجا به ارور میخورم.
مشکل چیه؟
کد PHP:
[root@alborz ~]# nano /root/.vnc/xstartup
-bash: nano: command not found
[root@alborz ~]# nano .vnc/xstartup
-bash: nano: command not found
[root@alborz ~]# /root/.vnc/xstartup
xsetroot: unable to open display ''
vncconfig: unable to open display ""
[root@alborz ~]# Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm Xt error: Can't open display: %s
xterm: DISPLAY is not set
twm: unable to open display ""
[root@alborz ~]#