to reproduce:
do at boot: cheatcode: cliexec=echo~somehostname~>~/etc/HOSTNAME (or if you're using changes just edit HOSTNAME or use rootcopy)
result: X fails to start properly ie blank screen
then: ctrl+alt+backspc > then X starts and hostname is as set
the failed X session(seen by ctrl+alt+F1) seemed to get stuck on :"No Protocol Specified"
the suggested fix:
add package hostname and add section to /etc/rc.d/rc.M :
Code: Select all
# Set the hostname.
if [ -r /etc/HOSTNAME ]; then
/bin/hostname $(cat /etc/HOSTNAME) &
else
# fall back on this old default:
echo "porteus.example.net" > /etc/HOSTNAME
/bin/hostname porteus.example.net &
fi
another workaround: boot to text(cheatcode 3) login USER(guest or whatever) and startx ..