<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>14898</bug_id>
          
          <creation_ts>2008-03-14 04:25:33 +0300</creation_ts>
          <short_desc>starts even if DISPLAY is unset</short_desc>
          <delta_ts>2008-05-01 19:12:03 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>aterm</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>65765</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-03-14 04:25:33 +0300</bug_when>
    <thetext>same as https://bugzilla.altlinux.org/show_bug.cgi?id=840

aterm-1.0.1-alt1

xterm-232-alt1 doesn&apos;t behave like this; xterm refuses to start with no DISPLAY. 

Does this mean that too many privileges are given to aterm?
Steps to Reproduce:
# In an X session started by wdm:
$ unset DISPLAY
$ echo $DISPLAY

$ Eterm


Actual Results:  
It starts on this display.

Expected Results:  
Like this:

$ unset DISPLAY 
$ xterm
xterm Xt error: Can&apos;t open display: 
xterm:  DISPLAY is not set
$</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65766</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-03-14 04:26:43 +0300</bug_when>
    <thetext>Sorry: s:Eterm:aterrm: in the Steps to Reproduce.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68314</commentid>
    <comment_count>2</comment_count>
    <who name="Sir Raorn">raorn</who>
    <bug_when>2008-04-14 22:13:37 +0400</bug_when>
    <thetext>Самый умный, #$^%#^#@....

    if( display_name == NULL )
        if ((display_name = getenv(&quot;DISPLAY&quot;)) == NULL)
            display_name = &quot;:0&quot;;

Ну почему мне так &quot;везёт&quot; на говнософт?

Fixed in 1.0.1-alt2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69225</commentid>
    <comment_count>3</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-05-01 19:12:03 +0400</bug_when>
    <thetext>:)
спасибо, в aterm-1.0.1-alt2 всё ok.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>