LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-26-2016, 11:29 AM   #1
xiongnu
Member
 
Registered: Sep 2004
Distribution: Devuan, Void
Posts: 264

Rep: Reputation: 23
VNC server closed connection unexpectedly


hi, i'm trying to access my home vnc server from internet with SSH, i've setup the ssh, vnc on the home server (debian7 based) and port forwarding on the router. Tunnelling x11vnc via SSH is ok, but when i try to launch vncviewer from remote location, vnc is closed unexpectedly.

>>>>>>>>>>>>>>

$ ssh -t -p xxxx -L 5900:localhost:5900 myhomeip 'x11vnc -localhost -display :0"
......
26/11/2016 11:54:33
The VNC desktop is: localhost:1
PORT=5901

~$ vncviewer -encodings "copyrect tight hextile" localhost:0
Connected to RFB server, using protocol version 3.8
Performing standard VNC authentication
Password:
Authentication successful
Desktop name "16big:0.0"
VNC server default format:
32 bits per pixel.
Least significant byte first in each pixel.
True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0
Using default colormap which is TrueColor. Pixel format:
32 bits per pixel.
Least significant byte first in each pixel.
True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0
Using shared memory PutImage
vncviewer: VNC server closed connection
ShmCleanup calle
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Putty:server unexpectedly closed network connection dyool Ubuntu 8 03-07-2012 08:35 PM
PuTTY Fatal Error: Server unexpectedly closed network connection pwwellons Linux - Software 2 02-10-2011 02:10 PM
Putty Fatal error: server unexpectedly closed network connection. smartgupta Linux - Server 1 12-22-2010 09:14 AM
Putty: server unexpectedly closed network connection Dshah Linux - Server 2 12-20-2009 09:57 AM
Issue with vnc server "tightVNC: VNC server closed connection", due to Screensaver frenchn00b General 1 07-30-2009 06:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration