Topic
  • 3 replies
  • Latest Post - ‏2007-03-28T17:31:14Z by SystemAdmin
Sunneo
Sunneo
7 Posts

Pinned topic issue with X11 and CDE seem not working good

‏2007-03-28T08:39:31Z |
xhost + from root return me ( $DISPLAY is not set) :
1356-200 xhost unable to open display ""
xhost + from root return me ( $DISPLAY is set to localhost:0) :
1356-200 xhost unable to open display "localhost:0"

So, I can't use any X application because of :
Xlib: connection to "@IP:0.0" refused by server
Xlib: No protocol specified

CDE seem installed correctly :
lslpp -l | grep X11.Dt
X11.Dt.ToolTalk 5.3.0.0 COMMITTED AIX CDE ToolTalk Support
X11.Dt.adt 5.3.0.0 COMMITTED AIX CDE Application
X11.Dt.bitmaps 5.3.0.0 COMMITTED AIX CDE Bitmaps
X11.Dt.compat 5.3.0.0 COMMITTED AIX CDE Compatibility
X11.Dt.helpinfo 5.3.0.0 COMMITTED AIX CDE Help Files and Volumes
X11.Dt.helpmin 5.3.0.0 COMMITTED AIX CDE Minimum Help Files
X11.Dt.helprun 5.3.0.0 COMMITTED AIX CDE Runtime Help
X11.Dt.lib 5.3.0.30 COMMITTED AIX CDE Runtime Libraries
X11.Dt.rte 5.3.0.30 COMMITTED AIX Common Desktop Environment
X11.Dt.xdt2cde 5.3.0.0 COMMITTED AIX CDE Migration Tool
X11.Dt.ToolTalk 5.3.0.0 COMMITTED AIX CDE ToolTalk Support
X11.Dt.bitmaps 5.3.0.0 COMMITTED AIX CDE Bitmaps
X11.Dt.helpinfo 5.3.0.0 COMMITTED AIX CDE Help Files and Volumes
X11.Dt.helpmin 5.3.0.0 COMMITTED AIX CDE Minimum Help Files
X11.Dt.rte 5.3.0.30 COMMITTED AIX Common Desktop Environment

but CDE seem not working good, I have only :
ps -ef |grep dt
root 319626 307262 0 10:36:37 pts/1 0:00 grep dt
root 327802 192692 0 10:18:26 - 0:00 /usr/dt/bin/dtlogin

Thanks for help

: )
Updated on 2007-03-28T17:31:14Z at 2007-03-28T17:31:14Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    6902 Posts

    Re: issue with X11 and CDE seem not working good

    ‏2007-03-28T09:03:32Z  

    Did you try "xhost +" from the console?
  • Sunneo
    Sunneo
    7 Posts

    Re: issue with X11 and CDE seem not working good

    ‏2007-03-28T09:08:49Z  

    Did you try "xhost +" from the console?
    Yes, it's the same from console. I suppose it's console because i open terminal from HMC.

    I have no graphic card, and then no /dev/lft0
    I try to tell to CDE skip search graphic card when starting by setting DT_NO_DISPLAY_CHECK but don't know what to do.
    trying DT_NO_DISPLAY_CHECK=1 and true failed

    Not sure I'm on the good way ...
  • SystemAdmin
    SystemAdmin
    6902 Posts

    Re: issue with X11 and CDE seem not working good

    ‏2007-03-28T17:31:14Z  
    • Sunneo
    • ‏2007-03-28T09:08:49Z
    Yes, it's the same from console. I suppose it's console because i open terminal from HMC.

    I have no graphic card, and then no /dev/lft0
    I try to tell to CDE skip search graphic card when starting by setting DT_NO_DISPLAY_CHECK but don't know what to do.
    trying DT_NO_DISPLAY_CHECK=1 and true failed

    Not sure I'm on the good way ...
    I may not understand you.
    I apologize if the following answer is inappropriate.

    Am I correct, that you seek to use X without a graphics card?

    >> xhost + from root return me ( $DISPLAY is not set) :
    >> 1356-200 xhost unable to open display ""
    >> xhost + from root return me ( $DISPLAY is set to localhost:0) :
    >> 1356-200 xhost unable to open display "localhost:0"
    > I have no graphic card, and then no /dev/lft0

    If I understand your situation correctly, a few concepts may be helpful.

    X is a communications protocol for sending graphical presentations
    (http://en.wikipedia.org/wiki/X_server#Design_principles_of_X)

    The X server must be running on the machine whose monitor you use.
    Clients can be running anywhere limited by communication bandwidth.
    Each client must be informed where to send its graphical directions,
    by setting $DISPLAY to <host>:<server>.<screen>.

    If not set, most clients will default to DISPLAY=:0.0 which is normally
    equivalent to 127.0.0.1:0.0 (the first screen controlled by the first
    X server, running on the local host).

    When started, the X server must be informed about the graphics card and
    monitor that is installed for use. Most X servers default to a VGA graphics
    card and 640x480 VESA monitor.

    <IMHO>
    Though XGGI (http://www.stacken.kth.se/~mackan/ggi/xggi/) exists as an
    X server that requires no graphics card, it is not generally practical.
    </IMHO>