[arch-general] /usr/bin/X: No such file
Hi :) when I try to start xfce (as root, since I didn't add a user until now) I get "/usr/bin/startxfce4: Starting X server /etc/X11/xinit/xserverrc: line1: /usr/bin/X: No such file or directory" I missed something when reading the Wiki. I'll read it again. Any hints are welcome. Cheers! Ralf PS: -----------------------------------------------------------------
cat /media/archlinux/etc/gdm/custom.conf [snip] [security] AllowRoot=true [snip]
grep DAEMONS= /media/archlinux/etc/rc.conf DAEMONS=(hwclock syslog-ng !network !netfs crond acpid dbus)
# cat /media/archlinux/root/.bash_profile # # ~/.bash_profile # [[ -f ~/.bashrc ]] && . ~/.bashrc if [ "$(tty)" = "/dev/tty1" ]; then startxfce4 fi ----------------------------------------------------------------- # grep exec /media/archlinux/root/.xinitrc # exec gnome-session # exec startkde # exec startxfce4 exec ck-launch-session dbus-launch --exit-with-session startxfce4 ----------------------------------------------------------------- # cat /media/archlinux/root/.xsession #!/bin/sh # # ~/.xsession # # Executed by xdm/gdm/kdm at login # /bin/bash --login -i ~/.xinitrc ----------------------------------------------------------------- # cat /media/archlinux/root/.xprofile # [snip, it's empty] # Executed by gdm at login # ----------------------------------------------------------------- # ls /media/archlinux/root -hAl total 32K -rw------- 1 root root 2.7K 2011-12-11 10:45 .bash_history -rw-r--r-- 1 root root 21 2011-12-11 06:17 .bash_logout -rw-r--r-- 1 root root 111 2011-12-11 06:25 .bash_profile -rw-r--r-- 1 root root 141 2011-12-11 06:18 .bashrc drwx------ 2 root root 4.0K 2011-12-11 10:10 .w3m -rw-r--r-- 1 root root 379 2011-12-11 06:29 .xinitrc -rw-r--r-- 1 root root 57 2011-12-11 06:45 .xprofile -rw-r--r-- 1 root root 100 2011-12-11 06:19 .xsession ----------------------------------------------------------------- # ls /media/archlinux/var/log -hAl total 4.2M -rw-r----- 1 root floppy 480 2011-12-11 10:46 acpid.log -rw-r----- 1 root floppy 6.3K 2011-12-11 10:44 auth.log -rw-r--r-- 1 root root 34K 2011-12-11 10:46 boot -rw------- 1 root root 0 2011-12-07 19:59 btmp drwxr-xr-x 2 root root 4.0K 2011-12-10 19:58 ConsoleKit -rw-r----- 1 root floppy 7.0K 2011-12-11 10:46 crond.log -rw-r----- 1 root floppy 47K 2011-12-11 10:46 daemon.log -rw-r--r-- 1 root root 53K 2011-12-11 10:46 dmesg.log -rw-r----- 1 root floppy 56K 2011-12-11 10:46 errors.log -rw-r----- 1 root floppy 1.4M 2011-12-11 10:46 everything.log -rw------- 1 root root 4.5K 2011-12-11 10:44 faillog drwxrwx--T 2 root 120 4.0K 2011-12-11 10:46 gdm -rw-r----- 1 root floppy 1.4M 2011-12-11 10:46 kernel.log -rw-r--r-- 1 root root 126K 2011-12-11 10:44 lastlog -rw-r----- 1 root floppy 880K 2011-12-11 10:46 messages.log drwxr-xr-x 2 root root 4.0K 2011-10-10 01:25 old -rw-r--r-- 1 root root 41K 2011-12-11 10:39 pacman.log -rw-r----- 1 root floppy 3.6K 2011-12-11 10:46 syslog.log -rw-r----- 1 root floppy 1.3K 2011-12-11 10:46 user.log -rw-r--r-- 1 root root 222K 2011-12-11 10:46 wtmp -----------------------------------------------------------------
/usr/bin/X should be symlink to /usr/bin/Xorg, At least that way it's in my system. On Sun, Dec 11, 2011 at 11:37:30AM +0100, Ralf Mardorf wrote:
Hi :)
when I try to start xfce (as root, since I didn't add a user until now) I get
"/usr/bin/startxfce4: Starting X server /etc/X11/xinit/xserverrc: line1: /usr/bin/X: No such file or directory"
I missed something when reading the Wiki. I'll read it again. Any hints are welcome.
Cheers!
Ralf
PS: -----------------------------------------------------------------
cat /media/archlinux/etc/gdm/custom.conf [snip] [security] AllowRoot=true [snip]
grep DAEMONS= /media/archlinux/etc/rc.conf DAEMONS=(hwclock syslog-ng !network !netfs crond acpid dbus)
# cat /media/archlinux/root/.bash_profile # # ~/.bash_profile #
[[ -f ~/.bashrc ]] && . ~/.bashrc
if [ "$(tty)" = "/dev/tty1" ]; then startxfce4 fi ----------------------------------------------------------------- # grep exec /media/archlinux/root/.xinitrc # exec gnome-session # exec startkde # exec startxfce4 exec ck-launch-session dbus-launch --exit-with-session startxfce4 ----------------------------------------------------------------- # cat /media/archlinux/root/.xsession #!/bin/sh
# # ~/.xsession # # Executed by xdm/gdm/kdm at login #
/bin/bash --login -i ~/.xinitrc ----------------------------------------------------------------- # cat /media/archlinux/root/.xprofile # [snip, it's empty] # Executed by gdm at login # ----------------------------------------------------------------- # ls /media/archlinux/root -hAl total 32K -rw------- 1 root root 2.7K 2011-12-11 10:45 .bash_history -rw-r--r-- 1 root root 21 2011-12-11 06:17 .bash_logout -rw-r--r-- 1 root root 111 2011-12-11 06:25 .bash_profile -rw-r--r-- 1 root root 141 2011-12-11 06:18 .bashrc drwx------ 2 root root 4.0K 2011-12-11 10:10 .w3m -rw-r--r-- 1 root root 379 2011-12-11 06:29 .xinitrc -rw-r--r-- 1 root root 57 2011-12-11 06:45 .xprofile -rw-r--r-- 1 root root 100 2011-12-11 06:19 .xsession ----------------------------------------------------------------- # ls /media/archlinux/var/log -hAl total 4.2M -rw-r----- 1 root floppy 480 2011-12-11 10:46 acpid.log -rw-r----- 1 root floppy 6.3K 2011-12-11 10:44 auth.log -rw-r--r-- 1 root root 34K 2011-12-11 10:46 boot -rw------- 1 root root 0 2011-12-07 19:59 btmp drwxr-xr-x 2 root root 4.0K 2011-12-10 19:58 ConsoleKit -rw-r----- 1 root floppy 7.0K 2011-12-11 10:46 crond.log -rw-r----- 1 root floppy 47K 2011-12-11 10:46 daemon.log -rw-r--r-- 1 root root 53K 2011-12-11 10:46 dmesg.log -rw-r----- 1 root floppy 56K 2011-12-11 10:46 errors.log -rw-r----- 1 root floppy 1.4M 2011-12-11 10:46 everything.log -rw------- 1 root root 4.5K 2011-12-11 10:44 faillog drwxrwx--T 2 root 120 4.0K 2011-12-11 10:46 gdm -rw-r----- 1 root floppy 1.4M 2011-12-11 10:46 kernel.log -rw-r--r-- 1 root root 126K 2011-12-11 10:44 lastlog -rw-r----- 1 root floppy 880K 2011-12-11 10:46 messages.log drwxr-xr-x 2 root root 4.0K 2011-10-10 01:25 old -rw-r--r-- 1 root root 41K 2011-12-11 10:39 pacman.log -rw-r----- 1 root floppy 3.6K 2011-12-11 10:46 syslog.log -rw-r----- 1 root floppy 1.3K 2011-12-11 10:46 user.log -rw-r--r-- 1 root root 222K 2011-12-11 10:46 wtmp -----------------------------------------------------------------
On Sun, Dec 11, 2011 at 11:37 AM, Ralf Mardorf <ralf.mardorf@alice-dsl.net> wrote:
Hi :)
when I try to start xfce (as root, since I didn't add a user until now) I get
"/usr/bin/startxfce4: Starting X server /etc/X11/xinit/xserverrc: line1: /usr/bin/X: No such file or directory"
I missed something when reading the Wiki. I'll read it again. Any hints are welcome.
Cheers!
Ralf
So do you have /usr/bin/X? Create a user and try again.
On 11/12/11 20:37, Ralf Mardorf wrote:
Hi :)
when I try to start xfce (as root, since I didn't add a user until now) I get
"/usr/bin/startxfce4: Starting X server /etc/X11/xinit/xserverrc: line1: /usr/bin/X: No such file or directory"
I missed something when reading the Wiki. I'll read it again. Any hints are welcome.
Have you installed xorg?
pacman -Qo /usr/bin/X /usr/bin/X is owned by xorg-server 1.11.2-2
-----Ursprüngliche Nachricht----- Von: arch-general-bounces@archlinux.org im Auftrag von Allan McRae Gesendet: So 12/11/2011 11:51
Have you installed xorg?
pacman -Qo /usr/bin/X /usr/bin/X is owned by xorg-server 1.11.2-2
Oops :D thank you :), at least xorg.xinit already was installed, but the server and driver were not installed. Now X and GDM are running. Using the proprietary nvidia driver, regarding to X everything is ok now. GDM still needs some tweak, since I can't log in as root and GNOME already is listed, but currently only Xfce4 is installed. It's not important that root doesn't work, I don't need it. I only wanted to test it, but next thing I'll do is too add the user. I'll have a meal first ;). Ralf PS: Hm? IIUC it already should work for root.
cat /media/archlinux/etc/gdm/custom.conf # GDM configuration storage
[daemon] [security] AllowRoot=true [xdmcp] [greeter] [chooser] [debug]
On 12/11/2011 03:28 PM, Ralf Mardorf wrote:
-----Ursprüngliche Nachricht----- Von: arch-general-bounces@archlinux.org im Auftrag von Allan McRae Gesendet: So 12/11/2011 11:51
Have you installed xorg?
pacman -Qo /usr/bin/X /usr/bin/X is owned by xorg-server 1.11.2-2
Oops :D
thank you :), at least xorg.xinit already was installed, but the server and driver were not installed. Now X and GDM are running. Using the proprietary nvidia driver, regarding to X everything is ok now.
why do i think you used nvidia installer instead of doing pacman -S nvidia ?
GDM still needs some tweak, since I can't log in as root and GNOME already is listed, but currently only Xfce4 is installed.
maybe you should start thinking about it. Is not working because is wrong to use root as your primary account, especially in graphics. If you really want, since is your system and I don't care what are you doing, check /etc/pam.d/gdm-password auth sufficient pam_succeed_if.so uid >= 1000 quiet
It's not important that root doesn't work, I don't need it. I only wanted to test it, but next thing I'll do is too add the user.
I'll have a meal first ;).
Ralf
PS: Hm? IIUC it already should work for root.
cat /media/archlinux/etc/gdm/custom.conf # GDM configuration storage
[daemon]
[security] AllowRoot=true
[xdmcp]
[greeter]
[chooser]
[debug]
-- Ionuț
-----Ursprüngliche Nachricht----- Von: arch-general-bounces@archlinux.org im Auftrag von Ionut Biru Gesendet: So 12/11/2011 15:01
why do i think you used nvidia installer instead of doing pacman -S nvidia ?
Hi :) dunno? I run pacman -S nvidia. Hm? * etc/ * etc/modprobe.d/ * etc/modprobe.d/nouveau_blacklist.conf * lib/ * lib/modules/ * lib/modules/extramodules-3.1-ARCH/ * lib/modules/extramodules-3.1-ARCH/nvidia.ko.gz If I use self build kernels, how do I add the module, since the installer isn't in e.g. /usr/src?! Will the package install the module to all kernels? There still is an unused kernel ...
ls /media/archlinux/lib/modules/extra* /media/archlinux/lib/modules/extramodules-2.6.32-lts: version
ls /media/archlinux/usr/src
/media/archlinux/lib/modules/extramodules-3.1-ARCH: nvidia.ko.gz version ... and the package didn't build a module, so there might be a reason to download from NVIDIA?! linux-2.6.32.49-1-lts linux-3.1.4-1-ARCH
GDM still needs some tweak, since I can't log in as root and GNOME already is listed, but currently only Xfce4 is installed.
maybe you should start thinking about it. Is not working because is wrong to use root as your primary account, especially in graphics. If you really want
No, I don't need it, I just wonder that it doesn't work. Thanks, Ralf
PS: Dependencies are * linux>=3.1 * linux<3.2 * nvidia-utils=290.10 So I wonder if it would build a module if I should build some kernel-rt myself. Since current one is 3.0 http://www.kernel.org/pub/linux/kernel/projects/rt/ I suspect I need to download from NVIDIA. *?* Ralf
On 12/11/2011 05:07 PM, Ralf Mardorf wrote:
PS: Dependencies are * linux>=3.1 * linux<3.2 * nvidia-utils=290.10
So I wonder if it would build a module if I should build some kernel-rt myself. Since current one is 3.0 http://www.kernel.org/pub/linux/kernel/projects/rt/ I suspect I need to download from NVIDIA.
*?*
Ralf
AUR is your friend. nvidia-lts for kernel26-lts is in extra. nvidia-rt from aur nvidia-$yourcrappykerly from aur -- Ionuț
participants (5)
-
Allan McRae
-
Ionut Biru
-
Jari Vetoniemi
-
Karol Blazewicz
-
Ralf Mardorf