LinuxQuestions.org
Review your favorite Linux distribution.
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 12-20-2004, 10:59 AM   #1
sysxi
LQ Newbie
 
Registered: Jan 2004
Distribution: Redhat Fedora / Solaris 10
Posts: 25

Rep: Reputation: 15
remote Solaris Desktop


Hi,

What are the necessary tools & steps to get from a W2K station a remote Solaris CDE? I do acces with SSH the remote server but how can I get GUI CDE?


Thank you for the help.
 
Old 12-20-2004, 12:52 PM   #2
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
First option: install an X11 server software on your W2K box (e.g. commercial like Hummingbird and reflexionX, or free Cygwin/X) then it should just be a matter of configuration.
Second option: install an alternate remote display service on the Solaris Box (e.g. commercial like Citrix and Tarantella, or free like VNC) and access your desktop with the service's client.
 
Old 12-21-2004, 08:08 PM   #3
]un]ie
Member
 
Registered: Jul 2004
Location: Singapore
Posts: 61

Rep: Reputation: 16
hi jlliagre,

Just a side question regarding remote access.

when using Xwin/Xmanager to access a solaris machine, which config file is being read first ? by default when i tried, it seems to connect right away to a solaris machine, unlike fedora, where it has the port 177 disable, and with the line "Display something something " inserted into its xdm-config.conf last line.

i understand in fedora, it read the file xdm-config.conf, then depending on if you are using gnome or kde, u will have to config gdm.conf and kdm.conf accordingly. correct me if i'm wrong ? is it the same concept in solaris ? meaning, if you just wan basic CDE window, you just config xdm-config, but if you wish to use gnome desktop, you config gdm.conf accordingly ?

Last edited by ]un]ie; 12-21-2004 at 08:10 PM.
 
Old 12-22-2004, 02:20 AM   #4
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
man dtlogin will (I hope) give you the answer for Solaris up to version 9.
With Solaris 10, you'll have the choice of either still using dtlogin (CDE) or gdm.
 
Old 12-22-2004, 08:41 AM   #5
sysxi
LQ Newbie
 
Registered: Jan 2004
Distribution: Redhat Fedora / Solaris 10
Posts: 25

Original Poster
Rep: Reputation: 15
Smile

Thank you for the tips.
I''ll work around during a while with Cygwin and might come back with more questions.
 
Old 12-22-2004, 01:32 PM   #6
sysxi
LQ Newbie
 
Registered: Jan 2004
Distribution: Redhat Fedora / Solaris 10
Posts: 25

Original Poster
Rep: Reputation: 15
Hi,

This is what I did :

1. Install Cygwin & Cygwin-X on my WK2
2. Launch Cygwin bash as it
3. Type : XWin -query hostname -nodecoration -lesspointer &

And it worked fine.

However, I am using x86 SunOS 5.10 and got the following results with GUI :

1. on the solaris box login root with CDE is OK
2. on the solaris box login user1 with CDE fail
3. login remote with user1 with JavaDesktop System release 3 works fine.

After trying point 2 without success, I checked two logs : /var/dt/Xerrors and /var/log/Xorg.0.log

I have in /var/log/Xorg.0.log :

AUDIT: Wed Dec 22 20:10:40 2004: 3974 Xorg: client 4 rejected from local host
Auth name: MIT-MAGIC-COOKIE-1 ID: -1

And in /var/dt/Xerrors :

X Window System Version 6.8.0
Release Date: 8 September 2004
X Protocol Version 11, Revision 0, Release 6.8
Build Operating System: SunOS 5.10 s10_66 i86pc
Build Date: 23 September 2004

[...]

