You are not logged in.
Sorry if this is basic, but I'm new to archlinux. I've done the ubuntu, Fedora, raspbian, yoctoprogect stuff but nothing this low level.
When I install packages on other linux distro, I don't have to install dependences. i.e. xfce4 will for xorg-server to install.
Apparently this is not the case with archlinux. Right??
So installed xfce4 and saw xserver was not installed. Then I installed it. And then realized the video drivers weren't installed.
Now startx fails to start X11. Instead of troubleshooting X, should I just start over??? Did I screw it up too bad to fix easily?
Jim A
Last edited by jfabernathy (2019-01-03 19:31:02)
Offline
Just follow Xorg#Installation no need to start over. You should have at least the modesetting driver installed as that is supplied by the xorg-server package.
Offline
yes that's what I did but I still can't get past an error: xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
The error seems so obscure that I figured I needed to restart my effort. You never run into these problems using what I normally do.
This is just a leaning test case.
Offline
Please post the output of the following
lspci | grep -e VGA -e 3D
cat ~/.xinitrc
cat ~/.local/share/xorg/Xorg.0.log
See the tip box from List_of_applications#Pastebin_clients to be able to post from the console.
Offline
lspci | grep -e VGA -e 3D
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
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
cat ~/.local/share/xorg/Xorg.0.log
https://pastebin.com/raw/16dUP3t7
Last edited by jfabernathy (2019-01-03 18:38:10)
Offline
Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code
X is starting fine. You just aren't running xfce.
Offline
Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code
X is starting fine. You just aren't running xfce.
Thanks that was it. I put
exec startxfce4
in .xinitrc and that fixed it.
Offline
When I install packages on other linux distro, I don't have to install dependences. i.e. xfce4 will for xorg-server to install.
Apparently this is not the case with archlinux. Right??
pacman suggests to install required dependencies during the package installation. With `pacman -S package_name` if some dependencies doesn't satisfied the package will not be installed.
Offline
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline
To expand a bit on Kirill Bugaev's post, pacman will install all dependencies. However arch linux gives you far more choices than many other distros. In many distros, during installation you select which DE you want and the installer does everything for you. In arch, you can chose if you want a DE, if you want a DM, and which display server you want to use. Specifically on this last point, many DEs can run on Xorg or Wayland, so neither one is strictly a dependency as either one could work: so you need to pick which one you want and install it.
Similar logic applies to Xorg graphics drivers: there are many available, and in some cases several that might work with your hardware. You need to chose which one you want. Other distros just install *every* possible option often resulting in a far-from-optimal performance.
With arch, you have more freedom, more control, and with these more responsibility. But you will (should) quickly find that the wiki resources will walk you step-by-step through almost anything you would need.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
To expand a bit on Kirill Bugaev's post, pacman will install all dependencies. However arch linux gives you far more choices than many other distros. In many distros, during installation you select which DE you want and the installer does everything for you. In arch, you can chose if you want a DE, if you want a DM, and which display server you want to use. Specifically on this last point, many DEs can run on Xorg or Wayland, so neither one is strictly a dependency as either one could work: so you need to pick which one you want and install it.
Similar logic applies to Xorg graphics drivers: there are many available, and in some cases several that might work with your hardware. You need to chose which one you want. Other distros just install *every* possible option often resulting in a far-from-optimal performance.
With arch, you have more freedom, more control, and with these more responsibility. But you will (should) quickly find that the wiki resources will walk you step-by-step through almost anything you would need.
Thanks for the helpful explanation.
Jim A
Offline