resizepfile.sh error, login error
I have been trying Grafpup 2.00 and I'm very impressed. Works great with a physician project I am involved with called Tkfp.
I have found 2 errors, the first of which I need some advice as to how to fix.
When I run the script /usr/sbin/resizepfile.sh, it reports that I'm not currently using a grf_save.2fs file. It complains that the file /etc/rc.d/GRAFSTATE does not exist. Indeed, this is true, because the file /etc/rc.d/PUPSTATE exists instead. I just fixed the reference to this file at the top of /usr/sbin/resizepfile.sh to read:
#variables created at bootup by /initrd/usr/sbin/init...
. /etc/rc.d/PUPSTATE #v2.02
Now the scipt runs correctly, and creates the file /mnt/hda1/grasaveresize.txt as it's supposed to, but whatever script runs at startup does not resize my grf_save.2fs file. How should I fix this?
The second problem I fixed OK, but it's more an observation. I created a grf_save.2fs file on one computer and transfered it to another with a different video card. The script that executes just before graphical login that says to switch to a different console using Ctrl+F2, run xorgwizard, switch back with Ctrl+F1 an proceed to login is incorrect. The command to switch consoles is Alt+F1 and Alt+F2. So I did that, but after a couple of successive reboots I could no longer use the graphical login screen to login as root because my password was incorrect, whereas once logged in as user grafpup and using su , my root password was correct. Further, in this state, I disabled graphical login, but logging out just immediately relaunched the graphical login screen every time so that I could not get to a console to run the xorgwizard as root.
My solution was to use a backup copy of grf_save.2fs and sart over, login as user root, immediately turn off graphical login, and reboot. Then I just use the console to login as root in "text mode", run the xorgwizard on the different machine, and I'm good.