xf86AutoConfig: Primary PCI is 1:0:0
Running "/usr/X11/lib/X11/getconfig/getconfig -X 60800000 -I /etc/X11,/usr/X11/etc/X11,/usr/X11/lib/modules,/usr/X11/lib/X11/getconfig -v 0x1002 -d 0x524c -r 0x00 -s 0x8086 -b 0x464a -c 0x0300"
getconfig: Version 1.0.
getconfig: Xorg Version: 6.8.0.0.
getconfig: 23 built-in rules.
getconfig: rules file '/usr/X11/lib/X11/getconfig/xorg.cfg' has version 1.0.
getconfig: 1 rule added from file '/usr/X11/lib/X11/getconfig/xorg.cfg'.
getconfig: Evaluated 24 rules with 0 errors.
getconfig: Weight of result is 500.
New driver is "ati"
(==) Using default built-in configuration (116 lines)
(EE) Failed to load module "glx" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) Failed to load module "keyboard" (module does not exist, 0)

[...]

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: Num_Lock added to symbol map for multiple modifiers
> Using Mod3, ignoring Mod2.
Errors from xkbcomp are not fatal to the X server
AUDIT: Wed Dec 22 20:10:37 2004: 3974 Xorg: client 2 rejected from local host
Auth name: MIT-MAGIC-COOKIE-1 ID: -1
AUDIT: Wed Dec 22 20:10:37 2004: 3974 Xorg: client 4 rejected from local host
Auth name: MIT-MAGIC-COOKIE-1 ID: -1

[...]

AUDIT: Wed Dec 22 20:10:40 2004: 3974 Xorg: client 4 rejected from local host
Auth name: MIT-MAGIC-COOKIE-1 ID: -1

/usr/openwin/bin/xset: bad font path element (#59), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
/usr/openwin/bin/xset: bad font path element (#59), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
Warning: Null child found in argument list to unmanage
/usr/openwin/bin/xset: bad font path element (#59), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
/usr/openwin/bin/xset: bad font path element (#59), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
Warning: Null child found in argument list to unmanage

Obviously, there is something wrong. Any idea ? Thanks for the help.
 
Old 12-22-2004, 03:31 PM   #7
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
Perhaps permission issues.
Try moving ~user1/.dt to ~user1/.dt.old and log-in as user1, that will reinitialize user1's environment.
Do you observe the same font path errors when root is launching CDE ?
 
Old 12-22-2004, 04:03 PM   #8
sysxi
LQ Newbie
 
Registered: Jan 2004
Distribution: Redhat Fedora / Solaris 10
Posts: 25

Original Poster
Rep: Reputation: 15
Thumbs up

Thank you jlliagre. Works very fine.
Just renamed ~user1/.dt to ~user1/.dt.old as you suggested it and could login straight away.
 
Old 12-22-2004, 04:09 PM   #9
sysxi
LQ Newbie
 
Registered: Jan 2004
Distribution: Redhat Fedora / Solaris 10
Posts: 25

Original Poster
Rep: Reputation: 15
Another one : I know root should not login remotely and use su instead BUT what if I want root to login remotely into CDE? Is there a way to bypass the limitation ?
 
Old 12-23-2004, 01:18 AM   #10
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
Comment out the line "CONSOLE=/dev/console" in /etc/default/login.
That will allow all remote logins though, not only CDE.
 
Old 12-23-2004, 05:54 AM   #11
sysxi
LQ Newbie
 
Registered: Jan 2004
Distribution: Redhat Fedora / Solaris 10
Posts: 25

Original Poster
Rep: Reputation: 15
Thank you jlliagre for your help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Remote desktop software to control desktop GUI? Phaethar Linux - Software 3 06-27-2008 09:30 AM
Remote Access to solaris from winodws PC zillah Solaris / OpenSolaris 29 02-25-2006 09:44 AM
XDMCP remote access to Solaris UltraSoul Solaris / OpenSolaris 1 10-17-2005 11:46 PM
Remote Shell from Linux to Solaris? Zombie13 Linux - Newbie 2 04-21-2005 12:10 AM
Issue Showmount command on remote Solaris 8 system njugs79 Solaris / OpenSolaris 2 04-16-2005 09:40 AM

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

All times are GMT -5. The time now is 11:20 PM.

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