Results 1 to 2 of 2

Thread: /etc/profile won't execute xterm or konsole

  1. #1

    /etc/profile won't execute xterm or konsole

    I am trying to make /etc/profile startup an xterm window when the
    "knoppix" user is logged in at boot up (among other things, but I
    am trying to keep my question as simple as possible ).

    My /etc/profile command is:
    /home/knoppix/startup.sh &

    startup.sh:
    cd /home/knoppix
    sleep 120 (wait to *assure* that X-windows has started)
    xterm > trace.lis 2>&1
    ps -aux >> trace.lis

    I *know* that startup.sh *is* executing, as I have traced the execution of every line.
    But the xterm command does *nothing*.
    It reports no errors.
    The process list shows no xterm.
    If I manually execute startup.sh, it works fine.
    I can execute any *other* programs just fine.
    It's only xterm (and konsole) that are problematic.
    I am totally stumped.
    Any ideas ?
    Thanks !,
    Mark

  2. #2

    SOLVED (kinda)

    For some reason, the "DISPLAY" env var was not defined.
    So this fixed it:

    export DISPLAY=:0.0

    What I can't figure out is why this was not required on my
    previous customized Knoppix CD (which was 3.3 inst of 3.3.2).

Similar Threads

  1. /etc/profile called twice when xterm icon clicked
    By pelican in forum General Support
    Replies: 0
    Last Post: 11-26-2004, 09:43 PM
  2. Konsole output goes where??
    By DougE in forum General Support
    Replies: 3
    Last Post: 07-08-2004, 11:40 PM
  3. problems with imwheel and acroread, gv, konsole
    By pau in forum General Support
    Replies: 0
    Last Post: 03-15-2004, 04:46 PM
  4. KONSOLE QUESTION
    By pigface in forum General Support
    Replies: 3
    Last Post: 09-23-2003, 01:01 PM
  5. Keyboard signals, xawtv/radio, xterm, & konsole
    By beforewisdom in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 06-22-2003, 01:55 PM

Posting Permissions

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


HGST 3.5 Internal Hard Drive 3TB 7200rpm 0F12470 picture

HGST 3.5 Internal Hard Drive 3TB 7200rpm 0F12470

$30.00



*LOT OF 40* 500GB Desktop PC 3.5

*LOT OF 40* 500GB Desktop PC 3.5" SATA Hard Drive HDD*Tested*

$212.00



Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5

Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5" Enterprise Hard Drive

$41.69



Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5

Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5" Hard Drive

$28.52



HP 4TB 3.5

HP 4TB 3.5" 12Gb/s 7.2K SAS Hard Drive P/N: 793674-001 / 803634-001 / 695597-004

$14.99



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$89.99



HGST Ultrastar HE10 10TB SATA 6.0Gb/s 7200 3.5

HGST Ultrastar HE10 10TB SATA 6.0Gb/s 7200 3.5" Datacenter HDD - HUH721010ALE601

$69.99



Seagate Exos X14 12TB SATA6Gb/s 7200RPM 3.5

Seagate Exos X14 12TB SATA6Gb/s 7200RPM 3.5" Enterprise Hard Drive ST12000NM0558

$99.95



Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5

Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5" Enterprise Hard Drive

$44.62



1TB HDD/SSD 2.5

1TB HDD/SSD 2.5" SATA Hard Drive for Laptop with Win 10/Win 11 Pro Pre-installed

$44.55