View previous topic :: View next topic |
Author |
Message |
kiigass n00b
Joined: 21 Nov 2018 Posts: 65
|
Posted: Wed Nov 21, 2018 1:57 pm Post subject: brand new gentoo: install i3 |
|
|
Hi,
the topic is ambiguous, because I am new to gentoo as well as my gentoo installation is only an hour old. I am coming from debian.
I got through the system's installation pretty easily with this: https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation
And afterwards I followed the instructions here: https://wiki.gentoo.org/wiki/I3
I successfully emerged i3 (emerge --ask x11-wm/i3), but now I am stuck at starting it. (I did not install i3blocks or i3lock (yet))
If I try to "startx" the machine tells me "command not found". I admit I did not pay enough attention to the dependencies which were installed along with i3. So I do not really know what is installed and what not.
My question is: What do I need to install? I assume I need an xorg-server for startx? Do I need a display manager (xdm)? I would like to keep it at a minimum, i.e. install only what is absolutely necessary.
thanks
kiigass
PS: yeay! I got gentoo running ! |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30888 Location: here
|
Posted: Wed Nov 21, 2018 2:00 pm Post subject: |
|
|
First welcome to gentoo forum!
startx is part of x11-apps/xinit package probably isn't a i3wm dependency _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Muso Veteran
Joined: 22 Oct 2002 Posts: 1052 Location: The Holy city of Honolulu
|
Posted: Wed Nov 21, 2018 4:38 pm Post subject: Re: brand new gentoo: install i3 |
|
|
kiigass wrote: | Do I need a display manager (xdm)? |
No. I just use startx.
Here's my ~/.xinitrc
_________________ "You can lead a horticulture but you can't make her think" ~ Dorothy Parker
2021 is the year of the Linux Desktop! |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6097 Location: Dallas area
|
Posted: Wed Nov 21, 2018 4:43 pm Post subject: |
|
|
fedeliallalinea wrote: | First welcome to gentoo forum!
startx is part of x11-apps/xinit package probably isn't a i3wm dependency |
xinit should be pulled in by xorg-server, it's a dependency _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30888 Location: here
|
Posted: Wed Nov 21, 2018 4:59 pm Post subject: |
|
|
Anon-E-moose wrote: | xinit should be pulled in by xorg-server, it's a dependency |
You right but why i3wm not depend from xorg-server? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Muso Veteran
Joined: 22 Oct 2002 Posts: 1052 Location: The Holy city of Honolulu
|
Posted: Wed Nov 21, 2018 6:40 pm Post subject: |
|
|
fedeliallalinea wrote: | Anon-E-moose wrote: | xinit should be pulled in by xorg-server, it's a dependency |
You right but why i3wm not depend from xorg-server? |
The question of the hour. _________________ "You can lead a horticulture but you can't make her think" ~ Dorothy Parker
2021 is the year of the Linux Desktop! |
|
Back to top |
|
|
kiigass n00b
Joined: 21 Nov 2018 Posts: 65
|
Posted: Wed Nov 21, 2018 7:08 pm Post subject: |
|
|
First: Thanks for the answers and the welcome!
Second: I was just about to ask, if I have to install x11-base/xorg-server. So this is a "yes" then? Are there other options?
Muso wrote: | fedeliallalinea wrote: | You right but why i3wm not depend from xorg-server? |
The question of the hour. |
Did I find something there? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30888 Location: here
|
Posted: Wed Nov 21, 2018 7:16 pm Post subject: |
|
|
kiigass wrote: | Second: I was just about to ask, if I have to install x11-base/xorg-server. So this is a "yes" then? Are there other options? |
Yes if you want use xorg _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54214 Location: 56N 3W
|
Posted: Wed Nov 21, 2018 7:23 pm Post subject: |
|
|
fedeliallalinea,
You do not need x11-base/xorg-server to run any Xorg GUI application.
Xorg is network transparent. You can run any Xorg GUI application on one system an display its output on some other system over the network.
This isn't as popular as it once was.
x11-base/xorg-server is only required to display the output of Xorg applications, so its quite correctly not a dependency of any application.
Note that run does not include displaying the output.
Most users today will wart to run and display their Xorg apps on the same system, so they need to install x11-base/xorg-server too.
In summary, its a historic feature, not a bug. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6097 Location: Dallas area
|
Posted: Wed Nov 21, 2018 7:40 pm Post subject: |
|
|
Indeed, Neddy. And I've run X apps over the network from other machines over the years. I hardly do it any more, but it's still there if needed. It's a nice way to use my desktop X setup from my laptop without having duplicate entries on both machines.
Window managers and other X apps usually need various Xlibs and stuff, but unless they're running on the same machine, ie the console, they don't need or require the x server. And if you look at the ebuilds for i3, openbox, etc you'll see various libs/proto files needed. _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30888 Location: here
|
Posted: Wed Nov 21, 2018 7:42 pm Post subject: |
|
|
NeddySeagoon wrote: | You do not need x11-base/xorg-server to run any Xorg GUI application.
Xorg is network transparent. You can run any Xorg GUI application on one system an display its output on some other system over the network.
This isn't as popular as it once was. |
I hadn't thought about it, are for years that I didn't launch an X application over the network _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
1clue Advocate
Joined: 05 Feb 2006 Posts: 2569
|
Posted: Wed Nov 21, 2018 8:59 pm Post subject: |
|
|
+1 for used to do this, not anymore.
The reason for not anymore is that the only Linux systems I manage which have X applications on them are the ones sitting on a desk. I have no reason to use GUI apps on any remote systems.
This thread is bringing back the nostalgia of the early days again though, I may try i3 again just because I like the premise behind it. I never used it enough to figure out the key bindings.
A couple questions I saw on the thread that are important and, while they may have been answered already I'd like to take a stab at another answer.
xorg-server not a dependency:
Xorg-server is a window server. The client is firefox or xterm or whatever other gui app you are running. The client-server relationship is exactly the opposite of what you would typically expect. The server is on the system the user is sitting at, and the client is the system running the application.
Xorg-server runs on UN*X platforms, particularly Linux. There are many other X servers, both free and commercial, that run on Mac OS X, Windows, Solaris, AIX, blah blah blah. X is a protocol implementation. There are often multiple X servers running on a single platform, and sometimes several are approximately equally popular. Others are developed by a small group which a distro maintainer or commercial provider decides suits their needs better, and they only provide that.
Remote systems:
Unlike pretty much every other window server, X has always had a network socket between client and server. I think by default it uses UNIX sockets (on the same host) but it can transparently use any transport mechanism. Which basically means it uses the same exact software to display something locally as it does to display it remotely. There's a big "but" there.
The "but" is this: The software used is what's on the X server (where you sit) and the configuration for each app is what's on the X client (where you run the software). So if your client box and your server box are built on different distros or different operating systems entirely, your X session generally looks like hell. If they're the same distro then your apps still won't behave the same way because their config file will be on the X client $HOME directory, rather than on your workstation's $HOME.
Edit: Reading this again, my explanation is no more understandable than anyone else's, so I'm sorry if I added to anyone's confusion. I'll leave it here though because maybe it helps somebody understand, or gives somebody else a target for their angst.
|
|
Back to top |
|
|
|