ホーム スマホ・家電 VNC Client Security with WayVNC & TightVNC: Fixes & Configuration

VNC Client Security with WayVNC & TightVNC: Fixes & Configuration

篠原 美緒 篠原 美緒 • 更新: • 公開: • 読了約 20 分
目次
["Doesanybodyknowwhatvncclientsknowhowtonegotiatesecurityprotocolswithwayvnc,orwhat\/wheretoconfigurewayvncsothatittalkstoatightvncclient?","Bydefaulttherealvncserverusesunixpasswordauthentication,whichletsyouloginusingasystemaccount.","Thissecuritytypeisonlysupportedbytherealvncviewer.","Ifyouneedtouseanotherviewer,youcansettheauthenticationtovncpasswordinthevncserveroptions,andsetaseparatevncpassword.","Ifyouhaveakeyboard+mouse+monitorconnectedtotheraspberrypi,youcanjust.","Clickthevnciconinthetopbar,openthehamburgermenu,andselectoptions.underthesecuritytab,forauthenticationchoosethevncpasswordoption;","Underusersandpermissionstab,selectstandarduserandclickpassword.tosetyourvnc","Ourserverpackagecanbeusedinavarietyofways(servicemode,virtualmode),soweleaveituptotheusertochoosewhattheywanttoenable.","$vncviewerpi.localconnectedtorfbserver,usingprotocolversion3.3noconfiguredsecuritytypeissupportedby3.3vncvieweritlookslikethepiisrunningrealvncandi'mtryingtoruntightvncontheclient.","Vncauthentication\u3092\u30bb\u30c3\u30c8\u3057\u305f\u6642\u306b\u306f\u3001securitytype\u306bvnc(2)(\u4ed5\u69d8\u66f8\u3060\u3068vncauthentication\u306enumber\u304c2\u3060\u304b\u3089vnc(2)\u3068\u3044\u3046\u8868\u793a)\u304c\u8ffd\u52a0\u3055\u308c\u305f\u306e\u304c\u308f\u304b\u308a\u307e\u3059\u3002vnc(2)\u304c\u8fd4\u5374\u3055\u308c\u308b\u74b0\u5883\u3067\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306btigervncviewer\u3092\u4f7f\u3044\u3001\u305d\u306e\u5f8c\u7d9a\u3051\u3066\u307f\u308b\u3068\u3001authenticationtype","Softwareraspberrypiosraspberrypiconnectraspberrypidesktopforpcandmacotherandroiddebianfreebsdgentoolinuxkernelnetbsdopensuseplan9puppyarch","Thanksforcontributingananswertostackoverflow!","Pleasebesuretoanswerthequestion.providedetailsandshareyourresearch!","Askingforhelp,clarification,orrespondingtootheranswers.","Brandnewraspberrypiuser.","Gotmypi4setupwithvncandicanaccessitperfectlyfineviamypc,howeverforthelifeofmeican'tgettheresolutionfixed","Itlookslikethevncvieweryou'reusingonthekindledoesn'tsupportthedefaultsecuritytypesofferedbytherealvncserver.","Bydefaultthisusesunixpasswordauthentication,whichallowsyoutologinasasystemuser(e.g.","Pi\/raspberry),however,thisisonlysupportedbytherealvncviewer,whichidon'tthinkisavailableforthismodelofkindle.","Satapr117:25:492017decodemanager:","Detected4cpucore(s)decodemanager:","Creating4decoderthread(s)cconn:","Conectadoapuerto192.168.1.200deorigen5900cconnection:","Serversupportsrfbprotocolversion5.0cconnection:","Usingrfbprotocolversion3.8cconnection:","Nomatchingsecuritytypescconn:","Serversentseveraltypesbutnonesupported.","Untilireinstalledthepiosvncwasworkingok","(tcp)([connfailed]noconfiguredsecuritytypeissupportedby3.3vncviewer","Ifitrytightvnconthepc,igetnosecuritytypessupported.","Oddlyenough,thevncviewerappforandroidworksfine.","Fromthereyoucanaccessthepianditsvncserversettings.","Gotooptions,setauthenticationtovncpasswordandencryptiontopreferoff.","Howcanimaketightvncworkeitherwithorwithoutpasswordauth?","Itdoesnotrequireaaccountforlocaluse.","Anaccountisnotrequiredtodownloadandinstalloruserealvncviewer.","Therealvncserver(vncserver)ispreinstalledinrpiosandexpectstoconnecttoarealvncviewersession.","Bydefault,therealvncserverusesunixpasswordauthentication,whichallowsyoutologinusingsystemaccountcredentials(e.g.","However,thissecuritytypeisonlysupportedbytherealvncviewer.","Thesolutionistogointothevncconnectoptionsontheraspberrypidesktop,onthefirsttabsecuritychangetheauthenticationfromunixpasswordtovncpassword.","Youwillthenbepromptedtosetthevncpassword.","Thedefaultraspberrypioneetc.","Raspberrypiosshipswithrealvncserverwhichbydefaultusesaproprietaryauthentication.","Givenyourlastcomment(i'vejustnoticedthatthevncisnotseeingthe'real'desktopsonofitformypurpose)there'snotmuchpointinfurtherdiscussion.theguidecreatesvirtualvncdesktops,notattachedtothehdmiconsole.","Istartedinstallinglatestraspbian(busterwithgui)onaraspi2.","Removedthevnccomingwiththeimage,rebootedandinstalledtigervncfromtheinstallandremovesoftwaretoolinthegui.","I'mtryingtoconnectwitharemotedesktoptoapi4withbookworm.","Isawthislockedthreadfromawindowsclient,iamabletosshintothepiwithputty.","Ihaveinstalledxrdponthepi.","Tightvncviewer2.8.75failswithnosecuritytypessupported","Thiscanbeaccomplishedforthevncserverthatrunsonthe'desktop'ofthepi(ifyouhaveamonitorhookedup)byclickingonthevncservericoninthesystemtray,goingtooptionsandchangingtheauthenticationto'vncpassword'andthensettingapasswordon'usersandpermissions'tabinoptions.","Ssh(secureshell)providessecureaccesstoaterminalsessiononyourraspberrypi.","Vncyouwillseeasecuritywarning.","Nowtryrestartingyourraspberrypibyrunningthefollowinglineonyourraspberrypi.","Withtheraspberrypirebootedtrymakingaconnectionusingavncclienttoyourraspberrypi.","Ifsuccessfulyouhavefinishedsettingupvinoonyourraspberrypi,andsuccessfullyhavescreensharingupandrunning.","[*]workaroundandfixesfromraspberrypicommunity:","Giventhecurrentstateofcompatibilitywithraspberrypi5andvariousvncservers,iamhopingthatthisproblemisverycommonwiththeraspberrypi5(modelbrev1.1,8gb)andthetechgurusherehaveaknownworkaroundorconfigurationfixthatcanbeshared."]

