Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: baz on February 22, 2010, 02:37:50 PM
-
If you specify a custom user through bootcodes (i.e. user=baz), then install XFCE, then try exiting using the exit icon on the panel (red arrow and door), you will recieve the error:
"Failed to change to directory '/home/tc' (No such file or directory)"
It seems the TC user is hard-coded in the config, or something along those lines.
-
In case anyone was curious, the fix is very easy. Simply right-click the icon > properties, then change the "working directory" to your home folder.
-
I believe a more permanant fix would be to change in the Xfce4base.tcz extension in the usr/local/share/xfce4/userdefaults/.config/xfce4/panel/launcher-12493865401.rc file the entry Path=/home/tc to Path=/tmp
-
What about PATH=~
-
What about PATH=~
Nope, that produces the same error message. I had earlier tried "/tmp/$USER", which also resulted in the error message.
-
How about PATH=/home/$(cat /etc/sysconfig/tcuser) ?
-
I believe it does not matter much which working directory is specified for the execution of 'exittc'. The directory just has to exist, and it appears that variables that a shell uses (e.g. $USER) are not defined.
-
I believe it does not matter much which working directory is specified for the execution of 'exittc'. The directory just has to exist, and it appears that variables that a shell uses (e.g. $USER) are not defined.
One more thing to consider.
exittc can create a backup. home/tc is hardcoded in /opt/.filetool.lst