1753701 Members
5106 Online
108799 Solutions
New Discussion юеВ

Can't logon Gnome

 
SeaMark_1
Frequent Advisor

Can't logon Gnome

I changed server destop from CDE to Gnome, but met some troubles.

I have configured /etc/X0.hosts like this:
------------------------
root@xkbqd06# cat /etc/X0.hosts
xkbqd06
localhost
melody0123

and enviromental variable $DISPLAY like this:
----------------------------
root@xkbqd06# set | grep DIS
DISPLAY=:0

Now, Gnome is running, even I can see login graphic but I can't login.

The Gnome'log says :
"AUDIT: Sat Mar 19 20:33:11 2005: 1482 X: client 4 rejected from local host
"

I have found some notes, saying "it can be resolved using command xhost".

I try it on console, as a result:

root@xkbqd06# xhost +
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xhost: unable to open display ":0"

----------------------------

About Gnome configuration file in
"/etc/opt/gnome/gdm/gdm.conf" including this:

===================
[daemon]
AutomaticLoginEnable=ture
AutomaticLogin=


[security]
AllowRoot=true
AllowRemoteRoot=true
RelaxPermissions=0
RetryDelay=3
UserMaxFile=65536
SessionMaxFile=524388
VerboseAuth=true

[xdmcp]
Enable=true


Now, what can I do?
Any help is appreciated !!
He must cherish the hope that one day he will be amply rewarded.
3 REPLIES 3
Alex Lavrov.
Honored Contributor

Re: Can't logon Gnome

Your DISPLAY is set to the wrong value, in fact, it's not set at all. You should set it to the ip of the machine running Xserver, on wich Gnome will run. If it's local machine you can use DISPLAY=localhost:0 and if it's some pc runing xserver (reflection, Xcygwin etc) then DISPLAY=:0.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
SeaMark_1
Frequent Advisor

Re: Can't logon Gnome

OK, I have do this:
------------------------
DISPLAY=localhost:0
export DISPLAY

reboot,
But the problem still exists.


In the end, I configure "/etc/opt/gnome/gdm/gdm.conf" to disables host-based access control mechanisms.

===========

[servers]
0=/usr/bin/X11/X -ac

as a result, I can log but not see destop.

Log say:

gdm[20988]: gdm_xdmcp_decode: Could not create XDMCP buffer!
He must cherish the hope that one day he will be amply rewarded.
Alex Lavrov.
Honored Contributor

Re: Can't logon Gnome

You don' have to reboot. It's only an environment variable. Just set it and try to start gnome.
I don't give a damn for a man that can only spell a word one way. (M. Twain)