Are you wrestling with the intricacies of Virtual Network Computing (VNC) and finding yourself in a security protocol puzzle? Navigating the compatibility of VNC clients with servers like WayVNC and RealVNC can be a real challenge, but understanding the underlying mechanisms is the key to unlocking seamless remote access.

The world of remote desktop access can often feel like a maze, especially when dealing with different VNC clients and servers. One common hurdle involves the negotiation of security protocols. Different VNC clients support varying security types, and ensuring they can communicate effectively with a VNC server is crucial for a successful connection. This is especially true when dealing with servers like WayVNC, which may have specific requirements or configurations.

By default, the RealVNC server on systems like the Raspberry Pi utilizes "unix password authentication." This approach allows you to log in using your system account credentials, a straightforward method. However, it's important to note that this particular security type is primarily supported by the RealVNC viewer. If you intend to use a different VNC viewer, you'll need to adjust the authentication settings. This typically involves selecting the "VNC password" option within the VNC server's configuration and setting a separate VNC password.

Consider a scenario where you have a keyboard, mouse, and monitor connected to your Raspberry Pi. In this case, the process of configuring VNC access becomes relatively simple. You can click the VNC icon located in the top bar, open the hamburger menu, and select "Options." Within the "Security" tab, you can choose the "VNC password" authentication option. Subsequently, under the "Users and Permissions" tab, select the standard user and click "Password" to set your VNC password. This customization is a common solution when you want to use various VNC viewers, such as TightVNC.

The flexibility of VNC server packages is noteworthy. They can operate in various modes, including service mode and virtual mode, allowing users to tailor their setup to their specific needs. This flexibility, however, can sometimes add to the complexity of configuration, especially when dealing with security settings.

