Getting Solaris 2.7 CDE going ...

2001-03-21 Thread Tom Britton

Hi,  I just joined this list, so apologies if this has been dealt with ad
nauseum ...

I want to run vncserver on a Solaris 2.7 system, with clients on Windows.  I
want to use the Solaris CDE.

1) Is there anything documented about how to set this up?  If so, I'll read
that and see how I get on.

2) I saw the message "RE: Solaris 2.7 CDE issues" from [EMAIL PROTECTED]
dated a day or two ago, and tried adding "-query " to the vncserver
script.  It helped, in that I now get the CDE login screen and can enter
name/password.  But it only gets to the CDE splash screen then sits with the
hourglass cursor "forever" (till patience runs out).

I'm sure it can be done but don't want to have to reinvent that wheel.

Tom Britton, Technical Consultant
Synergy International Limited
Wellington, New Zealand,
Ph 499 3000, Mobile 025 231-4672
www.synergy.co.nz
-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-



RE: Getting Solaris 2.7 CDE going ...

2001-03-22 Thread Tom Britton

Hi David

I got the following message from Steve Palocz.  Following his suggestion, I
did the following script to start Xvnc directly (ie not by running
vncserver), and it seems to work very well.  My Solaris is in English, so if
you are having problems with Spanish fonts, this may not be of much help.

!/bin/sh
#
# Start Xvnc server running Solaris CDE
#
LOG=/var/local/log/xvncstart1.log

/usr/local/bin/Xvnc :1 -geometry 1024x704 -depth 8 -once -query localhost \
 -httpd /usr/local/vnc/classes -httpport 5801 -dontdisconnect \
 -fp tcp/localhost:7100 -auth /.Xauthority\
>> $LOG 2>&1

/usr/local/bin/xvncstart1

# END

Try it and see if it helps.


-Original Message-
From: Steve Palocz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 10:12 AM
To: [EMAIL PROTECTED]
Subject: RE: Getting Solaris 2.7 CDE going ...

Hey Tom,
I can help with this.
Don't use vncserver use Xvnc. As vncserver is just a perl script.
the -query options is great. I use it here for all my solaris servers.
Basically what it does is hook into the x ports just like exceed, but as
a thin stateless client.

The exact command is as follows. all on one line

#/usr/local/bin/Xvnc :1 -geometry 800x600 -depth 16 -once -query
localhost -httpd /usr/local/vnc/classes -httpport 5801 -dontdisconnect -fp
tcp/localhost:7100 -auth /.Xauthority


That is it.

:1 tells it display one or port 5901
-geometry can be set to whatever you prefer 1024x768 ...
-depth solaris only likes 16 bit
-once for server then exit
-query is for the x connection (same as exceed uses just thin client).
-httpd tells it where the classes files are stored for java connections.
-httpport is the http port 5801
-dontdisconnect when another user tries this port
-fp font path. Solaris serves this info on port 7100
-auth is temp info for permissions (this file might need to be created.
touch /.Xauthority)

you can also add -nevershared so no one can look in. As well as a password
on the connection.

Now I put this in a file with the second line as $0 to call the file again.
Note no &. This is so when you click exit on the panel, it will start a new
server.
I also put a file in /etc/rc2.d called S98vnc to start my scripts.
Note you will have to make a script per server.
Also this works well as it makes it stateless unlike the -inetd option.

Type Xvnc -help for a list of options.

Where to read. It isn't documented.

You can also auto start from /etc/dt/config/xservers but it suffers from
some dtlogin
problems ocationally and you have to restart the whole openwin system to
fix. not just
one server.

Hope this helps. If you need further assistance, don't hesitate.

Steve Palocz


-Original Message-
From: David Saez Padros [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 6:53 PM
To: [EMAIL PROTECTED]
Subject: Re: Getting Solaris 2.7 CDE going ...


[demime could not interpret encoding quoted-printable X-Authenticated: david
- treating as plain text]
Hi !!

> 2) I saw the message "RE: Solaris 2.7 CDE issues" from [EMAIL PROTECTED]
> dated a day or two ago, and tried adding "-query " to the vncserver
> script.  It helped, in that I now get the CDE login screen and can enter
> name/password.  But it only gets to the CDE splash screen then sits with
the
> hourglass cursor "forever" (till patience runs out).

I'm having the same problem ... Do you have a localized Solaris or Solaris
in
english ?? As I could investigate I think it's a problem with fonts, look at
dt logs on /.dt and vnc logs, maybe you can guess what is the problem, the
most
I could get is the windows without caption and whithout the possibility to
move
them.

--
Best regards ..


 David Saez Padros  e-mail  [EMAIL PROTECTED]
 On-Line Services 2000 S.L. 
 Trafalgar 78 2=BA 2=AA B   voice   +34 93 315 15 93
 08010 Barcelona (Spain)movil   +34 670 35 27 53 
 http://www.ols.es  fax +34 93 268 35 90
 http://www.ols.es/~david/   =


-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-
-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-



RE: Getting Solaris 2.7 CDE going ...

2001-03-25 Thread Tom Britton

If you've 'hardened' your system as thoroughly as it sounds, you've probably
gotten rid of your CDE login server; that would explain why you don't see
the login screen.  There should be an instance of dtlogin running as a
daemon
eg  root   367 1  0   Mar 20 ?0:05 /usr/dt/bin/dtlogin
-daemon 

This is watching a socket that Xvnc connects to when it starts with the
-query switch.

Tom Britton, Technical Consultant
Synergy International Limited
Wellington, New Zealand,
Ph 499 3000, Mobile 025 231-4672
www.synergy.co.nz



-Original Message-
From: David Saez Padros [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 23, 2001 7:31 PM
To: [EMAIL PROTECTED]
Subject: Re: Getting Solaris 2.7 CDE going ...

Hi !!

> I got the following message from Steve Palocz.  Following his suggestion,
I
> did the following script to start Xvnc directly (ie not by running
vncserver), 
> and it seems to work very well.  My Solaris is in English, so if you are
having 
> problems with Spanish fonts, this may not be of much help.

Does not work for me :(

BTW yesterday night I get it working ok, but with no dtlogin screen. The
problems
I had may be related to the fact that I take some security mesaures removing
setuid files, almost all services in inetd and some ones in rc2.d. The
option
-query localhost never worked for me (have tried lots of possibilities), but
now
I can run my CDE. One of the problems that I have found is about the font
server,
I have it properly activated in inetd.conf (fsadmin -e) but it seems to not
being
working (fsinfo -server localhost gives an error). I fixed it running xfs
-port 8000
and changing to -fp tcp/localhost:8000 in vncserver script and on my
xstartup script:

#!/bin/sh

xsetroot -solid black
LC_TYPE=3Des LANG=3Des /usr/dt/bin/Xsession

This gives me my localized desktop without problems.

About the fact that I never succeed to have dtlogin running I got some
diagnostic errors
that could help somebody to fix it:

automountd[124]: [ID 305627 daemon.debug] self_check: unknown host:
.DtDirDataType
ttsession[15458]: [ID 862433 daemon.error] child (15911) exited due to
signal 1

Those errors always come togehter, very strange thing with automountd :?
I also have memory errors produced by dtlogin on PAM.


--
Thanx & best regards ...


 David Saez Padros  e-mail  [EMAIL PROTECTED]
 On-Line Services 2000 S.L. 
 Trafalgar 78 2=BA 2=AA B voice   +34 93 315 15 93
 08010 Barcelona (Spain)movil   +34 670 35 27 53
 http://www.ols.es  fax +34 93 268 35 90
 http://www.ols.es/~david/   =

-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-
-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-