-
Senior Member
registered user
I made some modifications to knoppix-autoconfig by adding following lines after last "fi":
# Setting right permissions and owners to /etc/qt3, /tmp/.ICE-unix and /tmp/.X11-unix
mkdir -p /tmp/.ICE-unix 2>/dev/null
chown -R root:root /tmp/.ICE-unix 2>/dev/null
chmod 1777 /tmp/.ICE-unix 2>/dev/null
mkdir -p /tmp/.X11-unix 2>/dev/null
chown -R root:root /tmp/.X11-unix 2>/dev/null
chmod 1777 /tmp/.X11-unix 2>/dev/null
chmod 777 /etc/qt3 2>/dev/null
# Copy everything from /etc/skel to /home/knoppix
mkdir -p /home/knoppix 2>/dev/null
cp -Rp /etc/skel/.??* /home/knoppix 2>/dev/null
cp -Rp /etc/skel/??* /home/knoppix 2>/dev/null
# mv /home/skel knoppix 2>/dev/null
chown -R knoppix:knoppix /home/knoppix 2>/dev/null
I think that home directory for user knoppix can be done in this early stage (before starting X) because in /etc/X11/Xsession.d/45xsession is always --ignore-existing before copying files.
These modificationg might be too complicated and I have forgotten what difficulties I had using 45xsession when copying files from /etc/skel to /home/knoppix. So this is only my temporary solution for KDE 3.4.1. Perhaps someone knows a better way to do these thing than I have done. I think that with KDE 3.4.0 was no problem in populating /home directory.
Hope there would be an updated 45xsession and knoppix-autoconfig file in next Knoppix release to solve these owner and permissions problems and /home/knoppix directory population problems.
-tapsa-
Similar Threads
-
By acer0001 in forum Customising & Remastering
Replies: 1
Last Post: 01-25-2005, 05:38 PM
-
By ix86i in forum Customising & Remastering
Replies: 3
Last Post: 11-11-2004, 10:21 PM
-
By Steve F in forum Ideas
Replies: 0
Last Post: 10-21-2004, 03:28 AM
-
By bitey in forum Tips and Tricks
Replies: 0
Last Post: 09-01-2003, 09:05 AM
-
By rihad in forum Customising & Remastering
Replies: 7
Last Post: 07-02-2003, 06:18 AM
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

Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV
$18.95

Broadcom MegaRAID 9480-8e Fujitsu PRAID EP540e SAS RAID Card (Replac 9380-8e) 8i
$228.00

EMC KTN-SL3 15-Bay Disk Array Enclosure w/2x 303-108-000E Cards, Dual PSU,No HDD
$239.99

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD
$265.00

OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2 for Dual 3.5 inch HDDs
$87.99

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller
$64.99

MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00
$1619.26

OWC Express 4M2 USB4 40Gb/s 4-Slot NVMe M.2 SSD RAID Enclosure w/ Cable
$125.00

Areca ARC-1882IX-24 (16i4e)24-Port RAID Controller Card w/BBU /HDD Monitor Board
$300.00

G-Technology G-SPEED Studio XL 48TB Thunderbolt 2 Storage - Housing Only
$200.00