-
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

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G
$449.99

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS
$199.00

Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC
$250.00

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset
$129.99

Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*
$369.99

LOT OF 16 Micron 16GB 2Rx4 PC4-2133P-RB0-10 MTA36ASF2G72PZ SERVER MEMORY ECC
$800.00

SuperMicro 4U CSE 847 36 Bay LFF Barebone 2x 1280W w/ 2x Bays 2.5 Rear w/Trays
$499.99

1U Edge Firewall Server X11SCW-F Xeon E-2174G 0 RAM M.2 NVME 3x PCI-e 2x PSU X
$175.00

Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On
$450.00

Supermicro 505-2 Server
$280.00