Configure VNC to access Ubuntu GUI connection refused
location: ubuntuforums.com - date: November 20, 2013
not sure if this is the right place for this. BTW...I am a noob.
I installed Xen Server 6.2 on a home PC. As a VM, I then installed Ubuntu 12.04 server 64bit. I can access this from a Win XP machine using the XenCentre Client.
However, the terminal and I "aren't close friends" and I'd like to be able to access the Ubuntu installation via a GUI.
Here's what I did from the terminal:
Installed x11vnccreated a script in /etc/init/x11vnc.confscriptx11vnc -xkb -noxrecord -noxfixes -noxdamage -display :0 -auth /var/run/lightdm/root/:0 -forever -bg -o /var/log/x11vnc.log
installed lightdmchanged permission on that file sudo chmod 660 /etc/x11vnc/x11vnc.passenabled ufwenabled default ports for VNC
sudo ufw allow 5800/tcp
sudo ufw allow 5900/tcp
sudo ufw allow 6000/tcp
When I try to use VNC viewer to 192.168.1.103:0 it gives an error - Connection refused (10061).
There is a lot on the web about this problem - I've trawled through a lot of it, without resolvin
VNC connection not working
location: linuxquestions.com - date: March 3, 2009
I am trying to setup VNC from Fedora 10. I install vnc-server-4.1.3-1.fc10 (i386) and when I run 'vncserver' everything looks fine:
New 'sugar.tca.local:3 (rob)' desktop is sugar.tca.local:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/sugar.tca.local:1.log
But when I connect from my Windows box I just get a grey screen with three checkboxes in the top left corner:
__Accept clipboard from viewers
__Send clipboard to viewers
__Send primary selection to viewers
The first time I try to connect after starting the vncserver I get this error message:"Could not connect to session bus. Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."When I click "Close" I get another message:"Could not acquire name on session bus."
When I checked the error log on the Fedora b
Display won't sleep (sleeping is inhibited) after VNC connection
location: ubuntuforums.com - date: February 16, 2014
I have a Xubuntu 12.04 workstation running vino-server 3.4.2 (for VNC access).
In Power Manager (xfce4-power-manager), the physical monitor is set to sleep after 1 minute of inactivity.
This works well after reboot. However, after I first connect to the machine using VNC, and then disconnect again, the display will always remain on.
(Client used: TightVNC portable on Windows, built Oct 29 2009)
Looks like VNC somehow inhibits the xfce4 power manager.
As a successful workaround, I have created a task that will periodically restart the power manager.
(Using gnome-schedule, create a task that runs every hour. Configure it as "X application (suppress output)")
Better solutions would be welcome. And, how can we find out if it's a problem in TightVNC, vino-server, or in xfce4-power-manager?
VNC client connection notification
location: linuxquestions.com - date: September 14, 2007
I have a couple of boxes that are running a vnc service on the local display in an always shared state. I was wondering if there were any known programs or ways to have a notification displayed for the console user that someone has connected. Using the -accept option isn't really suitable because for the most part there may not be a person at the console. Looking for something that could possibly show the hostname or ip of the machine that someone connects from and a timestamp. If an applet isn't available for such a thing the ability to have the connection show up in xconsole might suffice as well but couldn't figure it out... Any information would be greatly appreciated!
My linux vps gives vnc the error: the connection was refused by the host computer
location: linuxquestions.com - date: December 31, 2014
Never rented a VPS before, and I just got it yesterday. Was working fine and I tried to get used to it, but a lot of it is a mystery to me still.
Anyway, I wasn't getting any internet connection (weird because I'm viewing the dekstop with vnc viewer right?). Nothing internet releated is working, so I decided that I was going to restart the vps. I did that. Now I can't connect with vnc viewer because of this error I get when clicking the connect button:
"The connection was refused by the host computer"
I logged onto putty, I put in the IP, logged in as root. Used my password, seemed to work fine. Tried changing the password, that worked but didnt accomplish anything. I'm wondering what I should do now. Any suggestions? I just want to use my vps...
VNC connection fails: vino<>vinagre
location: linuxquestions.com - date: March 10, 2014
I cannot get a vnc connection to my headless PC over the home network. I'm trying to connect from Linux Mint Petra w/ Cinnamon, while the headless box has LMDE w/ Mate, I've been trying this for a while, but it hasn't worked yet unless I connect the LMDE box to a screen and enable vnc connections from its own desktop.
I have vino installed on LMDE, and I can connect to it using vinagre on the client side, but I just see a black rectangle in the vinagre screen, that's it. As soon as I make the connection, I get a pop-up that says a remote computer is trying to get access to my desktop. I don't get to allow or deny though, the pop-up just disappears if I click it, the vnc screen stays black.
Here is some output from vino:
VNC connection from Windows 7 to CentOS 6.5 for one user not authenticating
- date: October 22, 2014
I have installed VNC (tigervnc-server.x86_64) on CentOS 6.5 successfully. These are the entries of /etc/sysconfig/vncservers
These are my firewall entries allowing VNC on CentOS 6.5:
~]# cat /etc/sysconfig/iptables
# Firewall configuration written by system-config-firewall
# Manual customization of this file is not recommended.
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp -m multiport --dports 5901:5902,6001:6002 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -j REJECT --reject-wi
[SOLVED] VNC The connection was refused by the host computer
location: linuxquestions.com - date: June 27, 2014
I have setup a RHEL machine in EC2 and am able to work with it using SSH fine. I followed this guide to install a GUI: http://stackoverflow.com/questions/5...n-ec2#13318570 and it worked fine.
Since then, I have created other EC2 instances, following the same guide, using both RHEL and CentOS; however, when trying to connect via VNC I get the error: The connection was refused by the host computer.
What am I doing wrong? I have a security rule configured in EC2 that allows incoming traffic to port 5902 and the host's iptables has a similar rule.
Hoping to get this working ASAP as I will be away soon and wanted to fully set this up and transfer over some files before then.
VNC through SSH tunnel connection problems after aptupgrade
location: ubuntuforums.com - date: February 16, 2008
I am running MythBuntu 7.10 with kernel
I connect using TightVNC through an SSH tunnel to a remote computer running MythBuntu 7.10 (kernel 2.6.22-14-generic dual-core AMD ). Until about 2 days ago, I was connecting just fine. But now it will not work.
Around the same time, I did an apt-get upgrade and I am not sure if that has caused a problem.
Here is how I connect to my remote computer.
ssh server.address.com -L 5900:server.address.com:5909
# I connect to desktop number 9 typically
I can still connect with SSH no problem, but VNC will not connect. I am using KDE's remote desktop client (krdc) to connect vnc:/127.0.0.1:0 which does the whole ssh tunnel thing.
When I click connect, krdc (the vnc-viewer) just sits there trying to authenticate, but nothing happens. Occasionally on the SSH window (which is still connect just fine), I get messages like:
channel 4: open failed: connect failed: Connection timed out
Here is the l
VNC connection refused
location: linuxquestions.com - date: November 11, 2006
hello linux community
i have gnome installed on my FC3. Now, i wanted to start vnc through ssh, and i ran the following:
/usr/bin/vncserver status , and prompted me to set a password, which i did
/usr/bin/vncserver and the following came up :
Page: 1 2 3 4 5 6 7 8 9 10