-
/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

AMD Ryzen 5 5500 Processor ( read Description)
$59.00

INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR
$23.00

(LOT OF 20) Intel Core i5-8400 CPU 2.80GHz Desktop Processor (SR3QT)
$700.00

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99

Intel Core i7-3770K 3.5 GHz Processor
$39.00

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151
$79.99

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor
$67.99

AMD Ryzen 7 5800X Desktop Processor (4.7GHz, 8 Cores, Socket AM4)
$150.00

Intel Core i7-10700 8-Core 16-Thread 2.9GHz Desktop CPU LGA1200 SRH6Y Z490 Z590
$129.00