Hi all,
I have a Windows XP PC and a Centos PC (Centos 4.3 release, kernel- 2.6.9-34.EL) which are in the same LAN. Currently, I am able to use VNC server on the centos to view the Windows PC, but not able to view the Centos PC from the Windows PC. This applies for even file sharing also. The samba server is running and I can view the windows network from Centos PC but in the Windows network, not able to view the Centos PC. Also not able to print from Centos to the LAN printer. Any help is greatly appreciated.
Thank You, Padmaja
----- Original Message ----- From: Padmaja To: CentOS mailing list Sent: Saturday, February 23, 2008 10:14 AM Subject: [CentOS] Reg. VNC server and Windows and Centos interworking
Hi all,
I have a Windows XP PC and a Centos PC (Centos 4.3 release, kernel- 2.6.9-34.EL) which are in the same LAN. Currently, I am able to use VNC server on the centos to view the Windows PC, but not able to view the Centos PC from the Windows PC. This applies for even file sharing also. The samba server is running and I can view the windows network from Centos PC but in the Windows network, not able to view the Centos PC. Also not able to print from Centos to the LAN printer. Any help is greatly appreciated.
Thank You, Padmaja
Padmaja,
Have you started vnc on the Centos system - just type vncserver on the command line.
Rob
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi,
Thanks for such a fast response. I typed vncserver at the command line and it asked me for a password. It said I would require password to enter the desktop. I did not set any before so gave some dummy password. It again showed Verify and I typed the same password again. Then the screen showed something like
for user padmaja, the startup script is in /home/padmaja/.vnc/Xstartup the startup applications are in /home/padmaja/.vnc/Xstartup the log file is in /home/padmaja/.vnc/sipserver.com.log
After this I typed ps aux and saw that there is a Xvnc running againt pid 11435.
Now, I tried to connect to the Centos PC from Windows using Vnc client and it gave the error
"unable to connect to host: connection refused (10061)."
I cant understand what the issue is. I am however able to connect to Windows PCs from VNC on windows.
Regards, Padmaja ----- Original Message ----- From: centos@likley.co.uk To: "CentOS mailing list" centos@centos.org Sent: Saturday, February 23, 2008 4:02 PM Subject: Re: [CentOS] Reg. VNC server and Windows and Centos interworking
----- Original Message ----- From: Padmaja To: CentOS mailing list Sent: Saturday, February 23, 2008 10:14 AM Subject: [CentOS] Reg. VNC server and Windows and Centos interworking
Hi all,
I have a Windows XP PC and a Centos PC (Centos 4.3 release, kernel- 2.6.9-34.EL) which are in the same LAN. Currently, I am able to use VNC server on the centos to view the Windows PC, but not able to view the Centos PC from the Windows PC. This applies for even file sharing also. The samba server is running and I can view the windows network from Centos PC but in the Windows network, not able to view the Centos PC. Also not able to print from Centos to the LAN printer. Any help is greatly appreciated.
Thank You, Padmaja
Padmaja,
Have you started vnc on the Centos system - just type vncserver on the command line.
Rob
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Padmaja wrote:
Hi,
Thanks for such a fast response. I typed vncserver at the command line and it asked me for a password. It said I would require password to enter the desktop. I did not set any before so gave some dummy password. It again showed Verify and I typed the same password again. Then the screen showed something like
for user padmaja, the startup script is in /home/padmaja/.vnc/Xstartup the startup applications are in /home/padmaja/.vnc/Xstartup the log file is in /home/padmaja/.vnc/sipserver.com.log
After this I typed ps aux and saw that there is a Xvnc running againt pid 11435.
Now, I tried to connect to the Centos PC from Windows using Vnc client and it gave the error
"unable to connect to host: connection refused (10061)."
I cant understand what the issue is. I am however able to connect to Windows PCs from VNC on windows.
Please don't top post :)
Look and see if the iptables firewall in running on the CentOS box, if so you will need to open the correct port to connect from an external machine. ================================================================= as root do the command: service iptables status
if it says anything other than this, iptables is running:
1st Possibility: Firewall is stopped.
Second Possibility: Chain INPUT (policy ACCEPT) target prot opt source destination
Chain FORWARD (policy ACCEPT) target prot opt source destination
Chain OUTPUT (policy ACCEPT) target prot opt source destination
Both of those outputs mean the firewall is not running.
If there is something like this, the firewall is running:
Chain RH-Firewall-1-INPUT (2 references) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT icmp -- anywhere anywhere icmp any ACCEPT ipv6-crypt-- anywhere anywhere ACCEPT ipv6-auth-- anywhere anywhere ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ftp ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:rsync ACCEPT tcp -- anywhere anywhere state NEW tcp dpts:6881:6899 REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
=================================================================
How you will open up the firewall (if it is running) depends on if both machines are behind a firewall or touching the internet ... whether you want to ONLY connect from one machines or 1 subnet to this machine via VNC (remember that VNC, by itself is NOT secure, and I would not connect or open standard VNC across the internet).
<snip>
Thanks, Johnny Hughes
Padmaja wrote:
Hi,
Thanks for such a fast response. I typed vncserver at the command line and it asked me for a password. It said I would require password to enter the desktop. I did not set any before so gave some dummy password. It again showed Verify and I typed the same password again. Then the screen showed something like
for user padmaja, the startup script is in /home/padmaja/.vnc/Xstartup the startup applications are in /home/padmaja/.vnc/Xstartup the log file is in /home/padmaja/.vnc/sipserver.com.log
After this I typed ps aux and saw that there is a Xvnc running againt pid 11435.
Now, I tried to connect to the Centos PC from Windows using Vnc client and it gave the error
"unable to connect to host: connection refused (10061)."
I cant understand what the issue is. I am however able to connect to Windows PCs from VNC on windows.
Vncserver creates separate desktops for each instance and should have given you a 'screen number" when you started it - probably :1 for the first one. Then you have to specify the matching screen when you connect from the client: hostname:1. If you have the firewall running on Centos, you have to permit the appropriate port in ( 5900 + screen number). If you are expecting to access the desktop running on the console you need a different approach. KDE and Gnome have 'screen sharing' options for the running desktop.
Hi,
Thanks for your response, I could connenct to the Centos PC from Windows using VNC. However, I do not see the icons etc., that I see when I access any windows PC. I ran the command ps aux and saw there is a vnc process running for iconic view, but 'm not able to view the icons on the desktop. What should I do to get access to the GUI?
Thanks for your help, Padmaja
----- Original Message ----- From: "Les Mikesell" lesmikesell@gmail.com To: "CentOS mailing list" centos@centos.org Sent: Monday, February 25, 2008 5:23 AM Subject: Re: [CentOS] Reg. VNC server and Windows and Centos interworking
Padmaja wrote:
Hi,
Thanks for such a fast response. I typed vncserver at the command line and it asked me for a password. It said I would require password to enter the desktop. I did not set any before so gave some dummy password. It again showed Verify and I typed the same password again. Then the screen showed something like
for user padmaja, the startup script is in /home/padmaja/.vnc/Xstartup the startup applications are in /home/padmaja/.vnc/Xstartup the log file is in /home/padmaja/.vnc/sipserver.com.log
After this I typed ps aux and saw that there is a Xvnc running againt pid 11435.
Now, I tried to connect to the Centos PC from Windows using Vnc client and it gave the error
"unable to connect to host: connection refused (10061)."
I cant understand what the issue is. I am however able to connect to Windows PCs from VNC on windows.
Vncserver creates separate desktops for each instance and should have given you a 'screen number" when you started it - probably :1 for the first one. Then you have to specify the matching screen when you connect from the client: hostname:1. If you have the firewall running on Centos, you have to permit the appropriate port in ( 5900 + screen number). If you are expecting to access the desktop running on the console you need a different approach. KDE and Gnome have 'screen sharing' options for the running desktop.
-- Les Mikesell lesmikesell@gmail.com
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Reply bottom-posted:
On Mon, Feb 25, 2008 at 12:52 AM, Padmaja padmaja.rv@vodcalabs.com wrote:
Hi,
Thanks for your response, I could connenct to the Centos PC from Windows using VNC. However, I do not see the icons etc., that I see when I access any windows PC. I ran the command ps aux and saw there is a vnc process running for iconic view, but 'm not able to view the icons on the desktop. What should I do to get access to the GUI?
Thanks for your help, Padmaja
----- Original Message ----- From: "Les Mikesell" lesmikesell@gmail.com To: "CentOS mailing list" centos@centos.org Sent: Monday, February 25, 2008 5:23 AM Subject: Re: [CentOS] Reg. VNC server and Windows and Centos interworking
Padmaja wrote:
Hi,
Thanks for such a fast response. I typed vncserver at the command line and it asked me for a password. It said I would require password to
enter
the desktop. I did not set any before so gave some dummy password. It again showed Verify and I typed the same password again. Then the
screen
showed something like
for user padmaja, the startup script is in /home/padmaja/.vnc/Xstartup the startup applications are in /home/padmaja/.vnc/Xstartup the log file is in /home/padmaja/.vnc/sipserver.com.log
After this I typed ps aux and saw that there is a Xvnc running againt
pid
Now, I tried to connect to the Centos PC from Windows using Vnc client and it gave the error
"unable to connect to host: connection refused (10061)."
I cant understand what the issue is. I am however able to connect to Windows PCs from VNC on windows.
Vncserver creates separate desktops for each instance and should have given you a 'screen number" when you started it - probably :1 for the first one. Then you have to specify the matching screen when you
connect
from the client: hostname:1. If you have the firewall running on
Centos,
you have to permit the appropriate port in ( 5900 + screen number). If you are expecting to access the desktop running on the console you need
a
different approach. KDE and Gnome have 'screen sharing' options for the running desktop.
You need some sort of xstartup, I believe. I run VNC at home and it works great, once it's set up correctly. Not sure if this will work, it was the first google hit (and it looks like it's set up for RHEL4):
http://www.skullbox.net/vncserver.php
I use Gnome since it's the default.
Padmaja wrote:
Hi,
Thanks for your response, I could connenct to the Centos PC from Windows using VNC. However, I do not see the icons etc., that I see when I access any windows PC. I ran the command ps aux and saw there is a vnc process running for iconic view, but 'm not able to view the icons on the desktop. What should I do to get access to the GUI?
If you don't create your own /home/username/.vnc/xstartup file, vncserver will run twm which is a very old and unfriendly window manager. You probably wan to run gnome instead. But, as I mentioned before, this is going to run an independent screen. If instead, you want to control the console session remotely, try System/Preferences/Remote Desktop from the Gnome menu and allow remote connections. This will be to the :0 (default) screen.
Finally got my install working, Centos didn't recognise my m/board NIC so I had to install another NIC. Now, I've lost the windows install. I need it for my Walkman and Palm. Never, ever got any distro to see the Tunsgsten E. I can see the Win in Grub but it says there's a file missing, insert system disk. Where have I seen that before? Anyway, how do I get into Grub and what do I need to add to make win bootable? Win is on sda2 amd Centos is on sda3 + 5. In the grub folder all it says in the system map is (hd0) /dev/sda. Nothing else. Ta.
Steve.
Stephen McManus wrote:
Finally got my install working, Centos didn't recognise my m/board NIC so I had to install another NIC. Now, I've lost the windows install. I need it for my Walkman and Palm. Never, ever got any distro to see the Tunsgsten E. I can see the Win in Grub but it says there's a file missing, insert system disk. Where have I seen that before? Anyway, how do I get into Grub and what do I need to add to make win bootable? Win is on sda2 amd Centos is on sda3 + 5. In the grub folder all it says in the system map is (hd0) /dev/sda. Nothing else. Ta.
Steve.
You need an entry like this for windows:
title Windows rootnoverify (hd0,1) chainloader +1
(This is assuming that GRUB is on MBR and windows is all located on /dev/sda2)
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Les Mikesell Sent: Monday, February 25, 2008 11:02 PM To: Padmaja Cc: CentOS mailing list Subject: Re: [CentOS] Reg. VNC server and Windows and Centos interworking
Padmaja wrote:
Hi,
Thanks for your response, I could connenct to the Centos PC from Windows using VNC. However, I do not see the icons etc., that I see when I access any windows PC. I ran the command ps aux and saw there is a vnc process running for iconic view, but 'm not able to view the icons on the desktop. What should I do to get access to the GUI?
If you don't create your own /home/username/.vnc/xstartup file, vncserver will run twm which is a very old and unfriendly window manager. You probably wan to run gnome instead. But, as I mentioned before, this is going to run an independent screen. If instead, you want to control the console session remotely, try System/Preferences/Remote Desktop from the Gnome menu and allow remote connections. This will be to the :0 (default) screen.