RE: Problems in setting display variable for X Windows server

From: santhosh (santosh_at_e2esolutions.com)
Date: 06/24/04

  • Next message: Nguyen, Long P (Mission Systems): "help with perl on redhat"
    To: "General Red Hat Linux discussion list" <redhat-list@redhat.com>
    Date: Thu, 24 Jun 2004 11:51:49 -0700
    
    

    Yes,
             Logging in as root

    -----Original Message-----
    From: redhat-list-bounces@redhat.com
    [mailto:redhat-list-bounces@redhat.com]On Behalf Of Ted Beaton
    Sent: Thursday, June 24, 2004 11:43 AM
    To: General Red Hat Linux discussion list
    Subject: Re: Problems in setting display variable for X Windows server

    Are you root?

    ----- Original Message -----
    From: "santhosh" <santosh@e2esolutions.com>
    To: "General Red Hat Linux discussion list" <redhat-list@redhat.com>
    Sent: Thursday, June 24, 2004 2:31 PM
    Subject: RE: Problems in setting display variable for X Windows server

    > Hi,
    > The response I get is this....
    >
    > [root@localhost X11]# xhost +
    > Xlib: connection to "localhost:0.0" refused by server
    > Xlib: Client is not authorized to connect to Server
    > xhost: unable to open display "localhost:0"
    >
    >
    > Regards,
    > Santhosh
    >
    > -----Original Message-----
    > From: redhat-list-bounces@redhat.com
    > [mailto:redhat-list-bounces@redhat.com]On Behalf Of Ted Beaton
    > Sent: Thursday, June 24, 2004 11:28 AM
    > To: General Red Hat Linux discussion list
    > Subject: Re: Problems in setting display variable for X Windows server
    >
    > Try running the command "/usr/bin/X11/xhost +"
    >
    > Ted
    > ----- Original Message -----
    > From: "santhosh" <santosh@e2esolutions.com>
    > To: <redhat-list@redhat.com>
    > Sent: Thursday, June 24, 2004 1:14 PM
    > Subject: Problems in setting display variable for X Windows server
    >
    >
    > >
    > > Hi ,
    > > I have some problems in setting the display variable for X
    windows.
    > > Things were working fine when I wanted to change the hostname of my
    > server.
    > > I did all the necessary changes in the files:
    > > 1. /etc/hosts
    > > 2. /etc/sysconfig/network
    > > 3. /proc/sys/kernel/hostname
    > > 4. /etc/sysconfig/network-scripts
    > >
    > > Then I wanted to revert back to my old settings, I undid all the
    changes.
    > > Now the responses for few commands to set my display variable are like
    > this;
    > >
    > >
    >
    ****************************************************************************
    > > ********************
    > > [root@localhost root]# echo $DSIPLAY
    > > (blank)
    > > [root@localhost root]#
    > >
    > > even after I give the command export DISPLAY=localhost:0
    > >
    >
    ****************************************************************************
    > > ********************
    > > [root@localhost root]#xterm
    > > Xlib: connection to "localhost:0.0" refused by server
    > > Xlib: Client is not authorized to connect to Server
    > > Warning: This program is an suid-root ...
    > >
    > >
    >
    ****************************************************************************
    > > ********************
    > > [root@localhost root]# xhost
    > > Xlib: connection to "localhost:0.0" refused by server
    > > Xlib: Client is not authorized to connect to Server
    > > xhost: unable to open display "localhost:0"
    > >
    > >
    >
    ****************************************************************************
    > > ********************
    > > [root@localhost root]# xinit
    > >
    > > Fatal server error:
    > > Server is already active for display 0
    > > If this server is no longer running, remove /tmp/.X0-lock
    > > and start again.
    > >
    > > When reporting a problem related to a server crash, please send
    > > the full server output, not just the last messages.
    > > Please report problems to xfree86@xfree86.org.
    > >
    > > Xlib: connection to ":0.0" refused by server
    > > Xlib: Client is not authorized to connect to Server
    > > giving up.
    > > xinit: unable to connect to X server
    > > xinit: No such process (errno 3): Server error.
    > > [root@localhost root]#
    > >
    >
    ****************************************************************************
    > > ********************
    > >
    > > Though , I should say I am a newbie...to Linux environment, and much of
    an
    > > application development guy.facing problems in displaying graphics in my
    > > servlet.
    > >
    > > Please help me.
    > >
    > > Regards
    > > Santhosh
    > >
    > >
    > >
    > >
    > > --
    > > redhat-list mailing list
    > > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    > > https://www.redhat.com/mailman/listinfo/redhat-list
    > >
    >
    >
    > --
    > redhat-list mailing list
    > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    > https://www.redhat.com/mailman/listinfo/redhat-list
    >
    >
    > --
    > redhat-list mailing list
    > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    > https://www.redhat.com/mailman/listinfo/redhat-list
    >

    --
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Nguyen, Long P (Mission Systems): "help with perl on redhat"

    Relevant Pages

    • Re: how to find "step by step" articles to learn windows 2003 AD?
      ... Sites by Using ISA Server in Windows 2000 and Windows 2003" ... Additional Help Files for Windows Server 2003" ... http://support.microsoft.com?kbid=323360 "How to install and configure a DHCP ... http://support.microsoft.com?kbid=323381 "HOW TO Allow Remote Users to Access ...
      (microsoft.public.win2000.advanced_server)
    • Re: Installation Failure - Error Code 0x80244018
      ... You experience problems when you access the Windows Update Version 6 Web site through a server that is running ISA Server ... .101 is pruned out due to potential supersedence ... [CallerId = MicrosoftUpdate] ...
      (microsoft.public.windowsupdate)
    • RE: Backups, VSS and SBS2003 HELP NEEDED!!!
      ... suggest customers Only install Windows Server 2003 SP1 on their server. ...
      (microsoft.public.windows.server.sbs)
    • [NT] Vulnerabilities in DNS Allows Spoofing (MS08-037)
      ... Get your security news from a reliable source. ... the Windows Domain Name System (DNS) that could allow spoofing. ... Microsoft Windows 2000, Windows XP, Windows Server 2003, and Windows ...
      (Securiteam)
    • Der Server konnte keinen nicht ausgelagerten Poolspeicher reservieren, da
      ... Der Server konnte keinen ausgelagerten Poolspeicher reservieren, ... Product Name Microsoft Windows Server 2003 R2 Build Lab ... Sicherheitsupdate für Windows Internet Explorer 7 1 ...
      (microsoft.public.de.german.windows.server.general)