-
Senior Member
registered user
Can't tweak Knoppix 7.4 LiveUSB system files in /etc/
.
Greetings, All.
With earlier Knoppix 6s and 7s, I became accustomed to making
small changes to certain system files to achieve some modest LiveUSB
'improvements'. For some reason, I seem to be locked out of the
ability to just go in and modify these files as I used to do.
Two specific files that are resisting my efforts are:
/etc/xdg/lxsession/LXDE/autostart (I want to add iceweasel), and
/etc/syslog-knoppix.conf (I want to add /var/log/syslog)
What has changed that I should know about? TIA.
-
Using: '/.config/.../autostart' does not work?
Last edited by philo; 08-18-2014 at 10:39 AM.
-
Senior Member
registered user
Originally Posted by
philo
Using: '/.config/.../autostart' does not work?
Greetings, philo.
Adding @iceweasel to /etc/xdg/lxsession/LXDE/autostart doesn't work as it did previously.
/.config/.../autostart is a directory, I'll need some instructions or at least a filename to work with that.
Thanks for the hint.
-
-
Senior Member
registered user
Originally Posted by
philo
Greetings, again philo.
I hadn't seen this before, but I think Werner is right here, as usual.
Without a specific page target the results are a little erratic on just what the browser will display;
often, but not always with its own 'oops' message.
I had almost come to Werner's conclusion on my own.
Thanks again for your help.
-
Senior Member
registered user
This may be crude, but it works. Thanks, philo.
# startup.desktop
[Desktop Entry]
Name=Startup
Exec="iceweasel"
Icon=
Type=Application
(Adapted from an old Klaus2008 posting)
-
Senior Member
registered user
Status report on my Knoppix 7.4 complaints:
.
1. I have tamed Compiz to my satisfaction for now.
2. Given that, my Post #4 here now adequately fills my autostart needs.
3. I haven't a clue on how to get syslog back, and Werner's
old syslog solution doesn't work any more, either.
-
I haven't a clue on how to get syslog back, ..
Code:
su
mv /etc/syslog-knoppix.conf /etc/syslog-knoppix.conf_orig
aptitude install anacron
ln -s /usr/sbin/rsyslogd /sbin/syslogd
reboot
Greetings Werner
-
Senior Member
registered user
Greetings, Werner, and thanks.
Using Knoppix 7.2 and previous versions of Knoppix, I created a
few useful utility functions to time (or count) things relative to time at boot
using syslog. Each syslog line entry begins with a character group
formatted similar to a date function response formatted in
hours, minutes and seconds since the time syslog started at boot.
For examples:
Code:
# Parts of my ~/.bashrc in Knoppix 7.2:
alias 'Syslog=less /var/log/syslog' # requires syslog
at.Start(){ # echo time at Start (requires Syslog)
echo -e "at Start: \c"; Syslog | grep restart | awk '{ print $3 }'
}
Boot.Time(){ # Seconds to browser on-line (requires Syslog)
echo -e "Online at: \c"; Syslog | grep avahi | awk '{ print $3 }'
at.Start
}
Disconnects() { # Wifi disconnects since boot (requires Syslog)
echo -e "Time now: \c"; date | awk '{ print $4 }'
at.Start
echo -e "Wifi disconnects: \c"; Syslog | grep -c disconnecting
}
What does a typical anacron or cron print-out (or line of output) look like?
Can you give us a Screenshot?
Last edited by utu; 08-19-2014 at 02:48 PM.
-
'/usr/sbin/rsyslogd' succeeds '/sbin/syslogd'. But '/etc/init.d/knoppix-autoconfig' still uses '/sbin/syslogd'; therefore I suggest the use of a symlink. Perhaps in a new Knoppix version this will no longer work.
I think your bashrc will work as until now.
Cron or anacron have no print-out. With cron you can define jobs and their execution time to logrotate the output of the logfiles; this will prevent an overflow of '/var/log'. If you doesn't have a server which will run all over the time, you need anacron. It will make up these cron jobs, which could not be carried out because the computer has been shut off at the defined execution time.
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
HP ProLiant DL380 Gen9 8SFF Server - E5-2698 v3 - 32Cores - 128GB Ram - 1TB HDD
$299.00
Dell R730xd 26 Port SFF 2x E5-2697v4 36-Cores H730 128GB Server 2x SFP 10G ENT
$490.00
HP ProLiant DL380 Gen9 Server 1x Xeon E5-2620V3 2.40 GHz 16 GB RAM No OS No HDD
$114.95
DELL PowerEdge R630 8SFF Server 2x E5-2699v3 2.3GHz =36 Cores 64GB H730 4xRJ45
$345.00
Dell PowerEdge R230 1U Server BOOTS Xeon E3-1270 v5 @ 3.60GHz 8GB RAM NO HDDS
$79.99
Dell R630 Server 2x E5-2620 V4 2.1GHz =16 Cores 128GB DDR4 1x 960GB 2x 1G 2x 10G
$345.00
Dell PowerEdge R620 Dual Intel Xeon E5-2697 v2 @2.70GHz 128GB RAM No HDD S110
$144.50
Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 120Gb SSD/3x900Gb SAS, Proxmox
$320.00
CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs
$300.00
Lenovo SR530 Server (Intel Xeon Silver 4110) (3x 800GB SSD) (NO OS) (48GB RAM)
$599.00