Connection has been gracefully closed tightvnc что значит

от admin

Connection has been gracefully closed tightvnc что значит

B правой части каждого сообщения есть стрелки ⇧ и ⇩ . Не стесняйтесь оценивать ответы. Чтобы автору вопроса закрыть свой тикет, надо выбрать лучший ответ. Просто нажмите значок ✔ в правой части сообщения.

Бесплатный курс по пентесту от Школы Кодебай

Запишись на вводный видеокурс по пентесту , состоящий из 24 уроков. Разные инструменты, тактики и навыки: сканирование сети, фаззинг, брутфорс, сниффинг, sql-инъекции, mimikatz, загрузка полезной нагрузки, эксплуатация разных уязвимостей, XSS, CSRF и немного Reverse-shell. Будет полезен для быстрой подготовки к CTF, а так же для прохождения курсов « SQL Injection Master » и « WAPT ».

Бесплатный курс SQL Injection от Школы Кодебай

Запишись на вводный курс по SQL инъекциям. Курс состоит из 6 видео уроков. К каждому уроку приложена методичка. Есть общий чат для учащихся. Будет полезен для быстрой подготовки к CTF, а так же для прохождения курсов « SQL Injection Master » и « WAPT ».

Connection has been gracefully closed tightvnc что значит

I have two Raspberry Pi 2B’s with TightVNC server installed. Let’s call them Pi-A and Pi-B. I installed TightVNC server on Pi-A and PuTTY and TightVNC viewer on a Windows-10 PC. In Pi-A, the VNCserver is started as ‘vncserver :1.’ PuTTY is set up with X11 forwarding enabled with Forwarded-ports: ‘L5901 localhost:5901.’ The connection to Pi-A from TightVNC Viewer is made by by specifying the remote host as ‘localhost::5901. With this setup, I can successfully connect to Pi-A and open the remote desktop.

I made a copy of the sd disk from Pi-A and changed the hostname, IP address, and sshd_config listening port. I edited /etc/init.d/tightvnc to change the window number to 2 and installed it into Pi-B. When I try to make a connection from TighVNC Viewer on Windows to Pi-B by specifying the remote host as ‘localhost::5902’ I get the error message «Connection has been gracefully closed.»

Does anyone have any suggestions as to why this is happening and how to correct it?

Connection has been gracefully closed tightvnc что значит

To Reproduce
Steps to reproduce the behavior:

  1. Disable firewall on VNC server
  2. I try to connect to the VNC server using tigerVNC viewer
  3. After I click connect, the viewer just closes
  4. If I try to connect with tightvnc the same happens but I get the message «Connection has been gracefully closed»

Expected behavior
VNC server/viewer to connect normally

Client (please complete the following information):

  • OS: Windows 10 1909
  • VNC client: TigerVNC, TightVNC
  • VNC client version: 1.10.1 (x64), 2.8.27 (x64)
  • Client downloaded from: https://bintray.com/tigervnc/stable/tigervnc/1.10.1 , tightvnc.com

Server (please complete the following information):

  • OS: Windows 10 1909
  • VNC server: TigerVNC
  • VNC server version: 1.10.1 (x64)
  • Server downloaded from: https://bintray.com/tigervnc/stable/tigervnc/1.10.1
  • Server was started using: Either Service-Mode (Start VNC Service) or User-Mode (Run VNC Server)

Additional context
Edit: I just tested with version 1.9.0 from bintray without any other change, everything works, I’ll use that for now.

The text was updated successfully, but these errors were encountered:

klui2k1 commented Jan 3, 2020

I’m experiencing the same thing. If I go back to 1.9.0 x64 things work fine. Server is running under Windows 10 1909 x64. The system was upgraded from Win7 to Win10. Client is also an upgrade from Win7 to Win10, also 1909 x64.

The logs show the following. Important tidbits at 16:03:21. I don’t remember what I did to cause the logs afterwards except I was looking at the settings and then exited winvnc4.exe. Reinstalling is not an option for me.

danielocdh commented Jan 3, 2020

I think I got different results than @klui2k1

This is a headless system, but the issue happens with or without monitor. I plugged in a monitor and restarted before doing these tests.
I used «vncviewer64-1.10.1.exe» as client for both tests
*.err.log came from using server version 1.10.1
*.ok.log came from using server version 1.9.0