Imagine trying to connect to a Raspberry Pi running RealVNC with a TightVNC client. You might encounter a message indicating "no configured security type is supported." This message signifies a mismatch between the security types supported by the client and the server. The RealVNC server might be using a security protocol that TightVNC doesn't recognize or support, leading to connection failure.

When a VNC server is configured to use VNC authentication, the security type "vnc(2)" is often added. This implies that the server is using the VNC authentication protocol, which the client needs to support. When a client, such as TigerVNC viewer, attempts to connect and receives a "vnc(2)" response, it should be able to handle this authentication type. But sometimes, issues persist.

Users who are new to Raspberry Pi often find themselves in a similar situation. While they may be able to connect via VNC on their PC, getting the resolution right can sometimes be difficult. In certain scenarios, the VNC viewer used on devices like Kindles may not support the default security types offered by the RealVNC server. Consequently, the default "unix password authentication" (which allows login as a system user) would not work.

In the scenario of "Sat Apr 1 17:25:49 2017 decodemanager:", the system detected multiple CPU cores, created decoder threads, and attempted to connect. However, the server reported supporting multiple types of security but that none were supported by the client. This often happens when the client and server cannot agree on a common security protocol.

Another common problem is "no configured security type is supported by 3.3 vnc viewer," and the client will not connect. For example, when you try to use TightVNC on your PC, it might indicate that no security types are supported. Conversely, the VNC viewer app for Android might work without a hitch. This inconsistency can be frustrating.

To get things working, go into the VNC Connect options on the Raspberry Pi desktop, and on the "Security" tab, change the authentication from "unix password" to "VNC password." Afterward, you'll be prompted to set a VNC password.

The RealVNC server, preinstalled on Raspberry Pi OS, defaults to a proprietary authentication method. To make TightVNC work, you can configure the VNC server to use "VNC password" authentication and, optionally, set encryption to "prefer off."

When installing a newer version of Raspberry Pi OS, such as the "bookworm" release, and attempting to connect with a remote desktop, users may face problems. One solution is to change the authentication settings in the VNC server options.

Setting up SSH, or Secure Shell, provides secure access to a terminal session on your Raspberry Pi. Once connected via SSH, you can modify your VNC settings as needed. A security warning may show when connecting to VNC, but it can be ignored if the connection is secure.

Restarting the Raspberry Pi after making changes to the VNC configuration is crucial. After a successful reboot, try connecting with a VNC client again. If everything is set up correctly, you should have screen sharing working on your Raspberry Pi.

