Dear friends,
I have been trying to build a LiveCD with a DE and with a window manager. Specifically, I was thinking that I could have startx go into starting the window manager. However, I can not quite figure out how to handle this. Does anyone have experience with doing this?
The notes available on LiveCD at https://github.com/livecd-tools/livecd-tools only discuss a minimal LiveCD or a full-fledged one, and indeed the minimal configuration there does not even do anything (I only get Troubleshoot). But in any case, that is not the point.
Any suggestions on how I can use startx instead of a login display manager?
Many thanks, Ranjan
Looking at the i3 desktop kickstart file, I tried using lightdm (just to see how I fare):
.... %post systemctl enable lightdm
# create /etc/sysconfig/desktop (needed for installation)
cat > /etc/sysconfig/desktop <<EOF PREFERRED=/usr/bin/openbox-session DISPLAYMANAGER=/usr/sbin/lightdm EOF .... %end
However my LiveCD stops wtih saying: Failed to start lightdm.service. I am not sure if there are other errors too, but is there something else I should have done above beyond enabling lightdm above?
Thanks, Ranjan
On Tue Feb21'23 04:56:13PM, Ranjan Maitra wrote:
From: Ranjan Maitra mlmaitra@gmx.com Date: Tue, 21 Feb 2023 16:56:13 -0600 To: Community Support for Fedora Users users@lists.fedoraproject.org Reply-To: Community support for Fedora users users@lists.fedoraproject.org Subject: how to create a Fedora 37 LiveCD without a desktop environment and with window manager
Dear friends,
I have been trying to build a LiveCD with a DE and with a window manager. Specifically, I was thinking that I could have startx go into starting the window manager. However, I can not quite figure out how to handle this. Does anyone have experience with doing this?
The notes available on LiveCD at https://github.com/livecd-tools/livecd-tools only discuss a minimal LiveCD or a full-fledged one, and indeed the minimal configuration there does not even do anything (I only get Troubleshoot). But in any case, that is not the point.
Any suggestions on how I can use startx instead of a login display manager?
Many thanks, Ranjan _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
On Tue, 21 Feb 2023 16:56:13 -0600 Ranjan Maitra mlmaitra@gmx.com wrote:
I have been trying to build a LiveCD with a DE and with a window manager. Specifically, I was thinking that I could have startx go into starting the window manager. However, I can not quite figure out how to handle this. Does anyone have experience with doing this?
The notes available on LiveCD at https://github.com/livecd-tools/livecd-tools only discuss a minimal LiveCD or a full-fledged one, and indeed the minimal configuration there does not even do anything (I only get Troubleshoot). But in any case, that is not the point.
Any suggestions on how I can use startx instead of a login display manager?
There is no login display manager. The minimal server install, the smaller one, boots into multiuser (the old runlevel 3). From there it is possible to run a script to start X. My system boots to multiuser on boot. I then run the following to start LXDE, after logging into a virtual console, usually vt1.
echo 'exec startlxde' >> $XCLIENTS sleep 3 startx -- vt10
This starts LXDE on virtual terminal 10, leaving the output of X on virtual terminal 1, where I usually first login.
There are similar commands for the other desktops. I have them all in a script, sort of a manual greeter. When I log out of X I return to the virtual console I started X from.
Since KDE and Gnome are now pretty much wayland only, I'm not sure how well the script works for them. I suppose I should run through and test everything, as invocations sometimes change, especially at branch time for a new fedora version. The way to determine the actual command that is being run to start the various desktops is to download the source for one of the actual graphical greeters (login managers), and check how it invokes the desktop.
On Wed Feb22'23 08:00:55AM, Community Support for Fedora Users wrote:
From: stan via users users@lists.fedoraproject.org Date: Wed, 22 Feb 2023 08:00:55 -0700 To: users@lists.fedoraproject.org Cc: stan upaitag@zoho.com Reply-To: Community support for Fedora users users@lists.fedoraproject.org Subject: Re: how to create a Fedora 37 LiveCD without a desktop environment and with window manager
On Tue, 21 Feb 2023 16:56:13 -0600 Ranjan Maitra mlmaitra@gmx.com wrote:
I have been trying to build a LiveCD with a DE and with a window manager. Specifically, I was thinking that I could have startx go into starting the window manager. However, I can not quite figure out how to handle this. Does anyone have experience with doing this?
The notes available on LiveCD at https://github.com/livecd-tools/livecd-tools only discuss a minimal LiveCD or a full-fledged one, and indeed the minimal configuration there does not even do anything (I only get Troubleshoot). But in any case, that is not the point.
Any suggestions on how I can use startx instead of a login display manager?
There is no login display manager. The minimal server install, the smaller one, boots into multiuser (the old runlevel 3). From there it is possible to run a script to start X. My system boots to multiuser on boot. I then run the following to start LXDE, after logging into a virtual console, usually vt1.
echo 'exec startlxde' >> $XCLIENTS sleep 3 startx -- vt10
This starts LXDE on virtual terminal 10, leaving the output of X on virtual terminal 1, where I usually first login.
There are similar commands for the other desktops. I have them all in a script, sort of a manual greeter. When I log out of X I return to the virtual console I started X from.
Since KDE and Gnome are now pretty much wayland only, I'm not sure how well the script works for them. I suppose I should run through and test everything, as invocations sometimes change, especially at branch time for a new fedora version. The way to determine the actual command that is being run to start the various desktops is to download the source for one of the actual graphical greeters (login managers), and check how it invokes the desktop.
Thank you very much for this! I was able to get it to work with slim (local rpm that i have for myself) and realized that some package sets now need to be explicitly included, and that was my error.
Btw, where is the minimal server install available?
Thanks again!
Best wishes, Ranjan
https://alt.fedoraproject.org/en/
On 2/22/23, Ranjan Maitra mlmaitra@gmx.com wrote:
On Wed Feb22'23 08:00:55AM, Community Support for Fedora Users wrote:
From: stan via users users@lists.fedoraproject.org Date: Wed, 22 Feb 2023 08:00:55 -0700 To: users@lists.fedoraproject.org Cc: stan upaitag@zoho.com Reply-To: Community support for Fedora users users@lists.fedoraproject.org Subject: Re: how to create a Fedora 37 LiveCD without a desktop environment and with window manager
On Tue, 21 Feb 2023 16:56:13 -0600 Ranjan Maitra mlmaitra@gmx.com wrote:
I have been trying to build a LiveCD with a DE and with a window manager. Specifically, I was thinking that I could have startx go into starting the window manager. However, I can not quite figure out how to handle this. Does anyone have experience with doing this?
The notes available on LiveCD at https://github.com/livecd-tools/livecd-tools only discuss a minimal LiveCD or a full-fledged one, and indeed the minimal configuration there does not even do anything (I only get Troubleshoot). But in any case, that is not the point.
Any suggestions on how I can use startx instead of a login display manager?
There is no login display manager. The minimal server install, the smaller one, boots into multiuser (the old runlevel 3). From there it is possible to run a script to start X. My system boots to multiuser on boot. I then run the following to start LXDE, after logging into a virtual console, usually vt1.
echo 'exec startlxde' >> $XCLIENTS sleep 3 startx -- vt10
This starts LXDE on virtual terminal 10, leaving the output of X on virtual terminal 1, where I usually first login.
There are similar commands for the other desktops. I have them all in a script, sort of a manual greeter. When I log out of X I return to the virtual console I started X from.
Since KDE and Gnome are now pretty much wayland only, I'm not sure how well the script works for them. I suppose I should run through and test everything, as invocations sometimes change, especially at branch time for a new fedora version. The way to determine the actual command that is being run to start the various desktops is to download the source for one of the actual graphical greeters (login managers), and check how it invokes the desktop.
Thank you very much for this! I was able to get it to work with slim (local rpm that i have for myself) and realized that some package sets now need to be explicitly included, and that was my error.
Btw, where is the minimal server install available?
Thanks again!
Best wishes, Ranjan _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
On Wed Feb22'23 04:27:25PM, Luna Jernberg wrote:
From: Luna Jernberg droidbittin@gmail.com Date: Wed, 22 Feb 2023 16:27:25 +0100 To: Community support for Fedora users users@lists.fedoraproject.org, mlmaitra mlmaitra@gmx.com, droidbittin@gmail.com, Luna Jernberg bittin@fedoraproject.org Reply-To: Community support for Fedora users users@lists.fedoraproject.org Subject: Re: how to create a Fedora 37 LiveCD without a desktop environment and with window manager
Thanks! And where is the ks file for this?
Best wishes, Ranjan
On 2/22/23, Ranjan Maitra mlmaitra@gmx.com wrote:
On Wed Feb22'23 08:00:55AM, Community Support for Fedora Users wrote:
From: stan via users users@lists.fedoraproject.org Date: Wed, 22 Feb 2023 08:00:55 -0700 To: users@lists.fedoraproject.org Cc: stan upaitag@zoho.com Reply-To: Community support for Fedora users users@lists.fedoraproject.org Subject: Re: how to create a Fedora 37 LiveCD without a desktop environment and with window manager
On Tue, 21 Feb 2023 16:56:13 -0600 Ranjan Maitra mlmaitra@gmx.com wrote:
I have been trying to build a LiveCD with a DE and with a window manager. Specifically, I was thinking that I could have startx go into starting the window manager. However, I can not quite figure out how to handle this. Does anyone have experience with doing this?
The notes available on LiveCD at https://github.com/livecd-tools/livecd-tools only discuss a minimal LiveCD or a full-fledged one, and indeed the minimal configuration there does not even do anything (I only get Troubleshoot). But in any case, that is not the point.
Any suggestions on how I can use startx instead of a login display manager?
There is no login display manager. The minimal server install, the smaller one, boots into multiuser (the old runlevel 3). From there it is possible to run a script to start X. My system boots to multiuser on boot. I then run the following to start LXDE, after logging into a virtual console, usually vt1.
echo 'exec startlxde' >> $XCLIENTS sleep 3 startx -- vt10
This starts LXDE on virtual terminal 10, leaving the output of X on virtual terminal 1, where I usually first login.
There are similar commands for the other desktops. I have them all in a script, sort of a manual greeter. When I log out of X I return to the virtual console I started X from.
Since KDE and Gnome are now pretty much wayland only, I'm not sure how well the script works for them. I suppose I should run through and test everything, as invocations sometimes change, especially at branch time for a new fedora version. The way to determine the actual command that is being run to start the various desktops is to download the source for one of the actual graphical greeters (login managers), and check how it invokes the desktop.
Thank you very much for this! I was able to get it to work with slim (local rpm that i have for myself) and realized that some package sets now need to be explicitly included, and that was my error.
Btw, where is the minimal server install available?
Thanks again!
Best wishes, Ranjan _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
On Wed, 22 Feb 2023 10:00:23 -0600 Ranjan Maitra mlmaitra@gmx.com wrote:
On Wed Feb22'23 04:27:25PM, Luna Jernberg wrote:
From: Luna Jernberg droidbittin@gmail.com Date: Wed, 22 Feb 2023 16:27:25 +0100 To: Community support for Fedora users users@lists.fedoraproject.org, mlmaitra mlmaitra@gmx.com, droidbittin@gmail.com, Luna Jernberg bittin@fedoraproject.org Reply-To: Community support for Fedora users users@lists.fedoraproject.org Subject: Re: how to create a Fedora 37 LiveCD without a desktop environment and with window manager
Thanks! And where is the ks file for this?
It has to exist, and is probably available since Fedora is open source, but I couldn't find it. Maybe this will help? https://fedoraproject.org/wiki/Anaconda/Kickstart/KickstartingFedoraLiveInst... or this? https://github.com/sinner-/kickstart-fedora-workstation
Ranjan Maitra mlmaitra@gmx.com wrote:
Thank you very much for this! I was able to get it to work with slim (local rpm that i have for myself) and realized that some package sets now need to be explicitly included, and that was my error.
Could you give details of what you did here, so that others who want to do the same have access to your learning?
On Thu Feb23'23 09:20:21AM, Community Support for Fedora Users wrote:
From: stan via users users@lists.fedoraproject.org Date: Thu, 23 Feb 2023 09:20:21 -0700 To: users@lists.fedoraproject.org Cc: stan upaitag@zoho.com Reply-To: Community support for Fedora users users@lists.fedoraproject.org Subject: Re: how to create a Fedora 37 LiveCD without a desktop environment and with window manager
On Wed, 22 Feb 2023 10:00:23 -0600 Ranjan Maitra mlmaitra@gmx.com wrote:
On Wed Feb22'23 04:27:25PM, Luna Jernberg wrote:
From: Luna Jernberg droidbittin@gmail.com Date: Wed, 22 Feb 2023 16:27:25 +0100 To: Community support for Fedora users users@lists.fedoraproject.org, mlmaitra mlmaitra@gmx.com, droidbittin@gmail.com, Luna Jernberg bittin@fedoraproject.org Reply-To: Community support for Fedora users users@lists.fedoraproject.org Subject: Re: how to create a Fedora 37 LiveCD without a desktop environment and with window manager
Thanks! And where is the ks file for this?
It has to exist, and is probably available since Fedora is open source, but I couldn't find it. Maybe this will help? https://fedoraproject.org/wiki/Anaconda/Kickstart/KickstartingFedoraLiveInst... or this? https://github.com/sinner-/kickstart-fedora-workstation
Ranjan Maitra mlmaitra@gmx.com wrote:
Thank you very much for this! I was able to get it to work with slim (local rpm that i have for myself) and realized that some package sets now need to be explicitly included, and that was my error.
Could you give details of what you did here, so that others who want to do the same have access to your learning?
So, it appears that now, I need to explicitly include at least one of the package sets:
@core @standard @base-x
I am not completely sure that all of them are needed, and I am going to try dropping them to see. In the past, these may have been included in the fedora-live-base.ks or fedora-live-minimization.ks (these may have changed now) but including them allows for the spin to be made (as before).
Many thanks, and best wishes, Ranjan
On Thu, 23 Feb 2023 10:28:11 -0600 Ranjan Maitra mlmaitra@gmx.com wrote:
So, it appears that now, I need to explicitly include at least one of the package sets:
@core @standard @base-x
I am not completely sure that all of them are needed, and I am going to try dropping them to see. In the past, these may have been included in the fedora-live-base.ks or fedora-live-minimization.ks (these may have changed now) but including them allows for the spin to be made (as before).
Thanks.