You are not logged in.

#1 2019-01-03 17:28:18

jfabernathy
Member
From: North Carolina
Registered: 2019-01-03
Posts: 123

[Solved] x11 and desktop environment install

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

#2 2019-01-03 17:36:29

loqs
Member
Registered: 2014-03-06
Posts: 18,014

Re: [Solved] x11 and desktop environment install

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

#3 2019-01-03 17:54:22

jfabernathy
Member
From: North Carolina
Registered: 2019-01-03
Posts: 123

Re: [Solved] x11 and desktop environment install

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

#4 2019-01-03 17:58:39

loqs
Member
Registered: 2014-03-06
Posts: 18,014

Re: [Solved] x11 and desktop environment install

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

#5 2019-01-03 18:29:46

jfabernathy
Member
From: North Carolina
Registered: 2019-01-03
Posts: 123

Re: [Solved] x11 and desktop environment install

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

#6 2019-01-03 18:33:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] x11 and desktop environment install

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.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2019-01-03 18:44:57

jfabernathy
Member
From: North Carolina
Registered: 2019-01-03
Posts: 123

Re: [Solved] x11 and desktop environment install

jasonwryan wrote:

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

#8 2019-01-03 18:51:26

Kirill Bugaev
Member
Registered: 2018-08-03
Posts: 173

Re: [Solved] x11 and desktop environment install

jfabernathy wrote:

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

#9 2019-01-03 19:06:03

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] x11 and desktop environment install

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2019-01-03 20:00:04

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [Solved] x11 and desktop environment install

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

#11 2019-01-03 20:06:52

jfabernathy
Member
From: North Carolina
Registered: 2019-01-03
Posts: 123

Re: [Solved] x11 and desktop environment install

Trilby wrote:

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

Board footer

Powered by FluxBB