1834112 Members
2557 Online
110063 Solutions
New Discussion

X session not starting

 
SOLVED
Go to solution
catastro
Super Advisor

X session not starting

Hi all. I have a problem. I am trying to run my x on an HP-UX 11.11 and export the x-session to my local pc, but it is not working. How could I solve the issue?
Thanks in advance

explo:/root# export DISPLAY=10.57.5.16:0.0
explo:/root# opc
explo:/root# Xlib: connection to "10.57.5.16:0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Error: Can't open display: 10.57.5.16:0.0
Error: Couldn't find per display information

explo:/root#
explo:/root# xhost +10.57.5.16
Xlib: connection to "10.57.5.16:0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
xhost: unable to open display "10.57.5.16:0.0"
8 REPLIES 8
likid0
Honored Contributor

Re: X session not starting

Hy,

Check out that you local x window server is runing on your pc, and it's listening for incoming connections.

also you can try and run xhost + without any ip and try.

check the server access control directly on you xwindow server on your pc
Windows?, no thanks
catastro
Super Advisor

Re: X session not starting

nope, still the same error coming in.
I did this already, and still nothing helps.

This is a known problem if Xauthentication through MIT-MAGIC-COOKIE is enabled on your system. By default, MIT-MAGIC-COOKIE-1 is set to 'True'; therefore, the following steps will allow you to disable this setting:



Copy the /usr/dt/config/Xconfig file to the /etc/dt/config directory:

cp /usr/dt/config/Xconfig /etc/dt/config/Xconfig

NOTE: If the /etc/dt/config/Xconfig file already exists, the following modifications can be made to the end of the existing file.


Uncomment the following line in /etc/dt/config/Xconfig file:

Dtlogin*authorize: False


Execute the following command to tell the desktop (window-based) login process to re-read its configuration files and incorporate these changes:

/usr/dt/bin/dtconfig -reset


Run the process again.

Suraj K Sankari
Honored Contributor

Re: X session not starting

Hi,

From windows machin which software you are using to take X-session.
try with reflection or X-manager to catch the CDE of your HP SERVER.

Suraj
catastro
Super Advisor

Re: X session not starting

Hi. I am using x-ming.
Someweeks ago, it worked just fine.
But I came back from holidays a few days ago and not worked anymore and I am not finding much more information on how to solve all this.
Suraj K Sankari
Honored Contributor

Re: X session not starting

Hi,

Did you check your /var/adm/syslog/syslog.log file any error messages are there.

Suraj
Steven E. Protter
Exalted Contributor
Solution

Re: X session not starting

Shalom,

Check /etc/rc.config.d/xfs

see if the font server is set to start (set to 1).

If not, set it to 1 and then:
/sbin/init.d/xfs start

Also note: CDE is not part of the standard HP-UX install. That needs to be installed from the Core OS media to enable X windows.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
catastro
Super Advisor

Re: X session not starting

The variable RUN_X_FONT_SERVER was set to 1.
I restarted the xfs process and now it is running just fine.
I wonder why now it was working for other user, but not to me. It is strange.
catastro
Super Advisor

Re: X session not starting

That was it, restartting the xfs service.
Thanks for the tips and help.