LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 11-18-2008, 03:15 AM   #1
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Rep: Reputation: 43
Solaris 10/08 SPARC - cant start X-window session


I have installed the newest Solaris 10 10/08 SPARC.
During installation I have chosen not to start all remote services.

Now I have a problem to access system via Xmanager. Please note that I have enables access via SSH with root account.

What I tried is:
Code:
/usr/dt/bin/dtconfig -e
/etc/init.d/dtlogin start
No result.

FMRI seems to be OK:
Code:
bash-3.00# svcs -l application/graphical-login/cde-login
fmri         svc:/application/graphical-login/cde-login:default
name         CDE login
enabled      true
state        online
next_state   none
state_time   Mon Nov 17 09:55:52 2008
logfile      /var/svc/log/application-graphical-login-cde-login:default.log
restarter    svc:/system/svc/restarter:default
contract_id  69
dependency   require_all/error svc:/milestone/multi-user:default (online)
dependency   require_all/none svc:/milestone/sysconfig (online)
dependency   require_all/none svc:/application/font/fc-cache (online)
Can anyone let me know what I am doing wrong ?

Last edited by czezz; 11-18-2008 at 03:16 AM.
 
Old 11-18-2008, 08:16 PM   #2
Jaxån
Member
 
Registered: Apr 2005
Location: Sweden
Distribution: Debian
Posts: 142

Rep: Reputation: 15
Have you looked into log files?
 
Old 11-19-2008, 02:32 AM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Are you tunnelling X11 through ssh or are you trying to directly access the X11 server remotely ?

The latter is disabled being a security weakness.
 
Old 11-20-2008, 05:11 AM   #4
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Original Poster
Rep: Reputation: 43
To start remote X sessions with CDE I have executed:
Code:
# svccfg -s cde-login setprop dtlogin/args = \"\"
# svcadm refresh cde-login
# svcadm restart cde-login
This allows to connect via XDMCP client like Xmanager.

To be honest, Im not 100% sure how this connection is established.
Im afraid it is by insecure way.

This is what I have found uncommented in my /etc/ssh/sshd_config:
Code:
# X11 tunneling options
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes



Here is netstat -a when remote CDE session is established (via Xmanager):
Code:
TCP: IPv4
   Local Address        Remote Address    Swind Send-Q Rwind Recv-Q    State
-------------------- -------------------- ----- ------ ----- ------ -----------
      *.*                  *.*                0      0 49152      0 IDLE
      *.sunrpc             *.*                0      0 49152      0 LISTEN
      *.*                  *.*                0      0 49152      0 IDLE
localhost.5987             *.*                0      0 49152      0 LISTEN
localhost.898              *.*                0      0 49152      0 LISTEN
localhost.32771            *.*                0      0 49152      0 LISTEN
localhost.5988             *.*                0      0 49152      0 LISTEN
localhost.32772            *.*                0      0 49152      0 LISTEN
      *.ssh                *.*                0      0 49152      0 LISTEN
localhost.smtp             *.*                0      0 49152      0 LISTEN
localhost.submission       *.*                0      0 49152      0 LISTEN
      *.32773              *.*                0      0 49152      0 LISTEN
      *.fs                 *.*                0      0 49152      0 LISTEN
jumpstarter.ssh      159.107.89.30.54329  66304     51 50400      0 ESTABLISHED
jumpstarter.32775    159.107.89.30.6001   66560      0 50400      0 ESTABLISHED
jumpstarter.32788    159.107.89.30.6001   66304      0 50400      0 ESTABLISHED
jumpstarter.32789    159.107.89.30.6001   66560      0 50400      0 ESTABLISHED
jumpstarter.32793    159.107.89.30.6001   66304      0 50400      0 ESTABLISHED
      *.32794              *.*                0      0 49152      0 LISTEN
