unable open xterm

Usuário do Sistema maiconlp at ig.com.br
Mon May 9 09:31:06 PDT 2011


Thank you Marty for your return.


I've just tried:

1- export DISPLAY=:0.0

2- xauth -f path list
xauth:  creating new authority file path











2011/5/9 Marty Jack <martyj19 at comcast.net>:
>
>
> On 05/09/2011 11:50 AM, Usuário do Sistema wrote:
>> Hi everyone,
>>
>> I'm trying open one session xterm on of the same machine that holds
>> the X Server but occur a error.
>>
>> what I've done:
>>
>> 1- login in at the machine that holds the X server by ssh ( the
>> Machine hasn't monitor )
>>
>> 2- ran the command export DISPLAY=0.0
>>
>> 3- ran the command xterm
>>
>> appear the error follow:
>>
>> Warning: This program is an suid-root program or is being run by the root user.
>> The full text of the error or warning message cannot be safely formatted
>> in this environment. You may get a more descriptive message by running the
>> program as a non-root user or by removing the suid bit on the executable.
>> xterm Xt error: Can't open display: %s
>>
>> I'm using the Red Hat Enterprise 5.6 on the machine and I need open
>> one session xterm.
>>
>> why occur this error ? what I have do to open xterm session ?
>>
>> strangely it was work! out of the blue began appear the message above
>> when I've ran xterm command.
>>
>> any tip it's welcome!
>>
>> thank
>> _______________________________________________
>> xorg at lists.freedesktop.org: X.Org support
>> Archives: http://lists.freedesktop.org/archives/xorg
>> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
>> Your subscription address: martyj19 at comcast.net
>>
>
> One thing that looks wrong is it should be DISPLAY=:0.0, you're missing a colon.
>
> The second thing that might be wrong is authorization.  If your Xserver is started with an -auth switch, you need to export XAUTHORITY=some-path where that file contains the same session cookie that the server has and is readable by whatever process is trying to connect to the server.
>
> You can poke around with xauth -f path list to see what is in a cookie file if you need to.
> _______________________________________________
> xorg at lists.freedesktop.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
> Your subscription address: maiconlp at ig.com.br
>



More information about the xorg mailing list