Thursday, September 25, 2008

Cannot XManager into Solaris box

It's funny stuff, but somehow it would be useful, if you are new with Solaris

I tried to xmanager into Solaris box, but i got no response from the xmanager server

1/ I did exported DISPLAY to the local server by using IP address to avoid any miss DNS resolution. But it was unsuccessful
#DISPLAY=172.x.x.x:0.0
export DISPLAY

2/ I log into system by using SSH, check the DNS resolution. I nslookup the computer name 'pha3-1', it returned right IP. But when i nslookup the IP, it didn't return the right computer name ;-), fix it

3/ Again, I tried to xmanager, perfect, i appeared the login screen, but I wasn't able to login by root

4/ Then I back to SSH console, then check /etc/default/login, find CONSOLE=/dev/console, woa, it doesn't permit to login by root, # it

Finally, I was able to xmanager by root to Solaris box



Updated Sept 26, 2008
Today, i tried to xmanager int RHEL5, and face another problem, "cannot login"

SOLUTIONS:
----------
vi /etc/gdm/gdm-config
add tag
[xdmcp]
Enable=true

[security]
AllowRootLogin=true



Then restart X-Window
#init 3
#init 5

Ref links:
http://www.netsarang.com/products/xmg_faq.html
Tip and Trick: i cannot find any tag with name [security] in the /etc/gdm/gdm-config
then i went into /usr/share/gdm/defaults.conf. Then i saw the tag, and default parameter as well. Without this tag, you can only xmanager without root permission

Digital Inspiration Technology Guide

Change the world with your passion