Make the xstartup file executable: sudo chmod +x ~/.vnc/xstartupĪnd finally, start vncserver again: vncserver Now edit xstartup the file: nano ~/.vnc/xstartupĪdd the following 3 lines of text to your new file: #!/bin/bash Next, create a backup of its default startup script file: mv ~/.vnc/xstartup ~/.vnc/xstartup.bak Before doing so, kill the VNC service: vncserver -kill :1 Log file is /home/idroot/.vnc/meilana-maria-86:1.log Starting applications specified in /home/idroot/.vnc/xstartup Xauth: (argv):1: bad display name "lucky-puffin-86:1" in "add" commandĬreating default startup script /home/idroot/.vnc/xstartup Xauth: file /home/idroot/.Xauthority does not exist Would you like to enter a view-only password (y/n)? y Warning: password truncated to the length of 8. You’ll be prompted to enter and verify a password to access your machine remotely: You will require a password to access your desktops.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |