Hi,
Der Hinweis von GerBra, dass du vorhandene Virtuele Maschinen weiter verwenden kannst würde ich auch empfehlen, soweit du noch die alte virtuelle Festplattendatei hast.
Noch mal zum zusammenfassen: Du willst Archlinux mit xfce4 auf einer Virtuellen Maschine verwenden? Falls ja, gehe ich davon aus, dass du VirtualBox nutzt.
Vergiss auch nicht die VirtualBox Pakete für Gäste auf der Virtuellen Maschine zu installieren, also virtualbox-guest-modules-arch, virtualbox-guest-utils.
Was die ~/.xinitrc betrifft, wie schon erwähnt, darauf achten dass nicht zwei exec drin stehen. Hier zum Beispiel meine ~/.xinitrc:
cat .xinitrc
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
#exec xterm -geometry 80x66+0+0 -name login
exec startxfce4
Ich hab bei mir zufällig auch eine VirtualBox Installation mit Arch+xfce4 auf meinen Arch-Desktop. Ich hab dir mal ein paar Auflistungen von den installierten Paketen zusammengestellt. Keine Ahnung ob alle nötig sind. Die Installation ist uralt. Ich hab ein Update drüber laufen lassen um zu schauen ob's noch XFCE geht. Ergebnis: XFCE4 lädt mit X).
pacman -Qs xorg
local/xf86-input-evdev 2.10.6-1 (xorg-drivers)
X.org evdev input driver
local/xf86-input-libinput 0.29.0-1 (xorg-drivers)
Generic input driver for the X.Org server based on libinput
local/xorg-bdftopcf 1.1-1 (xorg xorg-apps)
Convert X font from Bitmap Distribution Format to Portable Compiled Format
local/xorg-font-util 1.3.2-1 (xorg-fonts xorg)
X.Org font utilities
local/xorg-font-utils 7.6-5
Transitional package depending on xorg font utilities
local/xorg-fonts-alias 1.0.3-2
X.org font alias files
local/xorg-fonts-encodings 1.0.5-1 (xorg-fonts xorg)
X.org font encoding files
local/xorg-fonts-misc 1.0.3-6
X.org misc fonts
local/xorg-iceauth 1.0.8-1 (xorg-apps xorg)
ICE authority file utility
local/xorg-luit 1.1.1-3 (xorg xorg-apps)
Filter that can be run between an arbitrary application and a UTF-8 terminal emulator
local/xorg-mkfontscale 1.2.1-1 (xorg-apps xorg)
Create an index of scalable font files for X
local/xorg-server 1.20.6-1 (xorg)
Xorg X server
local/xorg-server-common 1.20.6-1 (xorg)
Xorg server common files
local/xorg-server-utils 7.6-4
Transition package depending on xorg server utilities
local/xorg-sessreg 1.1.2-1 (xorg-apps xorg)
Register X sessions in system utmp/utmpx databases
local/xorg-setxkbmap 1.3.2-1 (xorg-apps xorg)
Set the keyboard using the X Keyboard Extension
local/xorg-twm 1.0.10-1
Tab Window Manager for the X Window System
local/xorg-utils 7.6-9
Transition package depending on xorg utils
local/xorg-xauth 1.1-1 (xorg-apps xorg)
X.Org authorization settings program
local/xorg-xbacklight 1.2.3-1 (xorg-apps xorg)
RandR-based backlight control application
local/xorg-xclock 1.0.9-1
X clock
local/xorg-xcmsdb 1.0.5-2 (xorg-apps xorg)
Device Color Characterization utility for X Color Management System
local/xorg-xdpyinfo 1.3.2-2 (xorg-apps xorg)
Display information utility for X
local/xorg-xdriinfo 1.0.6-1 (xorg-apps xorg)
Query configuration information of DRI drivers
local/xorg-xev 1.2.3-1 (xorg-apps xorg)
Print contents of X events
local/xorg-xgamma 1.0.6-2 (xorg-apps xorg)
Alter a monitor's gamma correction
local/xorg-xhost 1.0.8-1 (xorg-apps xorg)
Server access control program for X
local/xorg-xinit 1.4.1-1
X.Org initialisation program
local/xorg-xinput 1.6.3-1 (xorg-apps xorg)
Small commandline tool to configure devices
local/xorg-xkbcomp 1.4.2+7+g29fda8e-1 (xorg-apps xorg)
X Keyboard description compiler
local/xorg-xlsatoms 1.1.3-1 (xorg-apps xorg)
List interned atoms defined on server
local/xorg-xlsclients 1.1.4-1 (xorg-apps xorg)
List client applications running on a display
local/xorg-xmodmap 1.0.10-1 (xorg-apps xorg)
Utility for modifying keymaps and button mappings
local/xorg-xprop 1.2.4-1 (xorg-apps xorg)
Property displayer for X
local/xorg-xrandr 1.5.1-1 (xorg-apps xorg)
Primitive command line interface to RandR extension
local/xorg-xrdb 1.2.0-1 (xorg-apps xorg)
X server resource database utility
local/xorg-xrefresh 1.0.6-1 (xorg-apps xorg)
Refresh all or part of an X screen
local/xorg-xset 1.2.4-1 (xorg-apps xorg)
User preference utility for X
local/xorg-xsetroot 1.1.2-1 (xorg-apps xorg)
Classic X utility to set your root window background to a given pattern or color
local/xorg-xvinfo 1.1.4-1 (xorg-apps xorg)
Prints out the capabilities of any video adaptors associated with the display that are accessible through the X-Video
extension
local/xorg-xwininfo 1.1.5-1 (xorg-apps xorg)
Command-line utility to print information about windows on an X server
local/xorgproto 2019.2-1
combined X.Org X11 Protocol headers
pacman -Qs xf86
local/libxxf86dga 1.1.5-1
X11 Direct Graphics Access extension library
local/libxxf86vm 1.1.4-2
X11 XFree86 video mode extension library
local/xf86-input-evdev 2.10.6-1 (xorg-drivers)
X.org evdev input driver
local/xf86-input-libinput 0.29.0-1 (xorg-drivers)
Generic input driver for the X.Org server based on libinput
local/xorgproto 2019.2-1
combined X.Org X11 Protocol headers
pacman -Qs xfce4
local/exo 0.12.10-1 (xfce4)
Application library for Xfce
local/garcon 0.6.4-1 (xfce4)
Implementation of the freedesktop.org menu specification
local/gtk-xfce-engine 2.10.1-2 (xfce4)
Xfce Gtk+-2.0 engine and themes
local/libxfce4ui 4.14.1-2
Commonly used Xfce widgets among Xfce applications
local/libxfce4util 4.14.0-1
Basic utility non-GUI functions for Xfce
local/mousepad 0.4.2-2 (xfce4-goodies)
Simple text editor for Xfce
local/orage 4.12.1-4 (xfce4-goodies)
A simple calendar application with reminders for Xfce
local/ristretto 0.10.0-2 (xfce4-goodies)
Fast and lightweight picture-viewer for Xfce4
local/thunar 1.8.11-1 (xfce4)
Modern file manager for Xfce
local/thunar-archive-plugin 0.4.0-2 (xfce4-goodies)
Create and extract archives in Thunar
local/thunar-media-tags-plugin 0.3.0-1 (xfce4-goodies)
Adds special features for media files to the Thunar File Manager
local/thunar-volman 0.9.5-2 (xfce4)
Automatic management of removeable devices in Thunar
local/tumbler 0.2.7-1 (xfce4)
D-Bus service for applications to request thumbnails
local/xfburn 0.6.1-1 (xfce4-goodies)
A simple CD/DVD burning tool based on libburnia libraries
local/xfce4-appfinder 4.14.0-1 (xfce4)
An application finder for Xfce
local/xfce4-artwork 0.1.1a_git20110420-5 (xfce4-goodies)
Backdrops for the Xfce4 desktop
local/xfce4-battery-plugin 1.1.3-1 (xfce4-goodies)
A battery monitor plugin for the Xfce panel
local/xfce4-clipman-plugin 1.4.3-2 (xfce4-goodies)
A clipboard plugin for the Xfce4 panel
local/xfce4-cpufreq-plugin 1.2.1-1 (xfce4-goodies)
CPU frequency plugin for the Xfce4 panel
local/xfce4-cpugraph-plugin 1.1.0-1 (xfce4-goodies)
CPU graph plugin for the Xfce4 panel
local/xfce4-datetime-plugin 0.8.0-1 (xfce4-goodies)
A date and time display plugin for the Xfce panel
local/xfce4-dict 0.8.3-1 (xfce4-goodies)
A dictionary plugin for the Xfce panel
local/xfce4-diskperf-plugin 2.6.2-1 (xfce4-goodies)
Plugin for the Xfce4 panel displaying instant disk/partition performance
local/xfce4-eyes-plugin 4.5.0-1 (xfce4-goodies)
A rolling eyes (following mouse pointer) plugin for the Xfce panel
local/xfce4-fsguard-plugin 1.1.1-1 (xfce4-goodies)
File system usage monitor plugin for the Xfce4 panel
local/xfce4-genmon-plugin 4.0.2-1 (xfce4-goodies)
plugin that monitors customizable programs stdout for the Xfce4 panel
local/xfce4-mailwatch-plugin 1.2.0-8 (xfce4-goodies)
Multi-protocol, multi-mailbox mail watcher for the Xfce4 panel
local/xfce4-mixer 4.11.0-3 (xfce4)
The volume control plugin for the Xfce panel
local/xfce4-mount-plugin 1.1.3-1 (xfce4-goodies)
Mount/umount utility for the Xfce4 panel
local/xfce4-mpc-plugin 0.5.2-1 (xfce4-goodies)
Control the Music Player Daemon from the Xfce4 panel
local/xfce4-netload-plugin 1.3.2-1 (xfce4-goodies)
A netload plugin for the Xfce panel
local/xfce4-notes-plugin 1.8.1-4 (xfce4-goodies)
A notes plugin for the Xfce4 panel
local/xfce4-notifyd 0.4.4-2 (xfce4-goodies)
Notification daemon for the Xfce desktop
local/xfce4-panel 4.14.1-1 (xfce4)
Panel for the Xfce desktop environment
local/xfce4-power-manager 1.6.5-2 (xfce4)
Power manager for Xfce desktop
local/xfce4-screenshooter 1.9.7-1 (xfce4-goodies)
Plugin that makes screenshots for the Xfce panel
local/xfce4-sensors-plugin 1.3.92-1 (xfce4-goodies)
A lm_sensors plugin for the Xfce panel
local/xfce4-session 4.14.0-2 (xfce4)
A session manager for Xfce
local/xfce4-settings 4.14.1-1 (xfce4)
Settings manager of the Xfce desktop
local/xfce4-smartbookmark-plugin 0.5.1-1 (xfce4-goodies)
Plugin for the Xfce4 panel that lets you quicksearch from selected websites
local/xfce4-systemload-plugin 1.2.3-1 (xfce4-goodies)
A system load plugin for the Xfce4 panel
local/xfce4-taskmanager 1.2.2-1 (xfce4-goodies)
Easy to use task manager
local/xfce4-terminal 0.8.8-2 (xfce4)
A modern terminal emulator primarily for the Xfce desktop environment
local/xfce4-time-out-plugin 1.1.0-1 (xfce4-goodies)
Take a break from your computer with this plugin for Xfce4
local/xfce4-timer-plugin 1.7.0-1 (xfce4-goodies)
Plugin to track time for the Xfce4 panel
local/xfce4-verve-plugin 2.0.0-1 (xfce4-goodies)
Command line plugin Xfce4 panel
local/xfce4-wavelan-plugin 0.6.1-1 (xfce4-goodies)
Plugin to monitor wifi connectivity for the Xfce4 panel
local/xfce4-weather-plugin 0.10.0-1 (xfce4-goodies)
A weather plugin for the Xfce4 panel
local/xfce4-whiskermenu-plugin 2.3.4-1 (xfce4-goodies)
Menu for Xfce4
local/xfce4-xkb-plugin 0.8.1-2 (xfce4-goodies)
Plugin to switch keyboard layouts for the Xfce4 panel
local/xfconf 4.14.1-1 (xfce4)
Flexible, easy-to-use configuration management system
local/xfdesktop 4.14.1-2 (xfce4)
A desktop manager for Xfce
local/xfwm4 4.14.0-1 (xfce4)
Xfce's window manager
local/xfwm4-themes 4.10.0-3 (xfce4)
A set of additional themes for the Xfce window manager
Was mir eben noch aufgefallen ist:
VirtualBox hat eine Einstellung bei "Anzeige", die mir neu ist: Grafik-Controller.
Wenn ich da mit den Einstellungen herumspiele, bekomme ich xfce nur gestartet, wenn...
-ich VBoxVGA mit 3D-Beschleunigung und ohne 2D-Beschleunigung auswähle, ODER
-ich VBoxSVGA ohne 3D-Beschleunigung und ohne 2D-Beschleunigung auswähle.
Mit anderen Einstellungen in VirtualBox habe ich kein X, bzw. nur ein schwarzen Bildschirm.
Vielleicht hilft dir das alles etwas weiter.