Several workarounds and fixes are available from the Raspberry Pi community to address compatibility issues, especially with the Raspberry Pi 5. For example, changing authentication types in the VNC server settings. (出典: Does anybody know what vnc clients know how to negotiate security protocols with wayvnc or whatwhere to configure wayvnc so that it talks to a tightvnc clientBy default the realvnc server uses unix password authentication which lets you login using a system accountThis security type is only supported by the realvnc viewerIf you need to use another viewer you can set the authentication to vnc password in the vnc server options and set a separate vnc passwordIf you have a keyboardmousemonitor connected to the raspberry pi you can justClick the vnc icon in the top bar open the hamburger menu and select options under the security tab for authentication choose the vnc password optionUnder users and permissions tab select standard user and click password to set your vncOur server package can be used in a variety of ways service mode virtual mode so we leave it up to the user to choose what they want to enable vncviewer pilocal connected to rfb server using protocol version 33 no configured security type is supported by 33 vnc viewer it looks like the pi is running realvnc and im trying to run tightvnc on the clientVnc authenticationu3092u30bbu30c3u30c8u3057u305fu6642u306bu306fu3001security type u306b vnc2 u4ed5u69d8u66f8u3060u3068 vnc authentication u306enumber u304c 2 u3060u304bu3089 vnc2 u3068u3044u3046u8868u793a u304cu8ffdu52a0u3055u308cu305fu306eu304cu308fu304bu308au307eu3059u3002 vnc2 u304cu8fd4u5374u3055u308cu308bu74b0u5883u3067u3001u30afu30e9u30a4u30a2u30f3u30c8u306btigervnc vieweru3092u4f7fu3044u3001u305du306eu5f8cu7d9au3051u3066u307fu308bu3068u3001authentication typeSoftware raspberry pi os raspberry pi connect raspberry pi desktop for pc and mac other android debian freebsd gentoo linux kernel netbsd opensuse plan 9 puppy archThanks for contributing an answer to stack overflowPlease be sure to answer the questionprovide details and share your researchAsking for help clarification or responding to other answersBrand new raspberry pi userGot my pi4 set up with vnc and i can access it perfectly fine via my pc however for the life of me i cant get the resolution fixedIt looks like the vnc viewer youre using on the kindle doesnt support the default security types offered by the realvnc serverBy default this uses unix password authentication which allows you to login as a system user egPiraspberry however this is only supported by the realvnc viewer which i dont think is available for this model of kindleSat apr 1 172549 2017 decodemanagerDetected 4 cpu cores decodemanagerCreating 4 decoder threads cconnConectado a puerto 1921681200 de origen 5900 cconnectionServer supports rfb protocol version 50 cconnectionUsing rfb protocol version 38 cconnectionNo matching security types cconnServer sent several types but none supportedUntil i reinstalled the pi os vnc was working oktcp connfailed no configured security type is supported by 33 vnc viewerIf i try tightvnc on the pc i get no security types supportedOddly enough the vnc viewer app for android works fineFrom there you can access the pi and its vnc server settingsGo to options set authentication to vnc password and encryption to prefer offHow can i make tightvnc work either with or without password auth It does not require a account for local useAn account is not required to download and install or use realvnc viewerThe realvnc server vncserver is preinstalled in rpios and expects to connect to a realvnc viewer sessionBy default the realvnc server uses unix password authentication which allows you to login using system account credentials egHowever this security type is only supported by the realvnc viewerThe solution is to go into the vnc connect options on the raspberry pi desktop on the first tab security change the authentication from unix password to vnc passwordYou will then be prompted to set the vnc passwordThe default raspberry pi one etcRaspberry pi os ships with realvnc server which by default uses a proprietary authenticationGiven your last comment ive just noticed that the vnc is not seeing the real desktop so no fit for my purpose theres not much point in further discussionthe guide creates virtual vnc desktops not attached to the hdmi consoleI started installing latest raspbian buster with gui on a raspi 2Removed the vnc coming with the image rebooted and installed tigervnc from the install and remove software tool in the guiIm trying to connect with a remote desktop to a pi 4 with bookwormI saw this locked thread from a windows client i am able to ssh into the pi with puttyI have installed xrdp on the piTightvnc viewer 2875 fails with no security types supportedThis can be accomplished for the vncserver that runs on the desktop of the pi if you have a monitor hooked up by clicking on the vnc server icon in the system tray going to options and changing the authentication to vnc password and then setting a password on users and permissions tab in optionsSsh secure shell provides secure access to a terminal session on your raspberry piVnc you will see a security warningNow try restarting your raspberry pi by running the following line on your raspberry piWith the raspberry pi rebooted try making a connection using a vnc client to your raspberry piIf successful you have finished setting up vino on your raspberry pi and successfully have screen sharing up and running workaround and fixes from raspberry pi communityGiven the current state of compatibility with raspberry pi 5 and various vnc servers i am hoping that this problem is very common with the raspberry pi5 model b rev 11 8gb and the tech gurus here have a known workaround or configuration fix that can be shared(Yahoo!ニュース))

Setting Description Possible Values Typical Recommendation
Authentication Method used to verify the user's identity. Unix Password, VNC Password, Auto VNC Password if using clients like TightVNC or if having compatibility issues.
Encryption Whether or not the data transmitted between the VNC client and server is encrypted. Prefer Off, Always, Prefer On Prefer Off (for compatibility), Always (for security)
VNC Password The password used to authenticate the VNC connection if VNC Password authentication is selected. Any strong password Set a strong, unique password.
Resolution The resolution of the remote desktop. Various standard resolutions (e.g., 1920x1080, 1280x720), or custom values. Match the resolution to the client's screen or set the resolution that best fits your purpose
Color Depth The number of bits used to represent each color in the display. 8, 16, 24, 32 Generally, 16 or 24 bits are standard.
Connection Type The network protocol used for VNC connection. TCP TCP is the most common and generally recommended option

同じカテゴリの記事

篠原 美緒

映画と連続ドラマの公開情報を追う担当。配給会社のプレスシートと公式サイトの発表日を確認したうえで執筆します。

おすすめの関連記事