I am an absolute starter on Linux and I am operating on an OpenSUSE Leap 42.1 and here is my situation:
I was given a task to build a PC with very similar configs and properties to one already in operation. The steps I took are based on very brief instructions from a colleague and on going through the files from the already-built computer.
I was able to correctly set up the autostart for x11vnc server by creating a symbolic link from the executable to the "autostart-scripts" folder:
ln -s /usr/bin/x11vnc /home/"myusernamefolder"/.config/autostart-scripts/x11vnc
However, my problem is password-related... Using the terminal, I store the desired password as follows:
x11vnc -storepasswd "mypassword" /home/"myusernamefolder"/.vnc/passwd
Then, I create the following file:
Containing the following:
display :0 rfbauth /home/"myusernamefolder"/.vnc/passwd forever bg
Then, when I try to remote access from another computer, there is an authentication error, as if the password I type on the VNC client does not correspond to the one I stored on the server... I already tried not setting up a password and not creating the file above and the remote access happens successfully, but I really need this remote access to have a password.
Any tips? Can you see where I went wrong?
Thanks in advance.