<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: VNC problems in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962508#M27422</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;VNC uses between ports 5900 and 5910 normally.&lt;BR /&gt;&lt;BR /&gt;The vncserver process creaters configuration files in the users home directory in a dirctory called .vnc&lt;BR /&gt;&lt;BR /&gt;Pay particular attention to xstartup if you are planning on deploying a working vnc server.&lt;BR /&gt;&lt;BR /&gt;What commonly happens is someone lanches vncserver without specifying the port. Then someone else comes along a week or whatever later and does the same thing. The vncserver process is smart enough to see that port 5901 is occupied and grabs 5901.&lt;BR /&gt;&lt;BR /&gt;Same basic concept for DISPLAY instances.&lt;BR /&gt;&lt;BR /&gt;There are lock files in /tmp that can be deleted to clear this problem up.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Thu, 22 Mar 2007 09:11:51 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2007-03-22T09:11:51Z</dc:date>
    <item>
      <title>VNC problems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962504#M27418</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;I could not access the Linux server using VNC viewer through XP, error reponds is: unable to connect to host:A socket operation was attempted to an unreachable host. (10065), detail as below:&lt;BR /&gt;1. I new installed a RHEL4U4 through check I found GNOME have been default installed. So I run "vncserver", through ps -ef | grep vnc I could found the process of vnc, sys10:1 ... &lt;BR /&gt;2. I run vnc viewer via xp sys10:1, up erro appear.&lt;BR /&gt;3. I could "ping sys10" via xp cmd.&lt;BR /&gt;4. On sys10, I run "vncconfig -list" error responds: No VNC extension on display :0.0&lt;BR /&gt;echo $DISPLAY is :0.0 I changed the value to :2.0 (the same as another Linux server that could be accessed through vnc viewer via my desktop)&lt;BR /&gt;somethings wrong? I have no idea, I have compared two Linux's setting and process running, I don't see any different?&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Mar 2007 08:45:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962504#M27418</guid>
      <dc:creator>Gary L</dc:creator>
      <dc:date>2007-03-15T08:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: VNC problems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962505#M27419</link>
      <description>If I "disable" firewall at System setting -- Secruity Level session, I coule access this linux servers via winxp "vncview". But I have checked other linux servers, those server Enable firewall also could be accessed by vncviewer, what's the problems.</description>
      <pubDate>Mon, 19 Mar 2007 15:23:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962505#M27419</guid>
      <dc:creator>Gary L</dc:creator>
      <dc:date>2007-03-19T15:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: VNC problems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962506#M27420</link>
      <description>You don't have disable the firewall. You can just change the rules to allow incoming connections on the vnc-service port. &lt;BR /&gt;&lt;BR /&gt;- JarleB</description>
      <pubDate>Thu, 22 Mar 2007 03:13:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962506#M27420</guid>
      <dc:creator>Jarle Bjorgeengen</dc:creator>
      <dc:date>2007-03-22T03:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: VNC problems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962507#M27421</link>
      <description>thank you very much Jarle Biorgeengen!&lt;BR /&gt;Would you please explain detail, which file(s) have vnc port info, how to allow/deny this port, my vnc port is 5901.&lt;BR /&gt;&lt;BR /&gt;thanks!</description>
      <pubDate>Thu, 22 Mar 2007 08:41:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962507#M27421</guid>
      <dc:creator>Gary L</dc:creator>
      <dc:date>2007-03-22T08:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: VNC problems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962508#M27422</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;VNC uses between ports 5900 and 5910 normally.&lt;BR /&gt;&lt;BR /&gt;The vncserver process creaters configuration files in the users home directory in a dirctory called .vnc&lt;BR /&gt;&lt;BR /&gt;Pay particular attention to xstartup if you are planning on deploying a working vnc server.&lt;BR /&gt;&lt;BR /&gt;What commonly happens is someone lanches vncserver without specifying the port. Then someone else comes along a week or whatever later and does the same thing. The vncserver process is smart enough to see that port 5901 is occupied and grabs 5901.&lt;BR /&gt;&lt;BR /&gt;Same basic concept for DISPLAY instances.&lt;BR /&gt;&lt;BR /&gt;There are lock files in /tmp that can be deleted to clear this problem up.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 22 Mar 2007 09:11:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962508#M27422</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-03-22T09:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: VNC problems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962509#M27423</link>
      <description>thanks Steven&lt;BR /&gt;&lt;BR /&gt;Normally I startup vnc server just by runnng: #vncserver (donot with port number like :1 :2) also, I could run the command twice, and as other users run this command more times. I found system automatic assigned the ports for each process of vnc. like sys10:1 (root)  sys10:2 (user1) sys10:3(mks) sys10:4 (root) ...If I kill some vnc process, the ports will be assigned for next one that runing vncserver.&lt;BR /&gt;&lt;BR /&gt;My question is: I could not access those linux servers that have startup the vncserver via winxp-end vncviewer. my current erro is 10065, when I disable the firewall, I could access. But I don't think so disable firewall is a good ideal for solving the problems.&lt;BR /&gt;Do you have some good suggestions? I think, vncserver and vncviewer have been broad using on Linux for GUI control, so ...</description>
      <pubDate>Thu, 22 Mar 2007 09:30:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962509#M27423</guid>
      <dc:creator>Gary L</dc:creator>
      <dc:date>2007-03-22T09:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: VNC problems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962510#M27424</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;The firewall should permit traffic on ports 5900-5910 to this server. You may not to permit this from all locations, because VNC is not very secure about authentication and you don't want Joe Hacker to be able to touch the system.&lt;BR /&gt;&lt;BR /&gt;It does appear that your firewall is messing with you here.&lt;BR /&gt;&lt;BR /&gt;The DISPLAY issues are caused by multiple instances of vnc running.&lt;BR /&gt;&lt;BR /&gt;If you kill the processes, identified by ps -ef | grep xvnc and remove the files in the /tmp directory, you can get back to 1 vncserver process without needing to reboot the server.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 22 Mar 2007 10:04:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962510#M27424</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-03-22T10:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: VNC problems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962511#M27425</link>
      <description>Hi Steven&lt;BR /&gt;&lt;BR /&gt;Yes, you are right, Maybe my firewall setting is messing with me here. &lt;BR /&gt;The default firewall setting is "Enable" in system settings - Security Level I didn't choose amy one as Trusted Services, that time I could access to this server via vncviewer, but when I checked "SSH" as Trusted Services, I could not access. I tried to recover it "un-check" SSH, but could not access. Only "Disable" Firewall I could access again via vncviewer.&lt;BR /&gt;&lt;BR /&gt;How to fix the firewall setting?</description>
      <pubDate>Thu, 22 Mar 2007 10:26:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962511#M27425</guid>
      <dc:creator>Gary L</dc:creator>
      <dc:date>2007-03-22T10:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: VNC problems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962512#M27426</link>
      <description>you can find which port each vncserver listens to to with &lt;BR /&gt;&lt;BR /&gt;#netstat -napt |grep LIST |grep vnc&lt;BR /&gt;&lt;BR /&gt;example line with cups&lt;BR /&gt;# tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN     6340/cupsd&lt;BR /&gt; &lt;BR /&gt;you see cupsd listens to tcp on port 631 . (only on localhost though, so it wouldn't help me to open up the firewall here) &lt;BR /&gt;&lt;BR /&gt;To open up incoming connections on ports : &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# iptables -I INPUT -p tcp [-s ip_of_your_xp_machine]   --destination-port &lt;THE port="" of="" your="" vncserver=""&gt;  -j ACCEPT&lt;BR /&gt;&lt;BR /&gt;you need one iptables command for each vncserver process, and you can leave the -s option out if you don't want to restrict vnc connection to only that XP machine. &lt;BR /&gt;&lt;BR /&gt;Rgds Jarle&lt;/THE&gt;</description>
      <pubDate>Thu, 22 Mar 2007 11:48:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962512#M27426</guid>
      <dc:creator>Jarle Bjorgeengen</dc:creator>
      <dc:date>2007-03-22T11:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: VNC problems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962513#M27427</link>
      <description>Oh, and another thing; do &lt;BR /&gt;#service iptables save &lt;BR /&gt;when you are happy with the rules, otherwise you loose the rules on reboot.&lt;BR /&gt;&lt;BR /&gt;- Jarle</description>
      <pubDate>Thu, 22 Mar 2007 11:51:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962513#M27427</guid>
      <dc:creator>Jarle Bjorgeengen</dc:creator>
      <dc:date>2007-03-22T11:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: VNC problems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962514#M27428</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;If your system is on a corporate lan and a hardware based firewall is provided.&lt;BR /&gt;&lt;BR /&gt;service iptables stop&lt;BR /&gt;chkconfig iptables off&lt;BR /&gt;&lt;BR /&gt;It will stop running.&lt;BR /&gt;&lt;BR /&gt;If you have to use iptables, post the results of iptables -L&lt;BR /&gt;&lt;BR /&gt;We may need to come up with some firewall rules for you.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 22 Mar 2007 14:58:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962514#M27428</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-03-22T14:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: VNC problems</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962515#M27429</link>
      <description>thank you very much, I will try.</description>
      <pubDate>Thu, 22 Mar 2007 15:00:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vnc-problems/m-p/3962515#M27429</guid>
      <dc:creator>Gary L</dc:creator>
      <dc:date>2007-03-22T15:00:31Z</dc:date>
    </item>
  </channel>
</rss>

