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
gdm-restart(1m) 						   User Commands						   gdm-restart(1m)

NAME
gdm-restart, gdm-safe-restart, gdm-stop - stop or restart GDM SYNOPSIS
gdm-restart gdm-safe-restart gdm-stop DESCRIPTION
gdm-restart stops and restarts GDM by sending a HUP signal to the GDM daemon. This command immediately terminates all sessions and logs out users currently logged in with GDM. gdm-safe-restart stops and restarts GDM by sending a USR1 signal to the GDM daemon. GDM is restarted as soon as all users log out. gdm-stop stops GDM by sending a TERM signal to the GDM daemon. FILES
The following files are used by this application: /usr/bin/gdm-restart Executable to stop and restart GDM /usr/bin/gdm-safe-restarExecutable to stop and restart GDM safely /usr/bin/stop Executable to stop GDM ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-display-mgr | +-----------------------------+-----------------------------+ |Interface stability |External | +-----------------------------+-----------------------------+ SEE ALSO
Latest version of the GNOME Desktop User Guide for your platform. gdm(1), gdmXnestchooser(1), gdmflexiserver(1), gdmphotosetup(1), gdmsetup(1), gdmthemetester(1), gdmconfig(1m) NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2004. SunOS 5.10 1 Sep 2004 gdm-restart(1m)
All times are GMT -4. The time now is 03:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy