GNOME: Difference between revisions
 (Add the mesa-dri-swrast package)  | 
				 (refer to dedicated pages)  | 
				||
| Line 1: | Line 1: | ||
= Prerequisites =  | |||
* [[Installation|Alpine Installation]]  | |||
* [[Alpine_setup_scripts#setup-xorg-base|Graphical base environment]]  | |||
* [[Enable_Community_Repository#Using_community_repositories|Enabled "community" repository]]  | |||
* [[Setting_up_a_new_user#Creating_a_new_user|Create user accounts]]  | |||
= Installing packages =  | = Installing packages =  | ||
Install basic desktop system and gnome packages  | |||
Install basic desktop system and gnome packages.  | |||
{{Cmd|# apk add gnome}}  | {{Cmd|# apk add gnome}}  | ||
If you want to you can also install additional GNOME apps for a more complete GNOME experience with:  | |||
If you want to, you can also install additional GNOME apps for a more complete GNOME experience with:  | |||
{{Cmd|# apk add gnome-apps}}  | {{Cmd|# apk add gnome-apps}}  | ||
== Setting up udev ==  | == Setting up udev ==  | ||
| Line 27: | Line 26: | ||
{{Cmd|# rc-update add udev-settle }}  | {{Cmd|# rc-update add udev-settle }}  | ||
= Starting your desktop =  | = Starting your desktop =  | ||
Revision as of 15:00, 8 May 2021
Prerequisites
Installing packages
Install basic desktop system and gnome packages.
# apk add gnome
If you want to, you can also install additional GNOME apps for a more complete GNOME experience with:
# apk add gnome-apps
Setting up udev
You'll have to enable udev in order for GNOME to function properly.
# apk add udev
# rc-update add udev
# rc-update add udev-trigger
# rc-update add udev-settle
Starting your desktop
Start GDM and login with your user. You need a user other than root for this to succeed, since GDM will refuse starting if no user accounts (meaning accounts with a UID >= 1000) are available.
rc-service gdm start
Once you have verified that it actually works you can make gdm start up at boot:
rc-update add gdm
Enabling terminal apps
If you want to use the gnome-terminal/other terminal applications you will need to install bash. If you want a typical bash setup also enable bash completion:
# apk add bash
# apk add bash-completion
Troubleshooting
If you are unable to login, check /var/log/gdm/greeter.log, there may be output there from X to indicate failed modules, etc.
If logging in from GDM returns to logging screen, try
# apk add bash
(bug report: #10953 sorry cannot link yet)