2

I tried to change my password for Win-Kex. But it ask me for view-only password. What is view-only password? What is the purpose of this password.

┌──(sanniddha㉿DESKTOP-TG86V73)-[~]
└─$ kex --passwd
Password:
Verify:
Would you like to enter a view-only password (y/n)?
3

The answer can be found in the article How to install Kali Linux with Win-KeX (GUI) in WSL2 (Windows Subsystem for Linux):

You might think this is the Linux user's password, but you didn't guess – it's not even entering the password, but setting a new VNC password. Therefore, come up with and enter a password twice (at least 6 characters long) and then enter "n", which means that the password gives the right not only to watch what is happening in the system (and nothing will happen there without your participation), but also to move and click the mouse and enter data from the keyboard.

Entering "n" will give the watcher the right to participate actively. The option "y" will only give the right to watch.

6
  • Which option should I choose "y" or "n"? Which is the secure and best? – Sanniddha Chakrabarti Mar 30 at 12:50
  • The option "y" will will prevent the watchers from interfering, if that's what you want. – harrymc Mar 30 at 12:59
  • What is "watchers" here ? – Sanniddha Chakrabarti Mar 30 at 15:13
  • These are participants in a VNC session. A VNC session may have two or more participants. – harrymc Mar 30 at 15:16
  • How other can participate in a session ? How is it possible in Win-Kex ? – Sanniddha Chakrabarti Mar 30 at 15:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.