Re: [osol-discuss] How to enable XDM?

2007-12-26 Thread Atul Gore
and Finally.

Once network team opened port 6000, boom! I could see the X Display working 
properly Now one of the machines where I had set up gnome as the default 
display manager, it shows that desktop whereas on the other one, where dtlogin 
is running in maintenance mode, it shows cde1.6 as default display manager!

Many Thanks everyone for your help!

best regards
 - Atul Gore.
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to enable XDM?

2007-12-24 Thread Atul Gore
Gary: 

Many Thanks for your help!.

I think there are 2 problems that I have here.

1. cde-login package hasn't been loaded on the operating system.
2. THe Network firewall has been blocking the X display from being sent on LAN. 
 I connected a network cable to  the back of the server i.e. a direct 
connection, and tried to connect to the server, and I was able to see the X 
display, note that this is GDM that I was able to see. (once I made GDM as 
default)

So, in summary, 1/ X display is blocked from the firewall (was/is not able to 
even see xclock over a terminal and passive exceed.) and  am working with the 
network team to get the ports opened for LAN. and 2/ will also get the DVD to 
get cde-login service loaded so that I can get that working too...

Again, can't thank you enough for your help, Gary.

Wish you and everyone the list a very Merry Christmas and a wonderful year  
ahead of 2008!

Best Regards
 - Atul
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to enable XDM?

2007-12-21 Thread Gary Gendel
Atul,

Ok, now we're getting somewhere...  This is the 6/06 version of Solaris 10.  
There have been a few updates since then.  One of these is that dtlogin has 
been moved from the legacy (rc based) dtlogin script to the svc cde-login 
service.  If I recall, I tried to use gdm back then without success.  However, 
I think the reason it won't start is because dtlogin is running.  You can check 
this by:

1) Stopping dtlogin   /etc/init.d/dtlogin stop
2) Clearing the gdm problem svcadm clear gdm2-login

If gdm2 starts up, then the problem was that dtlogin was running.

Gary

 Gary: 
 
 Thanks for your response.
 
 Here are more details about the system:
 
 [EMAIL PROTECTED]/]cat /etc/release
 Solaris 10 6/06 s10s_u2wos_09a
 SPARC
 Copyright 2006 Sun Microsystems, Inc.  All
  Rights Reserved.
 Use is subject to license
  terms.
 Assembled 09 June 2006
 rep -i cde-login
 [EMAIL PROTECTED]/]
 
 [EMAIL PROTECTED]/]svcs -a | grep login
 legacy_run Dec_12   lrc:/etc/rc2_d/S99dtlogin
 disabled   Dec_12   svc:/network/login:eklogin
 disabled   Dec_12   svc:/network/login:klogin
 online Dec_12
   svc:/system/console-login:default
 line Dec_12   svc:/network/login:rlogin
 maintenanceDec_12
   svc:/application/gdm2-login:default
 [EMAIL PROTECTED]/]
 
 
 Guessing, cde-login was never installed. Also, asking
 to the person who installed this host.
 
 Many Thanks!
 
  - Atul
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to enable XDM?

2007-12-20 Thread Atul Gore
Hi there:

Facing the same problem, i.e. to be able to enable remote X login

tried the commands mentioned above, getting the following error. Any help is 
welcome!

[EMAIL PROTECTED]/usr/dt/config]svcadm enable 
svc:/application/graphical-login/cde-login
svcadm: Pattern 'svc:/application/graphical-login/cde-login' doesn't match any 
instances


Thanks,
 -  Atul
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to enable XDM?

2007-12-20 Thread Alan Coopersmith
Atul Gore wrote:
 Hi there:
 
 Facing the same problem, i.e. to be able to enable remote X login
 
 tried the commands mentioned above, getting the following error. Any help is 
 welcome!
 
 [EMAIL PROTECTED]/usr/dt/config]svcadm enable 
 svc:/application/graphical-login/cde-login
 svcadm: Pattern 'svc:/application/graphical-login/cde-login' doesn't match 
 any instances

What OS/release are you running?   The cde login service was renamed
a while ago - you can 'svcs -a | grep login' to see if you have it
under a different name.

-- 
-Alan Coopersmith-   [EMAIL PROTECTED]
 Sun Microsystems, Inc. - X Window System Engineering
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to enable XDM?

2007-12-20 Thread Gary Gendel
Hmmm... You're using SXCE/DE, not Indiana, right?

Try this:

svcs -a | grep cde-login

I see a service  on my installation.

Gary
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to enable XDM?

2007-12-20 Thread Atul Gore
Gary: 

Thanks for your response.

Here are more details about the system:

[EMAIL PROTECTED]/]cat /etc/release
   Solaris 10 6/06 s10s_u2wos_09a SPARC
   Copyright 2006 Sun Microsystems, Inc.  All Rights Reserved.
Use is subject to license terms.
 Assembled 09 June 2006

[EMAIL PROTECTED]/]svcs -a | grep -i cde-login
[EMAIL PROTECTED]/]

[EMAIL PROTECTED]/]svcs -a | grep login
legacy_run Dec_12   lrc:/etc/rc2_d/S99dtlogin
disabled   Dec_12   svc:/network/login:eklogin
disabled   Dec_12   svc:/network/login:klogin
online Dec_12   svc:/system/console-login:default
online Dec_12   svc:/network/login:rlogin
maintenanceDec_12   svc:/application/gdm2-login:default
[EMAIL PROTECTED]/]


Guessing, cde-login was never installed. Also, asking to the person who 
installed this host.

