View previous topic :: View next topic |
Author |
Message |
deltamalloc Apprentice
Joined: 18 Jan 2013 Posts: 279
|
Posted: Thu Jan 31, 2013 8:15 pm Post subject: XFCE fails to start with XDM |
|
|
I have successfully installed XFCE and I am able to start it from the console with startx.
I have used http://www.gentoo.org/doc/en/xfce-config.xml to install XFCE and the default Gentoo install guide to install Gentoo, except that I added ACCEPT_KEYWORDS="x86" to make.conf.
However when I try to use xdm/slim to start XFCE, nothing happens. I am greeted with the login GUI, I type my username and password, then I just get an X cursor and nothing starts. I do not return to the (GUI) login prompt. I am not able to restart X with ctrl+alt+backspace. I am able to switch out to a console terminal with ctrl+alt+Fn.
I don't see anything of interest in dmesg when I try to login. I don't see anything interesting in Xorg.0.log, except that it seems the server restarts when I hit enter to login.
Any ideas? |
|
Back to top |
|
|
ce110ut Apprentice
Joined: 27 Sep 2002 Posts: 200
|
Posted: Thu Jan 31, 2013 9:12 pm Post subject: |
|
|
Hello deltamalloc,
Have you tried startxfce4 instead of startx ? |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Thu Jan 31, 2013 9:43 pm Post subject: |
|
|
ive seen this problem also, same exact behavior for xdm.... gdm works fine under xdms startup with editing a file to say gdm instead of xdm... your not gnome though... |
|
Back to top |
|
|
deltamalloc Apprentice
Joined: 18 Jan 2013 Posts: 279
|
Posted: Fri Feb 01, 2013 12:02 am Post subject: |
|
|
ce110ut wrote: | Hello deltamalloc,
Have you tried startxfce4 instead of startx ? |
I haven't but I just tried it. Yes, that works too, seems to produce the exact same behaviour as starting just "startx".
I'm assuming you just meant to start from the console "startxfce4", that was what I tried. |
|
Back to top |
|
|
deltamalloc Apprentice
Joined: 18 Jan 2013 Posts: 279
|
Posted: Fri Feb 01, 2013 12:24 am Post subject: |
|
|
I straced slim while attempting to log in:
Code: |
...
connect(6, {sa_family=AF_FILE, sun_path="/var/run/dbus/system_bus_socket"}, 33) = -1 ENOENT (No such file or directory)
close(6) = 0
write(2, "slim", 4) = 4
write(2, ": Dbus error: ", 14) = 14
write(2, "Unable to open session: Failed t"..., 110) = 110
write(2, "\n", 1) = 1
write(2, "slim", 4) = 4
write(2, ": console-kit-daemon not running"..., 33) = 33
write(2, "\n", 1) = 1
write(2, "arguments to ck_connector_get_co"..., 125) = 125
futex(0xb72da0fc, FUTEX_WAKE_PRIVATE, 2147483647) = 0
write(2, "terminate called after throwing "..., 48) = 48
write(2, "std::logic_error", 16) = 16
write(2, "'\n", 2) = 2
write(2, " what(): ", 11) = 11
write(2, "basic_string::_S_construct null "..., 41) = 41
write(2, "\n", 1) = 1
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(1270, 1270, SIGABRT) = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=1270, si_uid=0} ---
+++ killed by SIGABRT +++
|
So it seems the error is related to D-Bus.
Edit: I do have "System V IPC" enabled in my kernel though. Do I need anything else? |
|
Back to top |
|
|
deltamalloc Apprentice
Joined: 18 Jan 2013 Posts: 279
|
Posted: Sat Feb 02, 2013 12:20 pm Post subject: |
|
|
I tried with xdm instead of slim.
This too fails, but in a slightly different way. After entering user and password I am returned to the username prompt immediately. From the console I can see that xdm crashes. When I strace it (start before login, end after attempted login):
Code: |
Process 1268 attached
rt_sigsuspend([]) = ? ERESTARTNOHAND (Interrupted by signal)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1333, si_status=0, si_utime=11, si_stime=1} ---
sigreturn() (mask [HUP CHLD]) = -1 EINTR (Interrupted system call)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 1333
stat64("/etc/X11/xdm/xdm-config", {st_mode=S_IFREG|0644, st_size=1255, ...}) = 0
stat64("/etc/X11/xdm/Xservers", {st_mode=S_IFREG|0644, st_size=426, ...}) = 0
stat64("/etc/X11/xdm/Xaccess", {st_mode=S_IFREG|0644, st_size=3401, ...}) = 0
waitpid(-1, 0xbfc8235c, WNOHANG) = 0
write(2, "xdm info (pid 1268): ", 21) = 21
write(2, "Starting X server on :0\n", 24) = 24
gettimeofday({1359741536, 724203}, NULL) = 0
gettimeofday({1359741536, 724524}, NULL) = 0
umask(077) = 022
unlink("/var/lib/xdm/authdir/authfiles/A:0-Wpjqka") = 0
open("/var/lib/xdm/authdir/authfiles/A:0-Wpjqka", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
umask(022) = 077
fstat64(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77cb000
write(3, "\377\377\0\0\0\0\0\23XDM-AUTHORIZATION-1\0\20\253'\361"..., 45) = 45
write(3, "\377\377\0\0\0\0\0\22MIT-MAGIC-COOKIE-1\0\20\240\237\277B"..., 44) = 44
_llseek(3, 0, [89], SEEK_CUR) = 0
ftruncate(3, 89) = 0
close(3) = 0
munmap(0xb77cb000, 4096) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb73a9768) = 1366
rt_sigprocmask(SIG_BLOCK, [HUP CHLD], [], 8) = 0
rt_sigsuspend([]) = ? ERESTARTNOHAND (Interrupted by signal)
--- SIGUSR1 {si_signo=SIGUSR1, si_code=SI_USER, si_pid=1277, si_uid=0} ---
sigreturn() (mask [HUP CHLD]) = -1 EINTR (Interrupted system call)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
waitpid(-1, 0xbfc8235c, WNOHANG) = 0
rt_sigprocmask(SIG_BLOCK, [HUP CHLD], [], 8) = 0
rt_sigsuspend([]
|
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|