jumpstarter.32796    159.107.89.30.6001   65792      0 50400      0 ESTABLISHED
jumpstarter.32797    159.107.89.30.6001   65536      0 50400      0 ESTABLISHED
jumpstarter.32798    159.107.89.30.6001   66560      0 50400      0 ESTABLISHED
localhost.32800      localhost.32794      49152      0 49152      0 ESTABLISHED
localhost.32794      localhost.32800      49152      0 49152      0 ESTABLISHED
localhost.32803      localhost.32802      49152      0 49152      0 ESTABLISHED
localhost.32802      localhost.32803      49152      0 49152      0 ESTABLISHED
jumpstarter.32805    159.107.89.30.6001   65536      0 50400      0 ESTABLISHED
jumpstarter.32806    159.107.89.30.6001   65536      0 50400      0 ESTABLISHED
jumpstarter.32807    159.107.89.30.6001   66560      0 50400      0 ESTABLISHED
localhost.32809      localhost.32794      49152      0 49152      0 ESTABLISHED
localhost.32794      localhost.32809      49152      0 49152      0 ESTABLISHED
localhost.32812      localhost.32811      49152      0 49152      0 ESTABLISHED
localhost.32811      localhost.32812      49152      0 49152      0 ESTABLISHED
jumpstarter.32815    159.107.89.30.6001   66560      0 50400      0 ESTABLISHED
jumpstarter.32816    159.107.89.30.6001   66048      0 50400      0 ESTABLISHED
jumpstarter.32826    159.107.89.30.6001   66560      0 50400      0 ESTABLISHED
localhost.32828      localhost.32794      49152      0 49152      0 ESTABLISHED
localhost.32794      localhost.32828      49152      0 49216      0 ESTABLISHED
localhost.32831      localhost.32830      49152      0 49152      0 ESTABLISHED
localhost.32830      localhost.32831      49152      0 49152      0 ESTABLISHED
jumpstarter.32897    159.107.89.30.6001   66560      0 50400      0 ESTABLISHED
localhost.32899      localhost.32794      49152      0 49152      0 ESTABLISHED
localhost.32794      localhost.32899      49152      0 49152      0 ESTABLISHED
localhost.32902      localhost.32901      49152      0 49152      0 ESTABLISHED
localhost.32901      localhost.32902      49152      0 49152      0 ESTABLISHED
jumpstarter.32904    159.107.89.30.6001   65536     19 50400      0 ESTABLISHED
And here is netstat when remote CDE session is closed:
Code:
TCP: IPv4
   Local Address        Remote Address    Swind Send-Q Rwind Recv-Q    State
-------------------- -------------------- ----- ------ ----- ------ -----------
      *.*                  *.*                0      0 49152      0 IDLE
      *.sunrpc             *.*                0      0 49152      0 LISTEN
      *.*                  *.*                0      0 49152      0 IDLE
localhost.5987             *.*                0      0 49152      0 LISTEN
localhost.898              *.*                0      0 49152      0 LISTEN
localhost.32771            *.*                0      0 49152      0 LISTEN
localhost.5988             *.*                0      0 49152      0 LISTEN
localhost.32772            *.*                0      0 49152      0 LISTEN
      *.ssh                *.*                0      0 49152      0 LISTEN
localhost.smtp             *.*                0      0 49152      0 LISTEN
localhost.submission       *.*                0      0 49152      0 LISTEN
      *.32773              *.*                0      0 49152      0 LISTEN
      *.fs                 *.*                0      0 49152      0 LISTEN
jumpstarter.ssh      159.107.89.30.54329  66560     51 50400      0 ESTABLISHED
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Solaris 7 SPARC e1000g 0.o Solaris / OpenSolaris 1 12-04-2007 05:48 PM
Cant start X-Window (CDE) after instalation SOLARIS 10 SPARC czezz Solaris / OpenSolaris 2 07-02-2007 01:35 AM
Solaris 8.1.7 on SPARC, how I get it? saudoi Solaris / OpenSolaris 2 06-02-2005 09:39 PM
VNC 4 on Solaris 9 (Sparc) gquiring Solaris / OpenSolaris 1 10-08-2004 02:06 AM
Patching Solaris 9 on Sparc pcdap Solaris / OpenSolaris 1 04-28-2004 02:30 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 02:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration