On Thu, Nov 04, 2010 at 12:44:39PM -0700, Chuck Tribolet wrote:
> SLES systems are setup so that when you VNC to them, they prompt for user ID 
> and password.
> Red Hat systems do not.  In the past, I've been able to get this to work on 
> RedHat 4 and 5
> by making a few changes.  But on RHEL 6 I've been struggling.  What I've done 
> so far is:

In my opinion this issue is related to gdm -
https://bugzilla.redhat.com/show_bug.cgi?id=452528. Basically gdm is
unable to start something different than Xorg :0.

Regards, Adam

> Install: (Surprisingly, they are not installed by default)
> 
> tigervnc-1.0.90-0.10.20100115svn3945.el6.s390x.rpm
> tigervnc-server-1.0.90-0.10.20100115svn3945.el6.s390x.rpm
> 
> Create  /etc/xinetd.d/vnc containing:
> 
> # default: off
> # description: This serves out a VNC connection which starts at a KDM login \
> #       prompt. This VNC connection has a resolution of 1024x768, 16bit depth.
> service vnc1024
> {
>          disable = no
>          socket_type     = stream
>          protocol        = tcp
>          wait            = no
>          user            = nobody
>          server          = /usr/bin/Xvnc
>          server_args     = :42 -inetd -once -query localhost -geometry 
> 1024x768 -depth 16 -securitytypes=none
>          type            = UNLISTED
>          port            = 5901
> }
> # default: off
> # description: This serves out a VNC connection which starts at a KDM login \
> #       prompt. This VNC connection has a resolution of 1280x1024, 16bit 
> depth.
> service vnc1280
> {
>          disable = no
>          type            = UNLISTED
>          port            = 5902
>          socket_type     = stream
>          protocol        = tcp
>          wait            = no
>          user            = nobody
>          server          = /usr/bin/Xvnc
>          server_args     = :42 -inetd -once -query localhost -geometry 
> 1280x1024 -depth 16 -securitytypes=none
> }
> # default: off
> # description: This serves out a VNC connection which starts at a KDM login \
> #       prompt. This VNC connection has a resolution of 1600x1200, 16bit 
> depth.
> service vnc1600
> {
>          disable = no
>          type            = UNLISTED
>          port            = 5903
>          socket_type     = stream
>          protocol        = tcp
>          wait            = no
>          user            = nobody
>          server          = /usr/bin/Xvnc
>          server_args     = :42 -inetd -once -query localhost -geometry 
> 1600x1200 -depth 16 -securitytypes=none
> 
> 
> Update  /etc/gdm/custom.conf to contain:
> 
> # GDM configuration storage
> 
> [daemon]
> RemoteGreeter=/usr/libexec/gdm-simple-greeter
> 
> [security]
> 
> [xdmpc]
> Enable=true
> 
> [servers]
> #0=Standard
> 
> [greeter]
> 
> [chooser]
> 
> [debug]
> 
> (I've also tried it with no RemoteGreater keyword).
> 
> 
> Update /etc/services with these lines:
> 
> vnc1024         5901/tcp                        # vnc and gdm 1024x768
> vnc1280         5902/tcp                        # vnc and gdm 1280x1024
> vnc1600         5903/tcp                        # vnc and gdm 1600x1200
> 
> And finally:
> 
> chkconfig vnc off
> chkconfig vnc on
> service xinetd restart
> 
> A reboot didn't help.  VNC does get started.  If I VNC to the machine, I get 
> an all black window
> and no user ID prompt.  I suspect the problem has something to do with the 
> greeter parameter.
> 
> This is running on IBM zSeries (mainframe) but I don't think that's relevant.
> -- 
> Chuck Tribolet
> [email protected]
> http://www.almaden.ibm.com/cs/people/triblet
> 
> Silicon Valley: STILL the best day job in the world.
> 
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a 
> Billion" shares his insights and actions to help propel your 
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> _______________________________________________
> Tigervnc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tigervnc-users

-- 
Adam Tkac, Red Hat, Inc.

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Tigervnc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-users

Reply via email to