Difference between revisions of "Xfce Setup"

From Alpine Linux
Jump to: navigation, search
m (Grammar / version used)
(Cleaned up and updated the page based on the latest version of XFCE on VirtualBox page.)
Line 1: Line 1:
This page will eventually show how to set up XFCE simply on any system. In the meantime, it is a log of what I did to get XFCE working in alpine 1.10 + edge (February 2010). <br><br>
+
Bootup then run initial setup
Add edge repositories <br>
+
{{Cmd|setup-alpine}}
Install packages:
+
 
*xfce4
+
Add either the v1.10 or the edge repo
*xfce4-session
+
{{Cmd|echo "http://dl-3.alpinelinux.org/alpine/v1.10/packages/main" >> /etc/apk/repositories}}
*xfce4-xkb-plugin
+
OR
*xfconf
+
{{Cmd|echo "http://dl-3.alpinelinux.org/alpine/edge/packages/main" >> /etc/apk/repositories}}
*xhost
+
 
*xinit
+
Run the setup-disk script so that we don't need CD anymore, then reboot when prompted
*xorg-server
+
{{Cmd|setup-disk}}
*xproto
+
 
*xfce-utils
+
Install xorg, XFCE and basic desktop system. This might take a few minutes depending on your network speed.  Note: at the end of the command, add a package for your video chipset.  For example, if you have an Sis video chipset, add xf86-video-sis to the package list.
*xf86-input-keyboard
+
{{Cmd|apk add xorg-server xf86-video-vesa xf86-input-keyboard xf86-input-mouse xf86-input-evdev slim xfce4 midori parole sudo}}
*xf86-input-mouse
+
 
*xf86-video-vesa
 
*xf86-video-(your video chipset)
 
<br>
 
 
Run Xorg -configure<br>
 
Run Xorg -configure<br>
 
If mouse (or other device) not detected, check /var/log/dmesg, lspci or similar for proper device name to use, edit /root/xorg.conf.new as needed<br>
 
If mouse (or other device) not detected, check /var/log/dmesg, lspci or similar for proper device name to use, edit /root/xorg.conf.new as needed<br>
Using a machine with an SIS 650 video chipset (onboard the motherboard) X doesn't start properly (yet)  Interim solution is to specify the vesa driver instead of sis in xorg.conf. <br>
+
 
cp /root/xorg.conf.new to /etc/X11/xorg.conf<br>
+
Create a normal user account.
rm /etc/X11/xinit/xserverrc . NOTE: This shouldn't be needed, but for some reason X crashes on my system when default xserverrc is used.<br>
+
{{Cmd|adduser ncopa}}
startxfce4<br><br>
+
 
Notes: I wasn't able to get a Microsoft Wireless IntelliMouse Explorer to work, however a generic Microsoft wired usb mouse works fine.
+
Optionally, give that user sudo permissions.
 +
{{Cmd|chmod 600 /etc/sudoers
 +
Cmd|echo "ncopa          ALL = (ALL) ALL" >> /etc/sudoers
 +
Cmd|chmod 400 /etc/sudoers}}
 +
 
 +
Start slim and log in with your new user.
 +
{{Cmd|rc-service slim start}}
 +
 
 +
Once you have verified that it actually works you can make slim start up at boot:
 +
{{Cmd|rc-update add slim}}
 +
 
 +
Much of this page updated from the XFCE on VirtualBox page.

Revision as of 17:21, 29 April 2010

Bootup then run initial setup

setup-alpine

Add either the v1.10 or the edge repo

echo "http://dl-3.alpinelinux.org/alpine/v1.10/packages/main" >> /etc/apk/repositories

OR

echo "http://dl-3.alpinelinux.org/alpine/edge/packages/main" >> /etc/apk/repositories

Run the setup-disk script so that we don't need CD anymore, then reboot when prompted

setup-disk

Install xorg, XFCE and basic desktop system. This might take a few minutes depending on your network speed. Note: at the end of the command, add a package for your video chipset. For example, if you have an Sis video chipset, add xf86-video-sis to the package list.

apk add xorg-server xf86-video-vesa xf86-input-keyboard xf86-input-mouse xf86-input-evdev slim xfce4 midori parole sudo

Run Xorg -configure
If mouse (or other device) not detected, check /var/log/dmesg, lspci or similar for proper device name to use, edit /root/xorg.conf.new as needed

Create a normal user account.

adduser ncopa

Optionally, give that user sudo permissions.

chmod 600 /etc/sudoers Cmd

Start slim and log in with your new user.

rc-service slim start

Once you have verified that it actually works you can make slim start up at boot:

rc-update add slim

Much of this page updated from the XFCE on VirtualBox page.