DBAsupport.com Forums - Powered by vBulletin
Results 1 to 7 of 7

Thread: X11???

  1. #1
    Join Date
    Jun 2003
    Posts
    6

    X11???

    I had installed 9ias902 on rh as2.1,all seem to be fine ,but when I reboot my compute ,I must excute a "xhost +"manually,
    or my oem says :Servlet error: Renderer failed: java.lang.InternalError: Can't connect to X11 window server using 'xxx.xxx.xxx.xxx:0.0' as the value of the DISPLAY variable.
    what can i do ??I remote control my computer ,and impossible to go to the XWINDOW and excute a "xhost +"manually ?
    thanks

  2. #2
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    you execute xhost + in the server or a telnet sessions

  3. #3
    Join Date
    Nov 2002
    Posts
    80
    3 options:

    install xvfb,
    install a headless AWT (pja)
    install JDK 1.4 & run headless

  4. #4
    Join Date
    Jun 2003
    Posts
    6
    onlysimon,thanks,my java version is 1.4 now .and what does "run headless" mean??
    Last edited by zryou; 06-25-2003 at 09:09 PM.

  5. #5
    Join Date
    Jun 2003
    Posts
    6
    also ,how can the machine automatically allow hosts to connect to the Xserver ,like excuted "xhost +",when it reboot so that don't need to go to the machine and excute the command manually .thanks

  6. #6
    Join Date
    Jun 2003
    Posts
    6
    pando,first thank you
    but the command "xhost +"can't excute through telnet.

    and i want to start all my 9ias service (include em,ohs,oc4j)when i reboot my computer,and this is easy to do through shell script,the problem is :when i deploy the ias through em website ,an error appear on the webpage:Servlet error: Renderer failed: java.lang.InternalError: Can't connect to X11 window server using 'xxx.xxx.xxx.xxx:0.0' as the value of the DISPLAY variable.
    if i excute "xhost +"in the server(only in the server in xwindow can excute),the error disappear.but it is impossible for me to do this every time i reboot my computer cause the machine is remotely controlled.but i need em to deploy ias,so what can i do ??
    thanks

  7. #7
    Join Date
    Nov 2002
    Posts
    80
    to run jdk 1.4 headless just add

    -Djava.awt.headless=true

    to the oc4j start script (sorry it's websphere here so I don't know which file)

    you don't need to fcuk about with xhost+

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width