LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-24-2009, 10:27 AM   #1
Jay100
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Rep: Reputation: 0
TightVNC issue connection closed


Hi guys, I am not sure if I have posted this in the right forum, apologies if I haven't.
I have recently installed a Ubuntu 9.04 Jaunty server and very much enjoy this side of the computing world.

I simply wanted to be able to access this server from the internet. I installed TightVNC on a remote windows machine and turned on the remote desktop preferences on my Ubuntu server. All worked fine and I could access my server. But I needed to be able to transfer files. TightVNC has this ability but seemed to require a server version of TightVNC on the host computer, so consequently, I installed it on my Ubuntu machine.
However, now, I keep getting an error.

I log onto the address of my server from the internet and all is fine so far, it asks me for the password, which I type in. It recognises the password, but then has problems and instantly kicks me, displaying the message 'Connection Closed'

I have a log of what is going on and if I posted it here, just wondered if anyone could shed some light as to what is going on as I can't make head nor tail of it. Any response would be greatly appreciated

log:
vncSockConnect.cpp: accepted connection from 86.137.127.198
vncClient.cpp: vncClient() executing...
vncClient.cpp: client connected : 86.137.127.198 (id 20)
vncServer.cpp: AddClient() done
vncClient.cpp: negotiated protocol version, RFB 3.8
vncClient.cpp: enabling TightVNC protocol extensions
vncClient.cpp: performing VNC authentication
i:\tightvnc-1.3.10-setup\vnc_winsrc\winvnc\vncPasswd.h: PASSWD : ToText called
i:\tightvnc-1.3.10-setup\vnc_winsrc\winvnc\vncPasswd.h: PASSWD : ToText called
Wed Jun 24 15:31:53 2009
vncMenu.cpp: tray icon updated ok
WallpaperUtils.cpp: KillActiveDesktop
WallpaperUtils.cpp: unable to access Active Desktop object:80040154
vncDesktop.cpp: initialising desktop server
vncDesktop.cpp: KillScreenSaver...
vncDesktop.cpp: SCR-WBB: current display: w=1024 h=768 bpp=32 vRfrsh=60.
vncService.cpp: unable to open desktop, error=120
vncService.cpp: SelectHDESK() to Default (3 from 38
vncService.cpp: SelectHDESK failed to close old desktop 38, error=170
vncServer.cpp: failed to initialize desktop object
VSocket.cpp: closing socket
vncDesktop.cpp: killing desktop server
vncServer.cpp: Authenticated() done
vncServer.cpp: RemoveClient() done
vncClient.cpp: ~vncClient() executing...
vncClient.cpp: deleting socket
vncMenu.cpp: tray icon updated ok
vncMenu.cpp: tray icon updated ok
WallpaperUtils.cpp: unable to access Active Desktop object:80040154
Jay100 is online now Report Post Edit/Delete Message
 
Old 06-24-2009, 10:54 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if you're doing this over the net, then please please please stop using vnc. use nx instead, which will give you proper user authentication and connection security over ssh. And a much much nicer user experience too. VNC is so weak is so many ways you're bound to be compromised sooner or later.

Last edited by acid_kewpie; 06-24-2009 at 10:55 AM.
 
Old 06-24-2009, 11:59 AM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
nx ? WTF is that ?
Oh! Here: http://www.nomachine.com/select-pack...?os=linux&id=1
It looks very interesting. Thanks for that one
 
Old 06-24-2009, 12:37 PM   #4
Jay100
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
OK thanx acid, for that advice. I have had a look at the link provided by tredegar but not sure what the limitations of the free edition are exactly. Also I need to be able to access my Ubuntu server from a windows pc over the net. Any advice on software and/or links to setup instructions would be greatly appreciated in order for me to accomplish this
 
Old 06-24-2009, 12:44 PM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
Also I need to be able to access my Ubuntu server from a windows pc over the net.
It looks like nx doesn't care.

See here: http://www.nomachine.com/documents.php

and here: http://netx.sourceforge.net/

All the docs you need are in the three links I have given you.
 
Old 06-24-2009, 12:58 PM   #6
Jay100
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
OK thanx for the info links, tredegar... I shall delve into this NX stuff and see what happens when I come out the other side. Shall post my success or failure after:P
 
Old 06-24-2009, 01:07 PM   #7
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
Shall post my success or failure
We look forward to hearing about your progress.
... And welcome to LQ!
 
Old 06-24-2009, 01:12 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
the free edition is that it is only useful for system administration, not user applications, in that it only allows two connections at once, which, if you were aware, is how Windows remote desktop compares to terminal services. 2 connections vs loads.

Most people who mention nx will also mention freenx as an alternative nx server without limitations, but AFAIK freenx was initiated before an official free version of the real nx server was available and it's not nearly as user friendly. So if you only want personal access, freenx provides nothign interesting at all.

Last edited by acid_kewpie; 06-24-2009 at 01:13 PM.
 
Old 06-24-2009, 03:44 PM   #9
Jay100
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
OK, I am at a point of joy but also of near crying! I have the nxserver installed and the client installed on the remote windows computer.
I have a user configured and can log in with user details on the windows machine. All is well and it seems great.
However the one big problem that I can't seem to find any info on, is just how do I actually transfer files across from my windows machine to my ubuntu using this nxserver? or upload for that matter?
Any help really will be hugely appreciated as I am at a complete loss
regards
James
 
Old 06-24-2009, 03:52 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
I can't remember exactly where it's done, but in the normal windows nx client there's an option to share drives one way or another.

on the main login screen, hit configure, then on the linux client there's a services tab which I assume is there on windows too.

note that nx uses ssh for all it's doings, so you could easily just use an ssh file transfer program like winscp to bypass the need to do it all laahh dee dah in the nx client.

Last edited by acid_kewpie; 06-24-2009 at 03:56 PM.
 
Old 06-24-2009, 04:11 PM   #11
Jay100
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for the quick reply. Yes I have had a look at the services tab and I click to 'enable SMB printer and file sharing' and then an error message telling me the SMB server is not running
I use bitvise tunnelier and I have just edited this post as I have seen that I can indeed use this across the internet. It means that as good as this nx server appears to be, there seems to be so much hassle trying to get file transfers up and running (at least to someone like me who is only half tech savvy, if that, with this stuff) I may just have to forget nxserver for now, or maybe look into this samba stuff. It does look like a real task so at the moment I think I will have to look into acheiving what I want from tunnelier, now that I have discovered its internet capabilties. Thanks for your eye opening information. I will keep an eye on this thread in case there is any more light to be shed on the issues raised.
Kind regards
James

Last edited by Jay100; 06-24-2009 at 04:36 PM. Reason: discovered wrong information
 
Old 06-25-2009, 01:44 AM   #12
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
I think on the windows client it just means that you have no windows shares created to take across with you.
 
  


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
SSH issue ""Server unexpectedly closed network connection" Errsta_Fonzarelli Linux - Software 12 05-24-2010 02:35 PM
Help me.... why Connection reset by peer Connection to medusa closed. Cabellos-Quiroz-JL Linux - Newbie 1 06-04-2009 12:58 PM
TIghtvnc issue kniwor Linux - Newbie 7 11-12-2006 01:18 PM
tightVNC - RFB socket closed abapdr Linux - General 0 05-26-2004 03:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:04 PM.

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