CendioOssman commented Jan 3, 2020

Thanks for the logs, @danielocdh. I think I see what’s wrong. Let me see if I can fix it.

@klui2k1, you seem to have a different issue. Could you file a new issue for your problem? Please include log files from both the working and broken WinVNC as well as much details as you can about your setup.

mrbbs commented Jan 3, 2020

I have the same issue as danielocdh. We would like to change from the security flawed UltraVNC to TigerVNC.
We did a clean install on a Windows 10 1509 pc as server (v1.10.1) with the latest 1.10.1 client.
After clicking connect the VNC Viewer window disappears.

CendioOssman commented Jan 3, 2020

The relevant log line was this:

VNCSConnST: closing 192.168.1.85::64421: setSize not supported

Should be fixed as of 7301491. If you can do your own builds then go ahead and build that. Or you can wait for the next nightly build and try that.

Thank you for reporting.

wizeman commented Jan 15, 2020

Would it be possible to make a new release with this fix?
The Chocolatey repository has the latest release but due to this bug the TigerVNC server is completely broken. I know the nightly build should work but nightly builds don’t usually get packaged in Chocolatey.

jamieburchell commented Jan 19, 2020 •

I’ve started experiencing an issue connecting to TigerVNC (service) on Windows 10.0.17763. The client I’m using states that the connection was unexpectedly closed. This appears in my log file:

VNCSConnST: closing 10.37.9.17::50367: setSize not supported

I upgraded TigerVNC to the latest version (tigervnc64-1.10.1.exe) but this version exhibits the same behaviour for me. I can’t work out why this has just started happening.

Edit: I’ve switched to TightVNC server for the time being, which appears to work.

jamieburchell commented Jan 20, 2020

Thanks — I can confirm that tigervnc64-1.10.80.exe resolves the issue and that the issue is not present in 1.9.0 — 1.10.0. I must have already been running 1.10.1 when I «upgraded». And apologies, for some reason I hadn’t expected to find the nightly bin under that section.

CendioOssman commented Jan 20, 2020

A simple rebuild won’t help unfortunately as we also need the fix in #930. So we need to roll up a new release in that case.

johnwmail commented Mar 19, 2020

where can I download the new version with this fix?

robin92 commented Apr 1, 2020

Please release a patched version for Windows already. This is making TigerVNC unusable since December!

deedubb commented Apr 8, 2020

404 Not Found
Code: NoSuchKey
Message: The specified key does not exist.
Key: nightly/index.html
RequestId: 6B77FB98C0934A54
HostId: IWtNg8Xy5wXBit69i05yDDsNdeieUEhHZU+SQTdG0MOgDh722Rt67eA5ihZ5FOBj30SLVv5xW+w=

Can anyone post tigervnc64-1.10.80.exe while they fix this?

robin92 commented Apr 8, 2020

Note that I had some issues with cursor position mapping across VNC connection. In reality it was unusable. Could you check if this is the case for you as well?

mdPlusPlus commented May 17, 2020 •

Is there a reason there are still no fixed stable binaries in May?
The nightly site provides unsigned binaries over a http connection. Not exactly ideal.

Edit: Not in June either.
Edit: Neither in July. Seven months since a broken «stable» release and the nightly page errors out.
Edit: Maybe August? Nope.
Edit: End of August and atleast we have a beta release. Hooray, I guess.

Читать:
Какие слова можно составить из букв веникл
btrower commented Jun 21, 2020

[Sorry if this comes off as unkind. I don’t mean it to be. It is frustrating to me that any non-trivial software fails directly without any clue as to what happened or how to fix it. I realize that people may be working on old spaghetti legacy code, but it is weird to install code that absolutely fails 100% in the most basic task of starting up.]
I have used variants of VNC for years and have never had much trouble.
I installed TigerVNC across a few machines under Windows 10 (3 machines, 2 of them virgin) and Windows 7 (1 machine). Its lack of ‘workingness’ is astonishing to me. I have something of the same issue as others here — client simply won’t connect. In my case, it immediately closes without any indication as to what went wrong.
Software should struggle mightily to work and if it fails it should say why. How can your process be releasing executable files that absolutely do not work in any way?
Note that if you have ‘assert’ statements in that code, you need to remove them and replace them with meaningful error messages and an attempt at recovery at least to the point where you can say that you failed, where you failed and why. Asserts don’t even make sense on their face. If you are in a place in your code where you think something is impossible and it happens anyway, you have clearly made a mistake. You compound that mistake by crashing silently instead of signalling what happened and why. I am not saying this comes from an assert statement, but it is consistent with that type of failure. Failing without mentioning why is consistent with a programming ethos that accepts such behavior. The software simply dies without indicating anything, not even the fact that it died. I had to monitor the process to ensure that is what was happening.
I could not find a log file and it should not be a mystery as to whether or not one even exists. One should exist and the software you have released should make that simple to find.
I have uninstalled the software, but sadly, on one of the virgin machines it said it could not remove some of it and that it could be removed manually. Then it cheerily quit without telling me what it failed to remove, where I might find it, and how I might remove it. That leaves me with some unhappy choices — exhaustively search registry and disk attempting to find what remains, accepting that this machine may now have diverged from the other virgin machine, nuking the failed one and attempting to re-do the steps done to get to this point or nuking both machines and starting over from scratch. Sigh.
I get that this is an imperfect world, that people are doing their best, and open source code is donated freely to the community. I just don’t think you do the world a favor by tossing untested, taciturn code over the wall.
Finally, this issue is closed without any explanation as to what the problem was and how it was allegedly fixed. Problems ignored do not cease to be problems. This puts me in mind of this classic FileZilla defect that was repeatedly re-opened and closed again for seven years. https://trac.filezilla-project.org/ticket/5530

MarkMielke commented Jun 23, 2020

I don’t think it is old spaghetti code. The main limitation is that the community supporting the tool is small, and the people with itches to scratch and the means to do so are few.

I would like to see either a new TigerVNC 1.11 release, or a TigerVNC 1.10.2 release with issues such as this fixed, but actually doing this means having somebody volunteer to put in the work. In my case, I am willing to put in the work — but my main target is Linux. So, even if I did proceed to take this on, I wouldn’t necessarily support a Windows build. I mention this, because I seriously am thinking about this, but also because it can’t just be one person. If you care about Windows, what is stopping you from stepping up?

It’s easier to rant than to solve problems.

Putting aside the rant. have you tried the nightly build for Windows, that is being built, and does it resolve your issue? In many cases I have found the nightly build perfectly acceptable for use.

Tech Tips I Couldn’t Find

TightVNC — Connection has been gracefully closed
I had a cascade of problems come up and it took me an embarrassingly long time to figure it all out.

A recently installed game was not launching correctly and I traced the problem down to some outdated graphics adapter drivers. I installed the latest from AMD and suddenly TightVNC (server on the system with the game on it) would no longer allow me to connect to it from my other computers. It would prompt for a password and then say, «Connection has been gracefully closed.»

I tried restarting the VNC service, rebooting, reinstalling TightVNC. Nothing worked.

The TighVNC server logs kept coming up with:
Desktop server application failed with error: The desktop server time out expired
write() function stopped because transport has not been initialized yet.
AnonymousPipe::read() failed (m_hRead = 0000000000000370)
The Pipe’s read function failed after ReadFile calling (The pipe has been ended. (109))
Exception during DesktopClientImpl creaion:
Error during RFB initialization:
Connection will be closed:

There was very little information of this sort of problem out there. At least that I could find and that matched the log output.

I looked through what exactly AMD bundled with the driver update and one interesting item had to do with .Net. On a hunch, I check my Windows updates and found that I didn’t have SP1 installed. The reason being that I never got around to fixing having the correct partition marked as active. Once I fixed that, installed SP1, and rebooted I was back in business.

Hopefully no one will ever need this information, but if you do I hope I have saved you some headaches.

If you happen to have the issues with installing SP1 on Win 7 with error code: 800F0A12.
Click Start (Windows logo).
Type «CMD»
Right click the CMD search result and select Run as administrator.
Enter «diskpart» into the command prompt.
Assuming you have a fairly default installation, once DiskPart is running, enter «select disk 0»
Enter «list partition»
You should get a couple partitions listed with one being about 100MB (NOT GB). It will probably be partition 1 and so I will use it in my instructions.
Enter «select partition 1»
Enter «active»
Enter «exit»
Now reboot your PC. Once Windows comes back up, retry installing SP1.

Похожие статьи