Re: how to get nm-applet switched on when making a LiveCD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 14 Mar 2012 09:26:40 +0100 suvayu ali <fatkasuvayu
+linux@xxxxxxxxx> wrote:

> Hi Ranjan,
> 
> On Tue, Mar 13, 2012 at 18:41, Ranjan Maitra <maitra@xxxxxxxxxxx> wrote:
> > Hi,
> >
> > I am trying to put together a LiveCD. I have sort of put together one,
> > however, I am unable to get the nm-applet switched on. So, this is what
> > I do: start stalonetray which pops up. Then I type nm-applet which
> > comes up, however it says that the (live) user does not have the
> > ability to switch on the service. (Something like that, at least). My
> > question is: what in the .ks file allows this to happen?
> >
> 
> A live system is non-trivial. It needs a liveuser and root with no
> passwd for starters. Did you start from your own kickstart? I would
> suggest fedora-live-base.ks as a good starting point:
> 
> <http://git.fedorahosted.org/git/?p=spin-kickstarts.git;a=tree>
> 
> Your best bet probably would be to include fedora-live-base and just
> add your own package selection and customisation in yours.

Yes, I did include the above (trying to build a LiveCD without a DE),
and did the following later (not sure what some of these after the
package inclusion/exclusion is doing):

%include fedora-live-base.ks

# remove gnome-packagekit
-apper
-gnome-packagekit

%packages
### FVWM
slim
fvwm
pcmanfm

### internet
firefox
icedtea-web
pidgin
sylpheed

### office
abiword
gnumeric
osmo

### graphics
epdfview
mtpaint

### audio & video
alsa-plugins-pulseaudio
asunder
gxine
gxine-mozplugin
pavucontrol
pnmixer


# pam-fprint causes a segfault in LXDM when enabled
-fprintd-pam

# needed for automatic unlocking of keyring (#643435)
gnome-keyring-pam

NetworkManager-gnome

# needed for xdg-open to support LXDE
-perl-File-MimeInfo

xcompmgr
xdg-user-dirs-gtk
-xscreensaver
slock

# remove gnome-packagekit
-apper
-gnome-packagekit

#remove packages
#
#Base:
-PackageKit
-fedora-release-notes
-krb5-workstation

#Base-X
-glx-utils

notification-daemon
-xfce4-notifyd
stalonetray

cat >> /etc/rc.d/init.d/livesys << EOF
# disable screensaver locking and make sure gamin gets started
cat > /etc/xdg/autostart << FOE
/usr/libexec/gam_server
@stalonetray
@nm-applet 
@pcmanfm -d
/usr/libexec/notification-daemon
FOE


# set up preferred apps 
cat > /etc/xdg/libfm/pref-apps.conf << FOE 
[Preferred Applications]
WebBrowser=mozilla-firefox.desktop
MailClient=redhat-sylpheed.desktop
FOE

# set up auto-login for liveuser
sed -i 's|# autologin=dgod|autologin=liveuser|g' /etc/slim.conf

# Show harddisk install on the desktop
sed -i -e
's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.d
esktop mkdir /home/liveuser/Desktop
cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop

# this goes at the end after all other changes.
chown -R liveuser:liveuser /home/liveuser
restorecon -R /home/liveuser

EOF

%end


Many thanks and best wishes,
Ranjan
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux