Author Topic: BlackCat Astronomy Edition now available  (Read 5325 times)

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: BlackCat Astronomy Edition now available
« Reply #45 on: September 23, 2011, 07:05:29 PM »
Hi,
I can't take time these days for it, but have you done something to ensure the users will get the credentials in the live version ? And get rid of them once installed ?
Regards,
Mélodie
Sorry Mélodie, could you please explain or rephrase that bit.

Taco.22

She means the login information for the liveCD.   

Offline Taco.22

  • Sr. Member
  • ****
  • Posts: 481
Re: BlackCat Astronomy Edition now available
« Reply #46 on: September 23, 2011, 08:22:58 PM »
Hi Neal,

Sorry to sound thick, but what do you mean by the "login information"?

Taco.22
Linux Registered User # 529407


Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: BlackCat Astronomy Edition now available
« Reply #47 on: September 23, 2011, 08:45:00 PM »
This --->>   
Login Information:     
User:     Password:     
guest     guest     
root       root     

Offline Taco.22

  • Sr. Member
  • ****
  • Posts: 481
Re: BlackCat Astronomy Edition now available
« Reply #48 on: September 23, 2011, 08:57:17 PM »
Oops - didn't think about that ::).  Too used to just banging in "root" and "guest" all the time - took it forgranted.

That needs to go on the login page - will work out how to set that up.  In the mean time I'll add those details to the first post.
Linux Registered User # 529407


Offline Taco.22

  • Sr. Member
  • ****
  • Posts: 481
Re: BlackCat Astronomy Edition now available
« Reply #49 on: September 24, 2011, 07:13:54 AM »
Um, actually, how DO you set up the gdm page with that in live cd, but not have it carry over to Install?  I've had a look through the various gdm, plymouth and boot files, but can't put my finger on the obvious.

And don't tell me, I missed the obvious ?!?   
Linux Registered User # 529407


Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: BlackCat Astronomy Edition now available
« Reply #50 on: September 24, 2011, 07:23:02 AM »
Hi,

No it's not obvious.

In /etc/rc.d/ there is the rc.sysinit file there is a section starting line number 1466 which is the post-install part:
Quote
#LIVECD STUFF
if [ -f /etc/delete-guest-account ]; then
   action "Removing Guest Account on first boot" /usr/sbin/userdel -r guest
   rm -rf /etc/delete-guest-account

# Remove Livecd file
   rm -rf /etc/livecd

# reset on first boot dpms to true so screensavers will kick in
   perl -pi -e "s|"DPMS\"" "\"false"|"DPMS"|" /etc/X11/xorg.conf

#Remove draklive-install stuff
        rpm -e draklive-install
        rm -rf /root/Desktop/draklive-install.desktop
#       rpm -e virtualbox-guest-additions
fi
#END LIVECD STUFF

before the last "fi" add:

mv /usr/share/gdm/themes/Your-Gdm-theme/background2.jpg /usr/share/gdm/themes/Your-Gdm-theme/background.jpg

The tweaked background should have for name background.jpg, and the normal theme renamed to background2.jpg.

This post-install arrangement will restore the original background file.

There is another way with a script done by Archie for the PCLinuxOS 2011 now. I could pass it over to you for adaptation if you like. It supposes you will configure GDM to login automatically for the guest user. (And perform the same kind of trick in the rc.sysinit as well).

PS: adapt the directory name "Your-Gdm-theme"...

« Last Edit: September 24, 2011, 07:26:42 AM by melodie »
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Taco.22

  • Sr. Member
  • ****
  • Posts: 481
Re: BlackCat Astronomy Edition now available
« Reply #51 on: September 24, 2011, 08:16:21 AM »
Hi Mélodie

That's it, I'm going to bed!  My brain hurts!!  Damn, I was really hoping  I had missed the obvious!  Tomorrow I will put your instructions into practice - of course I'm not going to know if it worked until I do a remaster. 

Maybe it's not too late to take up another hobby ;D.

Nup, doomed!

Taco.22   
Linux Registered User # 529407


Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: BlackCat Astronomy Edition now available
« Reply #52 on: September 24, 2011, 10:22:09 AM »
Hi Mélodie

That's it, I'm going to bed!  My brain hurts!!  Damn, I was really hoping  I had missed the obvious!  Tomorrow I will put your instructions into practice - of course I'm not going to know if it worked until I do a remaster. 

Maybe it's not too late to take up another hobby ;D.

Nup, doomed!

Taco.22   

Good night Taco,

Don't worry, you will see tomorrow that it is not difficult, and you will not have problems with this.

Regards,
Mélodie

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: BlackCat Astronomy Edition now available
« Reply #53 on: September 24, 2011, 09:55:20 PM »
Hi Mélodie

That's it, I'm going to bed!  My brain hurts!!  Damn, I was really hoping  I had missed the obvious!  Tomorrow I will put your instructions into practice - of course I'm not going to know if it worked until I do a remaster. 

Maybe it's not too late to take up another hobby ;D.

Nup, doomed!

Taco.22   

Welcome to the wonderful world of system development. :D     

An alternative method is to create a wallpaper with the login info on it, put it in a folder in /home/guest/, set it as guest wallpaper and set up autologin to guest. As the guest account is deleted on first boot after install, the wallpaper goes, too.     

Offline Taco.22

  • Sr. Member
  • ****
  • Posts: 481
Re: BlackCat Astronomy Edition now available
« Reply #54 on: September 24, 2011, 10:32:47 PM »
Quote
An alternative method is to create a wallpaper with the login info on it, put it in a folder in /home/guest/, set it as guest wallpaper and set up autologin to guest. As the guest account is deleted on first boot after install, the wallpaper goes, too.

Ooh, but that's cheating isn't it ?:o?  Makes it too easy ;D ;D.
Linux Registered User # 529407


Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: BlackCat Astronomy Edition now available
« Reply #55 on: September 24, 2011, 10:35:04 PM »
Quote
An alternative method is to create a wallpaper with the login info on it, put it in a folder in /home/guest/, set it as guest wallpaper and set up autologin to guest. As the guest account is deleted on first boot after install, the wallpaper goes, too.

Ooh, but that's cheating isn't it ?:o?  Makes it too easy ;D ;D.

Are you calling me a cheater? >:( >:( >:(     

Easy, yes. Cheating? No! :D :D     

Offline Taco.22

  • Sr. Member
  • ****
  • Posts: 481
Re: BlackCat Astronomy Edition now available
« Reply #56 on: September 24, 2011, 11:42:12 PM »
Ahh, well that's all right then :D.
I'll give both methods a try - never know when that knowledge might come in useful.  Always handy having a multi-pronged approach.
Linux Registered User # 529407


Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: BlackCat Astronomy Edition now available
« Reply #57 on: September 25, 2011, 02:59:59 AM »
Ahh, well that's all right then :D.
I'll give both methods a try - never know when that knowledge might come in useful.  Always handy having a multi-pronged approach.

LOL ! You are right, learning is interesting. btw, these are what Neal taught me when I started the Openbox project. :)

Thank you Neal !

Regards,
Mélodie

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: BlackCat Astronomy Edition now available
« Reply #58 on: September 25, 2011, 03:12:24 AM »
Taco.22,
"There's more than one way to skin a cat." ;) :D :D     
That's only the two ways I have used. LOL Probably there are other ways I've not learned yet. :D :D     

Melodie,
You're welcome. It's a great thing to share knowledge, isn't it?     

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: BlackCat Astronomy Edition now available
« Reply #59 on: September 25, 2011, 03:28:36 AM »
Taco.22,
"There's more than one way to skin a cat." ;) :D :D     
That's only the two ways I have used. LOL Probably there are other ways I've not learned yet. :D :D
   

I have tried the script made by Archie when Texstar asked for one. It can be installed somewhere in the $PATH, needs configuring GDM for autologin for guest, and be also removed at post-install time. 

Quote
Melodie,
You're welcome. It's a great thing to share knowledge, isn't it?   
 

Yes Neal !  :)
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode