Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Need to configure VNC and /etc/hosts.allow (tcp_wrapper)

Andrew WatkinsMar 7 2014

Hope someone can point me in the right direction.

I have enabled VNV (Accessing X11 Display - Oracle Solaris 11.1 Desktop Administrator's Guide)

and I can log into it using the "vncviewer gnome-server" command.

Problem is that this gnome-server has /etc/hosts.allow & /etc/hosts.deny enable for ssh, ftp and other things.

Problem is I can only get Vnc working if I delete /etc/hosts.deny which means the I don't have the tcp_wrapper protection?

1) I have tried adding following to /etc/hosts.allow with out anyluck:

     x11vnc: 127.0.0.1, LOCAL, ALL

     Xvnc: 127.0.0.1, LOCAL, ALL

     vnc-server: 127.0.0.1, LOCAL, ALL


2) Disabled tcp_wrapper on xvnc-inetd service

     # inetadm -m svc:/application/x11/xvnc-inetd:default tcp_wrappers=FALSE

     # svccfg -s xvnc-inetd setprop inetd/tcp_wrappers = false

I don't want users from trussed network to use vnc via ssh.

Thanks,

Andrew Watkins

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 4 2014
Added on Mar 7 2014
0 comments
885 views