[arch-general] /usr/bin/X: No such file

Ralf Mardorf ralf.mardorf at alice-dsl.net
Sun Dec 11 05:37:30 EST 2011


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
-----------------------------------------------------------------



More information about the arch-general mailing list