You are not logged in.
Pages: 1
I just got Arch Linux on my laptop and have a working connection! Now I am installing Gnome. I have done that and would like to run gnome session. I am logged in as a root and I run:
xinit /usr/bin/gnome-session
and I get:
- bash: xinit: command not found
I am not sure what to do.... I am falling the instructions on a youtube video (here are the shownotes: http://www.thisweekinlinux.com/2010/10/archcommands/) from this week in linux and my results are not like his.
Any help would be appreciated!
Soli Deo Gloria! - To God alone be the glory!
Offline
Follow the beginners guide instead
https://wiki.archlinux.org/index.php/Be … #Install_X
Are you sure you want to run X as root?
Offline
What does run x as root mean?
Last edited by PYTH (2012-04-28 03:37:20)
Soli Deo Gloria! - To God alone be the glory!
Offline
It's not generally a good practice to use the root account for normal work. I won't tell you not to, as that's your decision, but it needs to be said.
Have you tried using a normal user account?
Try using The Wiki: GNOME, specifically the section about startx. It will work exactly the same way using xinit.
I hope this makes sense and helps.
PS: Please use the code tags for posting output. It just makes it a little easier to read. Thanks!
"The box said requires Vista or better, so I installed Arch"
Windows != Linux
Offline
I set up another user but it is very limited so it can't install anything because it is no the root. How do I give it access to do everything that the root can?
Soli Deo Gloria! - To God alone be the glory!
Offline
@skunktrader I went through the guide and did everything all the way to "Configure X (Optional)" and know when I run: xinit /usr/bin/gnome-session I get:
xinit: /lib/libc.so.6: version 'GLIBC_2.15' not found (required by /usr/lib/libx11.so.6)
PS: How do I do code tags?
Soli Deo Gloria! - To God alone be the glory!
Offline
and when I run startx I now get:
usr/bin/startx: line 145: hostname: command not found
Soli Deo Gloria! - To God alone be the glory!
Offline
@skunktrader I went through the guide and did everything all the way to "Configure X (Optional)" and know when I run: xinit /usr/bin/gnome-session I get:
xinit: /lib/libc.so.6: version 'GLIBC_2.15' not found (required by /usr/lib/libx11.so.6)
PS: How do I do code tags?
Usually that means that your system is out of date. The beginners guide says you should fully update the system before installing X
Offline
and when I run startx I now get:
usr/bin/startx: line 145: hostname: command not found
Offline
In general, you should NOT use random guides on the net to install Arch, especially one that is 18 months old.
Offline
I set up another user but it is very limited so it can't install anything because it is no the root. How do I give it access to do everything that the root can?
Offline
Ok. Thanks a lot! I will try all of that tomorrow! I see what you mean about the beginners guide and did not realize it was 18 months old... thanks for you help!
Soli Deo Gloria! - To God alone be the glory!
Offline
Ok. I am doing everything in the beginners guide now and it seems to be going good exept for now when I run startx (i upgraded my system) I get this:
X.Org X Server 1.12.1
Release Date:2012-04-13
X Protocol Verion 11, Revision 0Build Operating System: Linux 3.3.1-1-ARCH i1686
Current Operating System: Linux myhost 3.3.1-1-ARCH #1 SMP PREEMPT Mon apr 23
Kernel command line: root=dev/disk/by=uuid/a4e0b6e0-fcdd-46db-bdae-1199e46e0bf1 ro
Build Date: 14 April 2012
Current version of pixman: 0.24.4
Before reporting problems, chck http://wiki.x.org
to ake sure that you have the lastest version
Markers: (--) probed, (**) from config file, (==) degault setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "var/log/Xorg.0.log", Time: Sat Apr 28 09:29:47 2012
(==) Using config directory: "/etc/X11/xorg.conf.d"'resize called 1440 900
xinit: Unable to run program "xterm": No such file or directory
Specify a profram on the command line or ake sure that /usr/bin
is in your path
xinit: connection to X server lost
waiting for X server to shud Server terminated successfuly (0). Closing log file
Soli Deo Gloria! - To God alone be the glory!
Offline
Either you don't have a proper ~/.xinitrc, or you are still trying to run X as root which you were already advised against.
You do not have xterm installed, and the root user xinitrc runs xterm, so X starts, and when nothing is running, it ends just as it is supposed to.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Ok. I will try to run it with another user....
Soli Deo Gloria! - To God alone be the glory!
Offline
Ok. I created a user and gave him access to everything but this time I got the error
E: [pulseaudio] main.c: Daemon startup failed. ( in red )
lost connection etc...
Soli Deo Gloria! - To God alone be the glory!
Offline
Hm... when I try to install pulseaudio (which I think I already did but) it denies be permission because I am not a root...
Soli Deo Gloria! - To God alone be the glory!
Offline
*throws hands up*
If you will not follow advice given in this and your other threads, and if you will not go all the way through the beginners guide without trying to take short cuts, then there is really nothing anyone here can do to help.
Last edited by Trilby (2012-04-28 15:58:23)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Think of it this way: you use root to configure and change the system, so to install packages and use pacman you're going to use root; you should use a normal user account for running "normal" things, for work, for fun, for internet, etc etc.
Offline
Forget about all of them, and try this as root:
pacman -S gdm
nano /etc/rc.conf
and add fuse this to line:
MODULES=( fuse , ...)
replace network by networkmanager and add dbus this to:
DAEMONS=(..., dbus, networkmanager, ...)
Save it and now edit inittab:
nano /etc/inittab
comment id:3 and uncomment id:5
## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:
And finally uncomment x:5:respawn:/usr/sbin/gdm -nodaemon
# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim ]/dev/null 2]&1
Save, reboot and enjoy GNOME!!
Last edited by adr14n (2012-04-30 22:42:56)
Offline
Pages: 1