-
/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
-
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
-
By pelican in forum General Support
Replies: 0
Last Post: 11-26-2004, 09:43 PM
-
By DougE in forum General Support
Replies: 3
Last Post: 07-08-2004, 11:40 PM
-
By pau in forum General Support
Replies: 0
Last Post: 03-15-2004, 04:46 PM
-
By pigface in forum General Support
Replies: 3
Last Post: 09-23-2003, 01:01 PM
-
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
-
Forum Rules

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver
$5.40

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$24.00

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module
$699.99

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT
$7.99

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA
$28.94

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+
$16.99

Cisco SFP-10G-SR V03 850nm 10GBASE-SR SFP+ MMF 10-2415-03 Transceiver
$4.99

Dell 10 Gigabit SFP+ SR Transceiver 0XYD50 NEW SEALED
$24.99

Arista SFP-10G-SR 10GBASE-SR XVR-10001-20 850nm SFP+ Optical Transceiver
$20.70