Many Thanks!

 - Atul
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to enable XDM?

2007-12-10 Thread Patrick Blaas
What i would like to do is keep using the cde-login and get access with XDMCP 
to the dtlogin. That doesn't seem to work in b76 x86. Changing to gdm is not a 
fix, it's a workarround imho.

This worked out-of-the-box on previous solaris versions.
Anyone know what changed here?
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to enable XDM?

2007-12-10 Thread Casper . Dik

What i would like to do is keep using the cde-login and get access with XDMCP 
to the dtlogin. That
 doesn't seem to work in b76 x86. Changing to gdm is not a fix, it's a 
workarround imho.

This worked out-of-the-box on previous solaris versions.
Anyone know what changed here?


Security, probaby.

Check for the -udpPort 0 argument to dtlogin.


svccfg -s cde-login
setprop dtlogin/args = 

svcadm refresh cde-login
svcadm restart cde-login

Casper

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to enable XDM?

2007-12-10 Thread Casper . Dik


What i would like to do is keep using the cde-login and get access with XDMCP 
to the dtlogin. Tha
t
 doesn't seem to work in b76 x86. Changing to gdm is not a fix, it's a 
 workarround imho.

This worked out-of-the-box on previous solaris versions.
Anyone know what changed here?


Security, probaby.

Check for the -udpPort 0 argument to dtlogin.


svccfg -s cde-login
setprop dtlogin/args = 

svcadm refresh cde-login
svcadm restart cde-login


Note that the latter command will actually cause all current sessions to 
terminate.

Casper


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to enable XDM?

2007-12-10 Thread Brian Cameron
Patrick Blaas wrote:
 What i would like to do is keep using the cde-login and get access with XDMCP 
 to the dtlogin. That doesn't seem to work in b76 x86. Changing to gdm is not 
 a fix, it's a workarround imho.
 
 This worked out-of-the-box on previous solaris versions.
 Anyone know what changed here?

Does it make a difference if you configure the Xserver to allow TCP?
You can enable this by running the following command:

svccfg -s application/x11/x11-server setprop options/tcp_listen=true

I understand that the default setting of this properly changed from
true to false in a recent build, so this change might be causing your
problem.

Note that this effects both CDE login and GDM equally.  You can not
use XDMCP with either login program without first setting the tcp_listen
property to true.

Brian
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] How to enable XDM?

2007-12-06 Thread Tom Chen
XDM is the facility that allows a remote client to access a full desktop on a 
Unix or Linux server which is very useful for me to admin remote servers. The 
protocol it uses is called XDMCP. However, XDM is not enabled by default in 
OpenSolaris.

I am using Nevada V76, I am wondering how to enable XDM? 

Tom
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to enable XDM?

2007-12-06 Thread Kyle McDonald
Tom Chen wrote:
 XDM is the facility that allows a remote client to access a full desktop on a 
 Unix or Linux server which is very useful for me to admin remote servers. The 
 protocol it uses is called XDMCP. However, XDM is not enabled by default in 
 OpenSolaris.

   
I know you can disable Solaris's DtLogin with:

svcadm disable cde-login

But I'm not aware of an existing service you can enable that will start 
XDM. If you wanted that you'd have to write your own service or script 
to start it up. I beleive XDM is included in X11 in Solaris though so 
you could do that.

That said, doing what you want is even easier that enabling XDM, since 
Solaris's DtLogin already fully supports XDMCP.
(and has for years.) I believe you only have to create the 
/etc/dt/config directory, and then copy /usr/dt/config/Xservers over to 
/etc/dt/config and edit it to allow your remote xserver to get a login 
screen from DtLogin.

I don't beleive that the syntax for the Xservers file is all that 
different from the XDM config file, but the manpages should clarify any 
differences. Also you may need to copy and edit other files from 
/usr/dt/config (Xaccess maybe?)

   -Kyle

 I am using Nevada V76, I am wondering how to enable XDM? 

 Tom
  
  
 This message posted from opensolaris.org
 ___
 opensolaris-discuss mailing list
 opensolaris-discuss@opensolaris.org
   

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to enable XDM?

2007-12-06 Thread Gary Gendel
There is a bug in gdm which won't let you enable XDMCP.  I don't know when it 
will be fixed, but a patch can be found here:

http://www.opensolaris.org/jive/message.jspa?messageID=151397tstart=0
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to enable XDM?

2007-12-06 Thread Rob Nelson
Here's how we do it.  We use Gnome and not CDE, don't know if CDE is different.

1) Enable the gnome display manager: 

# svcadm enable svc:/application/graphical-login/gdm:default

[If your a GUI person, you can also start Administration-Services and in the 
Services settings dialog enable the GNOME Display Manager check box.  
Note: starting gdm always seems to crash gnome on many of the recent nv builds 
- I just reboot and usally everthing comes back OK with gdm started.]

2) Once gdm is running you can start the gdmsetup: 

# gdmsetup

[If your a GUI person, sometimes the act of starting gdm will place a 
Administration-Login Window icon in the start menu]

3) In the Login Window Perferences dialog of gdmsetup select the Remote 
tab.  Select Style pulldown to be Same as local.  You can also change XDMCP 
settings to your liking in Configure XDMCP...  I also use the defaults.

Now you should be able to remotely log into you OpenSolaris box using XDMCP of 
your favorite X term server.

If you want to login in remotely as root, there is more work to do, but we 
never login as root ;)

Good luck...
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to enable XDM?

2007-12-06 Thread Tom Chen
Thanks!

Tom
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org