Sponsored Content
Operating Systems Solaris Autologin and vnc - Solaris 10 Post 302957970 by dennis3 on Saturday 17th of October 2015 06:45:52 AM
Old 10-17-2015
Autologin and vnc - Solaris 10

Hi guys,

First of all I would like to thank you for reading my post.

My question is about having autologin and VNC.

I already configure VNC that works perfectly using the following procedure:
1. svcadm enable svc:/application/x11/xvnc-inetd:default
2. vi /etc/services
vnc-server 5900/tcp # Xvnc
3. vi /etc/X11/gdm/custom.conf
[xdmcp]
Enable=true
[security]
DisallowTCP=false
AllowRoot=true
AllowRemoteRoot=true
4. inetadm -m svc:/application/x11/xvnc-inetd:default exec="/usr/X11/bin/Xvnc \\ -geometry 1280x720 -inetd -query localhost -once securitytypes=none"
inetadm -m svc:/application/x11/xvnc-inetd:default wait=TRUE
svccfg -s cde-login setprop 'dtlogin/args=""'
5. Rebooted the machine

Then, I enabled an autologin using the following procedure:
1. /etc/X11/gdm/gdm.conf
AutomaticLoginEnable=true
AutomaticLogin=dennis
GdmXserverTimeout=30
2. svcadm disable cde-login
svcadm enable gdm2-login
3. vi /etc/pam.conf
gdm-autologin auth required pam_unix_cred.so.1
gdm-autologin auth sufficient pam_allow.so.1
4. Download and complied pam_allow.so
cc pam_allow.c -o /usr/lib/security/pam_allow.so.1 -Kpic -G

After all of those steps, when I'm trying to open a vncviewer, I get a gray blank screen with an X cursor.

Would appreciate any help Smilie
 

10 More Discussions You Might Find Interesting

1. Solaris

Is there something like vnc for solaris?

my desktop is a linux box, and I was wondering if there was a way to leverage X11/associated applications on a v440 remotely... like "Sun Update Connection"...thanks, manny (4 Replies)
Discussion started by: mr_manny
4 Replies

2. SuSE

Autologin

How to autologin as any user at SuSe Linux server startup ? (1 Reply)
Discussion started by: V.V.KUMAR
1 Replies

3. Linux

How to do autologin for telnet ?

Hi, I am interested in logging into some systems via telnet automatically. I do not want to send any username & password by hand or by script. Security is not an issue. It is just a home network. How do I do it ?. Is there any file that telnet daemon reads and configures itself to allow... (10 Replies)
Discussion started by: RipClaw
10 Replies

4. Solaris

VNC server from the Companion cd. Solaris 8 SPARC

hey. i have been installing the VNC server from the solaris Companion cd under solaris 8 SPARC, when i try to open the vncserver i get: Xvnc is not in your PATH, how do i add it to the PATH ? and how do i install it if i need to do that, thx (0 Replies)
Discussion started by: mads-nielsen
0 Replies

5. Solaris

Essential packeages to install VNC from SOLARIS COMPANION CD

Hi all....!!! Can someone tell the essential packages need to install VNC from soalris 10 companion cd...? I think there are three packages are essential. (SFWvnc, SFWgcmn, .....) Please help me.. thank you.. Rgd... Leshan (0 Replies)
Discussion started by: leshan
0 Replies

6. Solaris

VNC in solaris 10

First you need to know that I'm 100% new to solaris/unix. I'm trying to setup VNC on my sparc based server that I just installed solaris 10 on but when I type in vncserver to start it, I get "couldn't find "xauth" on your PATH" What do I do so I can get a gui up and running remotely on my... (20 Replies)
Discussion started by: QuadRunner750
20 Replies

7. Solaris

Start of VNC with Solaris

Hello, We have machines running Solaris 2.8 These are part of a process control system. A selection menu after the launch of Solaris can be selected whether the Solaris desktop or Leitsoftware to start. VNC server is up and running when the Solaris user interface is started or when the... (1 Reply)
Discussion started by: eckart.t
1 Replies

8. Solaris

want complete solaris gui in vnc ?

Hi, I have installed vnc software in my desktop and trying start solaris gui and all i get is a partial gui that has one window open. the window i am getting with vncviewer is (1 Reply)
Discussion started by: chidori
1 Replies

9. Web Development

Autologin Shell

Hello friends, I'm working on portal for Auto login servers without asking for credentials. Credentials are stored in database/file. Script fetches credentials from db/file and autologin the server. I have installed AjaxTerm for it but don't know exactly how to login remote servers using it. ... (0 Replies)
Discussion started by: nrbhole
0 Replies

10. Solaris

Solaris and VNC

Hi Guys, I need some assistance with getting vnc viewer from an WinXP machine to be able to connect to a vncserver on Solaris. I have run vncserver on Solaris and i get the following message:- http://i46.tinypic.com/v6ktaf.jpg Is this right ? i see there are a couple of errors in the... (4 Replies)
Discussion started by: mansnake
4 Replies
pam_allow(5)						Standards, Environments, and Macros					      pam_allow(5)

NAME
pam_allow - PAM authentication, account, session and password management PAM module to allow operations SYNOPSIS
pam_allow.so.1 DESCRIPTION
The pam_allow module implements all the PAM service module functions and returns PAM_SUCCESS for all calls. Opposite functionality is available in the pam_deny(5) module. Proper Solaris authentication operation requires pam_unix_cred(5) be stacked above pam_allow. The following options are interpreted: debug Provides syslog(3C) debugging information at the LOG_AUTH | LOG_DEBUG level. ERRORS
PAM_SUCCESS is always returned. EXAMPLES
Example 1 Allowing ssh none The following example is a pam.conf fragment that illustrates a sample for allowing ssh none authentication: sshd-none auth required pam_unix_cred.so.1 sshd-none auth sufficient pam_allow.so.1 sshd-none account sufficient pam_allow.so.1 sshd-none session sufficient pam_allow.so.1 sshd-none password sufficient pam_allow.so.1 Example 2 Allowing Kiosk Automatic Login Service The following is example is a pam.conf fragment that illustrates a sample for allowing gdm kiosk auto login: gdm-autologin auth required pam_unix_cred.so.1 gdm-autologin auth sufficient pam_allow.so.1 ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Stable | +-----------------------------+-----------------------------+ |MT Level |MT-Safe with exceptions | +-----------------------------+-----------------------------+ SEE ALSO
libpam(3LIB), pam(3PAM), pam_sm(3PAM), syslog(3C), pam.conf(4), attributes(5), pam_deny(5), pam_unix_cred(5) NOTES
The interfaces in libpam(3LIB) are MT-Safe only if each thread within the multi-threaded application uses its own PAM handle. This module is intended to be used to either allow access to specific services names, or to all service names not specified (by specifying it as the default service stack). SunOS 5.11 25 Aug 2005 pam_allow(5)
All times are GMT -4. The time now is 08:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy