LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-15-2009, 10:21 AM   #1
nosnetrom
LQ Newbie
 
Registered: Nov 2008
Location: Texas
Distribution: Ubuntu
Posts: 8

Rep: Reputation: 0
General VNC connectivity?


I always feel self-conscious posting in Linux-related forums, being the n00b that I am... Anyway, I've been unable to connect to our Ubuntu 8.10 Server using a VNC client; SSH works just fine, but VNC times out. I see that the default VNC server on Ubuntu is something called Vinagre; is that not compatible with VNC? (FWIW, been trying to connect from a PC with VNC Viewer, and from a Mac with COTVNC.)

Any suggestions/resources to fix this or perhaps start over? TIA!
 
Old 06-15-2009, 10:26 AM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Odd, but it should work, mine seems quite happy and I don't remember having to do anything different to it.

Also, Vinagre is the client, I believe the server is called Vino, though you may be using X11vnc. Could you have a look and tell us, please
 
Old 06-15-2009, 02:20 PM   #3
nosnetrom
LQ Newbie
 
Registered: Nov 2008
Location: Texas
Distribution: Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
Funny, I even booted to another Ubuntu machine, yet the Vinagre client didn't see the Ubuntu 8.10 server in question. Could there be a firewall setting that is getting in the way?
 
Old 06-15-2009, 02:54 PM   #4
nuwen52
Member
 
Registered: Feb 2009
Distribution: Debian, CentOS 5, Gentoo, FreeBSD, Fedora, Mint, Slackware64
Posts: 208

Rep: Reputation: 46
I think, and I could be wrong, but the default firewall on Ubuntu allows ssh and not much else (if anything). You will most likely have to open the correct ports for VNC in the firewall settings.
 
Old 06-15-2009, 03:03 PM   #5
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
No; turn it on in Ubuntu and it should add the connection, especially since it is included as base. The only way a firewall will get in the way in this course is with a 'custom' firewall (custom? can't be the right word...).

Just to set my mind at rest, you are sure you've started the VNC server?
 
Old 06-15-2009, 03:54 PM   #6
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 1,398

Rep: Reputation: 101Reputation: 101
Hi nosnetrom,

You said "our" server. Is there an administrator or is that you? If there is an admin they may need to grant some permissions to your account. If not, here are a few Ubuntu VNC quirks...

Ubuntu, as installed, does a share desktop/remote desktop thing similar to Windows. If there is no monitor and keyboard on the server you need to have an account automatically logon - then you can remotely access that account's desktop.

On the server from the panel (menu) choose System; Preferecnces; Remote Desktop and make sure that sharing is allowed. Then System; Administration; Login Window - look at the Security tab and "[X] Enable Automatic Login" for the account with which you wish to connect remotely. I think that should do it. If all else fails, open a terminal window on the server and type "sudo vncpasswd username" where username is the account which you will use to connect to the server. I don't think this is required for the plain Ubuntu desktop sharing - I have not used it for a while. This was required when setting up VNC on Red Hat and I do it instinctively - needed or not.

If you change the VNC server from Vino to x11vnc for example there are a lot of configuration options which are unavailable with Vino. Let me know if you are using something x11vnc as I have some good instructions for setting it up. I use it and it seems faster than Vino (which is quite a resource hog).

Good luck,

Ken
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Outgoing Connectivity problems. Incoming connectivity fine Fionnbharr Linux - Newbie 1 10-02-2008 01:51 PM
rhel4 vnc problem, where to configure GUI vnc server? hocheetiong Linux - Newbie 1 10-24-2007 07:05 AM
VNC connection to SUSE Linux 10 from a Windows XP VNC Viewer determin2excel Linux - Software 13 10-03-2007 10:38 AM
trying to remote to vnc server through vnc client on XP. Kilahchris Linux - Newbie 3 11-22-2006 04:50 PM
windows vnc client and linux vnc server problem tungaw2001 Linux - Software 8 06-17-2006 01:06 AM


All times are GMT -5. The time now is 08:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration