You are not logged in.
Pages: 1
Topic closed
My first post at the Arch forum.
My first imression with Arch is that it is generally a stable and well done distro.
What irritates me, is that I am trying to configure Arch to start X without a login manager like GDM (it is too heavy). But when I type "startx" in tty1 is says "command not found". Which package do I need to be able to use startx and .bashrc instead of gdm?
Last edited by Troels (2009-03-03 21:18:24)
Offline
My first post at the Arch forum.
Welcome !
My first imression with Arch is that it is generally a stable and well done distro.
Yes it is !!!
What irritates me, is that I am trying to configure Arch to start X without a login manager like GDM (it is too heavy). But when I type "startx" in tty1 is says "command not found". Which package do I need to be able to use startx and .bashrc instead of gdm?
Have you installed X yet ? Arch is a barebones CLI only OS. You have to choose to install X and then a window manager of your choice.
if you haven't done this already, you need to start by reading up on the Beginners Guide in the Wiki.
Last edited by Inxsible (2009-03-03 21:21:06)
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
startx is part of the xorg-xinit package. Have you installed xorg? http://wiki.archlinux.org/index.php/Xorg
Offline
Welcome!
startx is owned by xorg-xinit.
--EDIT--
Beaten by Allan!
Offline
Have you installed and configured X according to the wiki? http://wiki.archlinux.org/index.php/Beg … _Install_X
And you want a .xinitrc , not a .bashrc.
EDIT: Ah! Foiled again!
Last edited by djnm (2009-03-03 21:22:13)
br0tat0chip in #archlinux and on freenode
Offline
Geeze you guys are fast man!
Actually, I am writing from my Gnome box now, gdm works fine, and I have also configured xorg properly. Compiz is also running.
That xorg-xinit package seemed to do the trick. Actually, I edited the file /etc/X11/xinit/xinitrc before I installed xorg-xinit so therefore it could not be installed due to the file already existing in the file system. But then I removed the file, and I could now install the package.
bash-3.2# pacman -S xorg-xinit
resolving dependencies...
looking for inter-conflicts...
Targets (2): xorg-xauth-1.0.3-1 xorg-xinit-1.1.1-1
Total Download Size: 0,00 MB
Total Installed Size: 0,11 MB
Proceed with installation? [Y/n]
checking package integrity...
(2/2) checking for file conflicts [#####################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
xorg-xinit: /etc/X11/xinit/xinitrc exists in filesystem
Errors occurred, no packages were upgraded.
bash-3.2# rm -rf /etc/X11/xinit/xinitrc
bash-3.2# pacman -S xorg-xinit
resolving dependencies...
looking for inter-conflicts...
Targets (2): xorg-xauth-1.0.3-1 xorg-xinit-1.1.1-1
Total Download Size: 0,00 MB
Total Installed Size: 0,11 MB
Proceed with installation? [Y/n]
checking package integrity...
(2/2) checking for file conflicts [#####################] 100%
(1/2) installing xorg-xauth [#####################] 100%
(2/2) installing xorg-xinit [#####################] 100%
bash-3.2# startx
xauth: creating new authority file /root/.serverauth.27669
Last edited by Troels (2009-03-03 21:41:49)
Offline
I have now configured it properly.
Why am I not allowed to adjust the cpu frequency anymore and how do I get priviledges to run nm-applet?
Offline
gdm starts a consolekit session. This wiki page might help: http://wiki.archlinux.org/index.php/Networkmanager_0.7
Edit:
e.g. my ~/.xinitrc starts XFCE like
exec ck-launch-session startxfce4
Offline
gdm starts a consolekit session. This wiki page might help: http://wiki.archlinux.org/index.php/Networkmanager_0.7
Edit:
e.g. my ~/.xinitrc starts XFCE likeexec ck-launch-session startxfce4
Thanks Allan I'll try to look there.
What I did, was that I edited /etc/inittab to this
c1:2345:respawn:/bin/login -f arch tty1 </dev/tty1 >/dev/tty1 2>&1
Which means that my user "arch" automatically will log in. When I log in, .bash_profile is executed which holds
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/vc/1 ]]; then
startx
logout
fi
as said in the Arch wiki. in .xinitrc "exec gnome-session" is so that my computer will automatically boot into Gnome without any login manager.
EDIT: Your trick worked (of course) Allan!
Last edited by Troels (2009-03-03 22:11:20)
Offline
Looks fine to me.
in .xinitrc "exec gnome-session"
Just making that "exec ck-launch-session gnome-seesion" and all your permissions should be good.
Offline
Hi everyone!
I had the same problem and installing xorg-xinit solved it for me. Thanks!
I was installing using the tutorial of thisweekinlinux and I thought that when I install the whole xorg group, it should also have installed xorg-xinit by default. Guess it did not but not a problem now.
Last edited by rigved (2011-05-01 22:22:19)
Offline
Why am I not allowed to adjust the cpu frequency anymore and how do I get priviledges to run nm-applet?
Are you loading the cpufreq modules and using the cpufrequtils package?
6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.
Offline
Closed. This thread is old. Please see the Forum Etiquette on Necro-Bumping.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed