![]() Keep the original file content of just replace “user”: & xrdb $HOME/.Xresourcesĭbus-launch -exit-with-session gnome-session & Replace “xstartup” content with follow: #!/bin/sh Starting applications specified in /root/.vnc/xstartup New 'trex-161:1 (root)' desktop is trex-161:1Ĭreating default startup script /root/.vnc/xstartupĬreating default config /root/.vnc/config Xauth: file /root/.Xauthority does not exist You will require a password to access your desktops. Run vncserver and auto create “xstartup”: ~]# vncserver ![]() sbin/runuser -l root -c /usr/bin/vncserver :1 Enable TigerVNC – Way2 PIDFile=/home/ root/.vnc/%H%i.pid rc.d]# chmod 777 rc.d]# vim rc.local Ps: follow content of had changed ~]# vim -l root -c "/usr/bin/vncserver %i -geometry 1024x768" ![]() Would you like to enter a view-only password (y/n)? nĪ view-only password is not used Enable TigerVNC – Way1 Install TigerVNC ~]# yum install xterm ~]# yum -y install tigervnc ~]# systemctl disable ~]# systemctl stop ~]# cp ~]# vncpasswd ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |