Sponsored Content
Full Discussion: Solaris and VNC
Operating Systems Solaris Solaris and VNC Post 302711607 by maxim42 on Sunday 7th of October 2012 08:19:31 AM
Old 10-07-2012
try this script and try to login again

Code:
#!/bin/sh
#
# config_Xvnc_s10+snv.sh
#
# Run this script once after OS installation is completed.
#
# This has been tested with Solaris 10 5/08 and Solaris Express (Nevada) b87 onwards
#

#add vnc display 1
svccfg -s application/x11/x11-server add display1
svccfg -s application/x11/x11-server:display1 addpg options application
svccfg -s application/x11/x11-server:display1 addpropvalue options/server astring: "/usr/X11/bin/Xvnc"
svccfg -s application/x11/x11-server:display1 addpropvalue options/server_args astring: '"SecurityTypes=None"'

#add vnc display 2, which is shared
svccfg -s application/x11/x11-server add display2
svccfg -s application/x11/x11-server:display2 addpg options application
svccfg -s application/x11/x11-server:display2 addpropvalue options/server astring: "/usr/X11/bin/Xvnc"
svccfg -s application/x11/x11-server:display2 addpropvalue options/server_args astring: '"SecurityTypes=None"'
svccfg -s application/x11/x11-server:display2 addpropvalue options/server_args astring: '"-alwaysshared"'

# Configure dtlogin to start it
if [ ! -d /etc/dt/config ] ; then
        mkdir -p /etc/dt/config
fi
if [ ! -f /etc/dt/config/Xservers ] ; then
        cp /usr/dt/config/Xservers /etc/dt/config/Xservers
fi

echo "   :1   Local local_uid@none root /usr/X11/bin/Xserver :1" >> /etc/dt/config/Xservers
echo "   :2   Local local_uid@none root /usr/X11/bin/Xserver :2" >> /etc/dt/config/Xservers

pkill -HUP dtlogin

#End

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Vnc

Anyone know of a site where I can download a copy (non-evaluation copy and preferably free. ;) nods to Neo's post in UNIX Operating System thread) of VNC for RedHat 8? Thanks in advance. (7 Replies)
Discussion started by: google
7 Replies

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

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

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

5. Red Hat

VNC problem

Hello all, I have the folowing problem: When I connected to a VNC server instance, the screen on the vncserver was frezzed. So, I executed the following commands in order to reestablish the VNC instance: service vncserver stop service vncserver start No problem at this point, but now when... (5 Replies)
Discussion started by: mig28mx
5 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. Solaris

vnc Issue

Dear all, I recently installed did VNC configuration on a Solaris Server. I am using VNC E4 2 7 as my Windows client. The issue is that every time I log into my machine and use terminal ( a few commands like df -h or any other command and then close VNC ( windows). When I log back in ,... (9 Replies)
Discussion started by: Junaid Subhani
9 Replies

10. Solaris

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... (0 Replies)
Discussion started by: dennis3
0 Replies
Xwrapper.config(5)						File Formats Manual						Xwrapper.config(5)

NAME
Xwrapper.config - configuration options for X server wrapper DESCRIPTION
/etc/X11/Xwrapper.config contains a set of flags that determine some of the behavior of Debian's X server wrapper, which is installed on the system as /usr/bin/X. The purpose of the wrapper, and of this configuration file, is twofold. Firstly, it is intended to implement sound security practices. Since the X server requires superuser privileges, it may be unwise to per- mit just any user on the system to execute it. Even if the X server is not exploitable in the sense of permitting ordinary users to gain elevated privileges, a poorly-written or insufficiently-tested hardware driver for the X server may cause bus lockups and freeze the sys- tem, an unpleasant experience for anyone using it at the time. Secondly, a wrapper is a convenient place to set up an execution environment for the X server distinct from the configurable parameters of the X server itself. Xwrapper.config may be edited by hand, but it is typically configured via debconf(7), the Debian configuration tool. The X server wrapper is part of the x11-common Debian package; therefore, the parameters of Xwrapper.config may be changed with the command dpkg-reconfigure x11-common. See dpkg-reconfigure(8) for more information. The format of Xwrapper.config is a text file containing a series of lines of the form name=value where name is a variable name containing any combination of numbers, letters, or underscore (_) characters, and value is any combination of letters, numbers, underscores (_), or dashes (-). value may also contain spaces as long as there is at least one character from the list above bounding the space(s) on both sides. Whitespace before and after name, value, or the equals sign is legal but ignored. Any lines not matching the above described legal format are ignored. Note that this specification may change as the X server wrapper develops. Available options are: allowed_users may be set to one of the following values: rootonly, console, or anybody. rootonly indicates that only the root user may start the X server; console indicates that root, or any user whose controlling TTY is a virtual console, may start the X server; and anybody indicates that any user may start the X server. AUTHORS
The X server wrapper was written by Stephen Early, Mark Eichin, and Branden Robinson for the Debian Project, with valuable contributions from Erik Troan, Topi Miettinen, and Colin Phipps. This manual page was written by Branden Robinson with sponsorship from Progeny Linux Systems. SEE ALSO
debconf(7), dpkg-reconfigure(8) Debian Project 2004-10-31 Xwrapper.config(5)
All times are GMT -4. The time now is 08:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy