VNC and Webmin connections refused by Server

Discussion and Technical Support for general software applications and utilities including OS related issues.
Post Reply
Silvertop
Member
Member
Posts: 8
Joined: May 10th, 2012, 7:07 am

VNC and Webmin connections refused by Server

Post by Silvertop »

Hello all,
During a storm a couple of days ago the system went down and connection was lost. I could not reconnect to the Linux Server (Ubuntu 12.04) so tried a full reinstall after reformat.

After reinstall I cannot access via VNC or Webmin and the message is that the "target machine actively refused connection"

Putty connects and works a treat but nothing else. Have checked that Samba installed and working and have tried a number of reinstalls of both VNC and Webmin to no avail.

Any advice much appreciated

John
John

Intel i3 on GA-B75M-D3H
Ram 4g Corsair
o/s Ubuntu 12.04 on 500g WD 7200 Hdd
Media 2x 2T Seagate 7200 Hdd
1x 1T Seagate 7200
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: VNC and Webmin connections refused by Server

Post by Ian »

Hi John,

This sounds like a firewall issue, either on your server or on the host.

Alternatively, it could be VNC or Webmin have not started up on the server properly.

Try issuing the following command in Putty:

Code: Select all

ps -ef |grep webmin


and you should get something similar to the following

Code: Select all

root      1890     1  0 15:05 ?        00:00:00 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf


Try the same for vnc

Code: Select all

ps -ef | grep vnc



You should get a whole lot of output come back but amongst it you should see something like:

Code: Select all

Xvnc4 :1 -desktop MediaServer:1 (htkh) -auth /home/htkh/.Xauthority -geometry 1280x1024 -depth 24 -rfbwait 30000 -rfbauth /home/htkh/.vnc/passwd


Does this help?

Ian.
Silvertop
Member
Member
Posts: 8
Joined: May 10th, 2012, 7:07 am

Re: VNC and Webmin connections refused by Server

Post by Silvertop »

Thanks for the prompt reply Ian,

The following is the readout from the first command

root 1697 1 0 09:29 ? 00:00:00 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf
john 3108 2988 0 10:17 pts/0 00:00:00 grep --color=auto webmin

and this is all I got from the second command

john 3368 2988 0 10:20 pts/0 00:00:00 grep --color=auto vnc


When I try to connect via the URL (192.168.0.114) I still receive the "This web page is not available
The connection to 192.168.0.114 was interrupted." On running a diagnostic from Windows I receive the message that the connection was refused by the other terminal

Not sure which way to proceed from here but intend to keep trying

Thanks again

John
John

Intel i3 on GA-B75M-D3H
Ram 4g Corsair
o/s Ubuntu 12.04 on 500g WD 7200 Hdd
Media 2x 2T Seagate 7200 Hdd
1x 1T Seagate 7200
Silvertop
Member
Member
Posts: 8
Joined: May 10th, 2012, 7:07 am

Re: VNC and Webmin connections refused by Server

Post by Silvertop »

Hello Ian,

have fully reinstalled the OS exactly as required as per your written info and still get the same result. Talk about frustrating!!

I can access via Putty but other than that am denied access. Am wondering if it has something to do with the Windows Home Network security and password? Don't know ... clutching at straws about now. :-P

John
John

Intel i3 on GA-B75M-D3H
Ram 4g Corsair
o/s Ubuntu 12.04 on 500g WD 7200 Hdd
Media 2x 2T Seagate 7200 Hdd
1x 1T Seagate 7200
ajburnet
Member
Member
Posts: 1
Joined: May 9th, 2013, 8:41 am

Re: VNC and Webmin connections refused by Server

Post by ajburnet »

Hi - I have a similar problem, although my virtual desktop appears to be running but I cannot connect!

I am running this on a VM and there are no firewalls enabled (on my Mac or via VMware).

I can reach the vm for ssh etc so there is connectivity.

Any idea (sorry I'm stumped so can't help those posting before me)!?

Thanks,

Alex
Post Reply