Autologin and vnc - Solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris Autologin and vnc - Solaris 10
# 1  
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. SuSE

Autologin

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

10. 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
Login or Register to Ask a Question
VINAGRE(1)						      General Commands Manual							VINAGRE(1)

NAME
vinagre - a remote desktop viewer for the GNOME Desktop SYNOPSYS
vinagre [OPTIONS] [server][::port|:display] DESCRIPTION
vinagre is a remote desktop viewer for the GNOME desktop. It can support many protocols using a plugin system. Current plugins exist for VNC and SSH. Vinagre has many features, among others:. - Support for multiple connections simultaneously - Bookmarks and history support - Avahi integration - GNOME keyring integration - You can connect to a VNC server by double clicking on a .vnc file when using nautilus. OPTIONS
Help Options: -?, --help Show help options Application Options: -F, --file=filename Opens a .vnc file -f, --fullscreen Open Vinagre in fullscreen mode --geometry=GEOMETRY Specify geometry of the Vinagre window in X11 format -n, --new-window Create a new toplevel window in an existing instance of Vinagre --display=DISPLAY X display to use Run 'vinagre --help' to see a full list of available command line options OPERANDS
The following operands are supported: [server][::port|:display] Specifies the VNC server to connect to. The VNC server can be either a hostname, or an IP address. If the server is an IPv6 address, it must be enclosed by square brackets. The address can optionally be followed by two colons (::) and the VNC port number, or alter- natively by one colon (:) and the display where Vinagre should run. If a port is not specified, default value of 5900 will be used. If the value is lower than 1024, 5900 will be added to it. For example, ":0" means "5900" and ":1" means ":5901". If only a port is specified, but not the hostname, localhost will be assumed. Possible values for the display are between 0 and 1024. If a display number greater than 1024 is specified, it will be assumed to be a port. Note that you can't specify the port and the display at the same time. EXAMPLES
Example 1: Start vinagre from the command line example% vinagre Example 2: Create a new top-level window example% vinagre --new-window Example 3: Connect to a specified VNC server and port example% vinagre snoopy::5900 Example 4: Connect to a specified IPv4 address and port example% vinagre 192.168.1.35::2700 Example 5: Connect to a specified IPv6 address and port example% vinagre [2001:0db8:0:0:0:0:1428:57ab]::2700 Example 6: Connect to a VNC server specified by a .vnc file example% vinagre -F snoopy.vnc Example 7: Connect to localhost on a specified port in fullscreen mode example% vinagre -f ::5900 SEE ALSO
Vinagre help manual AUTHOR
Vinagre was written by Jonh Wendell <wendell@bani.com.br> and David King <amigadave@amigadave.com> This manual page was written by Emilio Pozuelo Monfort <pochu@ubuntu.com> and Halton Huo <halton.huo@sun.com>. User Commands April 18, 2011 VINAGRE(1)