User Tools

Site Tools


qemunet:install:alpine

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
qemunet:install:alpine [2018/02/05 10:03] orelqemunet:install:alpine [2024/03/18 15:06] (current) – external edit 127.0.0.1
Line 66: Line 66:
   - edit ''/etc/fstab'' and add this line ''host  /mnt/host  9p  trans=virtio,defaults,nofail  0  0'' to enable file sharing   - edit ''/etc/fstab'' and add this line ''host  /mnt/host  9p  trans=virtio,defaults,nofail  0  0'' to enable file sharing
   - disable DHCP... edit /etc/network/interfaces and comment all lines for interface ''eth0''   - disable DHCP... edit /etc/network/interfaces and comment all lines for interface ''eth0''
-  - enable startup script: ''ln -s /mnt/host/start.sh /etc/local.d/local.start'' and then ''rc-update add local default'' [fail?!?]+  - enable startup script: ''ln -s /mnt/host/start.sh /etc/local.d/local.start'' and then ''rc-update add local''
  
  
Line 97: Line 97:
 First enable DHCP in /etc/network/interfaces and reboot... First enable DHCP in /etc/network/interfaces and reboot...
  
-  $ setup-xorg-base +To enable french keyboard:  
-  $ apk add xf86-input-mouse xf86-input-keyboard +
   $ apk add kbd setxkbmap   $ apk add kbd setxkbmap
-  $ setxkbmap fr                  # for french keybords+  $ setxkbmap fr                  # for french keyboards 
 + 
 +Then install Xorg and XFCE desktop environment: 
 + 
 +  $ setup-xorg-base 
 +  $ apk add alpine-desktop        
 +  $ apk add faenza-icon-theme      # for icons   
 +  $ apk add xf86-input-mouse xf86-input-keyboard # useful? 
 +  $ apk add xf86-video-modesetting # recommended for Qemu guests?
   $ apk add dbus lxdm sudo   $ apk add dbus lxdm sudo
-  $ apk add alpine-desktop        # or xfce4 ? 
-  $ apk add firefox 
-  $ adduser toto                  # password toto 
-  $ addgroup sudo ; addgroup toto sudo 
-  $ visudo                        # %sudo ALL=NOPASSWD: ALL 
-  # $ apk add faenza-icon-theme     # for icons  
   $ rc-update add dbus ; rc-service dbus start   $ rc-update add dbus ; rc-service dbus start
   $ rc-update add udev ; rc-service udev start   $ rc-update add udev ; rc-service udev start
-  $ rc-update add lxdm rc-service lxdm start  + 
 +Add a desktop user (as sudoer): 
 + 
 +  $ adduser toto                  # password toto 
 +  $ addgroup sudo 
 +  $ addgroup toto sudo 
 +  $ emacs /etc/sudoers            # %sudo ALL=NOPASSWD: ALL   
 + 
 +Launch the XFCE4 desktop with LXDM: 
 + 
 +  $ rc-service lxdm start     # don't forget to select xfce session, before to log in! 
 +  
 +If it works... quit XFCE 
 +   
 +  $ rc-update add lxdm  
   $ reboot     $ reboot  
 +
 +To enable "fr" keyboard in Xorg, add this section:
 +
 +<code text /etc/X11/xorg.conf>
 +Section "InputClass"
 + Identifier "Keyboard Default"
 + MatchIsKeyboard "yes"
 + Option "XkbLayout" "fr"
 +EndSection
 +</code>
 +
 +Try to get lightweight system by replacing "alpine-desktop" meta-package by "xfce4 + firefox".
 +
  
 __More details:__ http://wiki.alpinelinux.org/wiki/XFCE_Setup __More details:__ http://wiki.alpinelinux.org/wiki/XFCE_Setup
qemunet/install/alpine.1517825032.txt.gz · Last modified: 2024/03/18 15:05 (external edit)