<?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 VNCserver offer login chooser for other machines on 2nd NIC in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vncserver-offer-login-chooser-for-other-machines-on-2nd-nic/m-p/3858215#M545980</link>
    <description>I look after a bunch of HP-UX 11 boxes in a model environment on  a mostly isolated network.  One box has a NIC on the corporate network and the other on the modle network.&lt;BR /&gt;  I want that box to start a VNC display, offer a XDMCP chooser of the other boxes, and then allow one to select and login to another box.&lt;BR /&gt;  I've installed the vnc-4_1_1-parisc_hpux depot, which runs just fine.&lt;BR /&gt;  I've tried getting dtlogin to start the server by adding the follwing line to /etc/dt/config/Xservers&lt;BR /&gt;hpw29:4 Local local"at"none /usr/local/bin/Xvnc :4 -rfbport 5904 -indirect hpw29 -rfbauth /home/vncuser/.vnc/passwd -cc3 -desktop X11 -geometry 1152x864 -depth 8 -fp /usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/hp_roman8/75dpi/,/usr/lib/X11/fonts/iso_8859.15/75dpi&lt;BR /&gt;  But even with the -indirect switch it still just gives me the CDE login screen to hpw29.&lt;BR /&gt;  I've tried adding the following to /etc/inittab&lt;BR /&gt;vnc1:3:respawn:sbin/sh -c "/usr/local/bin/Xvnc :2 -indirect hpw29 -rfbport 5904 -indirect hpw29 -rfbauth /home/vncuser/.vnc/passwd -cc3 -desktop X11 -geometry 1152x864 -depth 8 -fp /usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/hp_roman8/75dpi/,/usr/lib/X11/fonts/iso_8859.15/75dpi&lt;BR /&gt;  And I get a chooser with a list of servers.  But when I select one the chooser clears of leaving grey screen and then it waits a while before showing the chooser again.  Looking at /var/dt/Xerrors of the target box it's saying &lt;BR /&gt;Server open attempt #0 failed for 192.168.112.34:2, giving up&lt;BR /&gt;  But I can pop an xclock onto the display from the target machine, so I'm fairly sure it's not a security thing, though I could get into sharing credentials if needs be.&lt;BR /&gt;  I'm wondering if the target machine is not getting the display name.  Suspecting that the XDMCP wants a display class I've tried adding &lt;BR /&gt;-class MIT-Unspecified to the Xvnc command but to no avail.&lt;BR /&gt;   'any ideas folks?</description>
    <pubDate>Thu, 07 Sep 2006 03:54:27 GMT</pubDate>
    <dc:creator>James Poole_2</dc:creator>
    <dc:date>2006-09-07T03:54:27Z</dc:date>
    <item>
      <title>VNCserver offer login chooser for other machines on 2nd NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vncserver-offer-login-chooser-for-other-machines-on-2nd-nic/m-p/3858215#M545980</link>
      <description>I look after a bunch of HP-UX 11 boxes in a model environment on  a mostly isolated network.  One box has a NIC on the corporate network and the other on the modle network.&lt;BR /&gt;  I want that box to start a VNC display, offer a XDMCP chooser of the other boxes, and then allow one to select and login to another box.&lt;BR /&gt;  I've installed the vnc-4_1_1-parisc_hpux depot, which runs just fine.&lt;BR /&gt;  I've tried getting dtlogin to start the server by adding the follwing line to /etc/dt/config/Xservers&lt;BR /&gt;hpw29:4 Local local"at"none /usr/local/bin/Xvnc :4 -rfbport 5904 -indirect hpw29 -rfbauth /home/vncuser/.vnc/passwd -cc3 -desktop X11 -geometry 1152x864 -depth 8 -fp /usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/hp_roman8/75dpi/,/usr/lib/X11/fonts/iso_8859.15/75dpi&lt;BR /&gt;  But even with the -indirect switch it still just gives me the CDE login screen to hpw29.&lt;BR /&gt;  I've tried adding the following to /etc/inittab&lt;BR /&gt;vnc1:3:respawn:sbin/sh -c "/usr/local/bin/Xvnc :2 -indirect hpw29 -rfbport 5904 -indirect hpw29 -rfbauth /home/vncuser/.vnc/passwd -cc3 -desktop X11 -geometry 1152x864 -depth 8 -fp /usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/hp_roman8/75dpi/,/usr/lib/X11/fonts/iso_8859.15/75dpi&lt;BR /&gt;  And I get a chooser with a list of servers.  But when I select one the chooser clears of leaving grey screen and then it waits a while before showing the chooser again.  Looking at /var/dt/Xerrors of the target box it's saying &lt;BR /&gt;Server open attempt #0 failed for 192.168.112.34:2, giving up&lt;BR /&gt;  But I can pop an xclock onto the display from the target machine, so I'm fairly sure it's not a security thing, though I could get into sharing credentials if needs be.&lt;BR /&gt;  I'm wondering if the target machine is not getting the display name.  Suspecting that the XDMCP wants a display class I've tried adding &lt;BR /&gt;-class MIT-Unspecified to the Xvnc command but to no avail.&lt;BR /&gt;   'any ideas folks?</description>
      <pubDate>Thu, 07 Sep 2006 03:54:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vncserver-offer-login-chooser-for-other-machines-on-2nd-nic/m-p/3858215#M545980</guid>
      <dc:creator>James Poole_2</dc:creator>
      <dc:date>2006-09-07T03:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: VNCserver offer login chooser for other machines on 2nd NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vncserver-offer-login-chooser-for-other-machines-on-2nd-nic/m-p/3858216#M545981</link>
      <description>I've made some progress here.  I can get the local VGA display to run the chooser, but I'm still having trouble with the VNC display.&lt;BR /&gt;   Oh, I'm running HP-UX 11i.&lt;BR /&gt;On Sep 18, 2006 09:17:41 GMT James Poole wrote.&lt;BR /&gt;&lt;SNIP&gt;&lt;BR /&gt;Now upgraded to vnc-4_1_2&lt;BR /&gt;&lt;BR /&gt;   I've tried getting dtlogin to start the server..&lt;BR /&gt;&lt;SNIP&gt;&lt;BR /&gt;   Given up on dtlogin Xservers, seems to only handle login to the local box.&lt;BR /&gt;&lt;SNIP&gt;&lt;BR /&gt;Server open attempt #0 failed for 192.168.112.34:2, giving up&lt;BR /&gt;&lt;BR /&gt;   Definately needed to share/transfer MIT cookies to get anything to work!&lt;BR /&gt;&lt;BR /&gt;   So I can make the central box's VGA card offer a chooser with &lt;BR /&gt;/usr/bin/X11/X :0 -indirect hpw29 -auth /.Xauthority -fp /usr/lib/X11/fonts/hp_roman8/75dpi,/usr/lib/X11/fonts/iso_8859.1/100dpi,/usr/lib/X11/fonts/iso_8859.2/75dpi,/usr/lib/X11/fonts/iso_8859.5/75dpi,/usr/lib/X11/fonts/iso_8859.6/75dpi,/usr/lib/X11/fonts/iso_8859.7/75dpi,/usr/lib/X11/fonts/iso_8859.8/75dpi,/usr/lib/X11/fonts/iso_8859.9/75dpi,/usr/lib/X11/fonts/misc/,/usr/dt/config/xfonts/C&lt;BR /&gt;&lt;BR /&gt;  But the following line fails to do the same for a VNC display&lt;BR /&gt;/usr/local/bin/Xvnc :3 -displayID hpw29:3 -rfbport 5903 -rfbauth /.vnc/passwd -geometry 1152x864 -depth 24 -sp /etc/X11/SecurityPolicy -indirect hpw29 -auth /.Xauthority -fp /usr/lib/X11/fonts/hp_roman8/75dpi,/usr/lib/X11/fonts/iso_8859.1/100dpi,/usr/lib/X11/fonts/iso_8859.2/75dpi,/usr/lib/X11/fonts/iso_8859.5/75dpi,/usr/lib/X11/fonts/iso_8859.6/75dpi,/usr/lib/X11/fonts/iso_8859.7/75dpi,/usr/lib/X11/fonts/iso_8859.8/75dpi,/usr/lib/X11/fonts/iso_8859.9/75dpi,/usr/lib/X11/fonts/misc/,/usr/dt/config/xfonts/C&lt;BR /&gt;&lt;BR /&gt;  I get the chooser OK, but when I select a target box (which has the correct MIT cookie) I just get the grey screen for a while and then the chooser again.  But no info in either the syslog.log or Xerrors on either the VNC box or the target box.&lt;BR /&gt;&lt;BR /&gt;   I suspect the Xvnc application wants us to use Xdm rather than dtlogin.  Hence the need for a SecurityPolicy file, but this doesn't seem to have anything that would stop the taget box (presumably trusted if it's got the MIT cookie) sending a login screen.&lt;BR /&gt;   'anybody know of other files in addition to SecurityPolicy the Xvnc would want if it assumes we're on Xdm?&lt;BR /&gt;  Another possibility is that the central box is not passing the XDMCP query to the target once it has ben selected.  But dtlogin's chooser seems to be only configured by Xaccess.&lt;BR /&gt;&lt;/SNIP&gt;&lt;/SNIP&gt;&lt;/SNIP&gt;</description>
      <pubDate>Mon, 18 Sep 2006 04:47:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vncserver-offer-login-chooser-for-other-machines-on-2nd-nic/m-p/3858216#M545981</guid>
      <dc:creator>James Poole_2</dc:creator>
      <dc:date>2006-09-18T04:47:44Z</dc:date>
    </item>
  </channel>
</rss>

