gnome , sesion unter 10 Sec. Gnome startet nicht

happy

Well-Known Member
Bekomme gnome nicht über GDM defult gestartet , nur failsafe .

Code:
"Your session only lasted less than 10 seconds.  If you have not logged out "
"yourself, this could mean that there is some installation problem or that "
"you may be out of diskspace.  Try logging in with one of the failsafe "
"sessions to see if you can fix this problem."


"View details (~/.xsession-errors file)"

root@ric:/root# cat .xsession-errors 
/usr/X11R6/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp
/usr/X11R6/etc/gdm/PreSession/Default: running: /usr/X11R6/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/usr/X11R6/share/gnome/gdm/:0.Xservers" -h "" -l ":0" "root"
/usr/X11R6/etc/gdm/Xsession: Beginning session setup...
/usr/X11R6/etc/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- prompt
prompt: No such file or directory

bsd. 4.10 und 128 MB RAM , auf der platte ist nich 250 MB frei.

von console aus , starte gnome problemlos.

Wie kann ich das problem beheben?
 
wo bekomme ich prompt her? ich finde es nicht, und warum startet das mit startx aus der console?
Habe platte durchsucht, es gibt bei mir kein prompt und in den ports nur xprompt.
weitere ideen?
 
Ich hab keine gdm am laufen aber irgendwo wird ssh-agent gestartet:

| /usr/X11R6/etc/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- prompt

`startx` funktioniert bei dir, weil die Zeile vermutlich von gdm ausgefuerht wird und ansonsten nicht.

EDIT:
Ich hab mir mal die /usr/X11R6/etc/gdm/Xsession angeschaut:
Code:
if [ "x$command" = "xcustom" ] ; then
  if [ -x "$HOME/.xsession" ]; then
    command="$HOME/.xsession"
  else
    echo "$0: Cannot find ~/.xsession will try the default session"
    command="default"
  fi
fi

if [ "x$command" = "xdefault" ] ; then
  if [ -x "$HOME/.Xclients" ]; then
    command="$HOME/.Xclients"
  elif [ -x /etc/X11/xinit/Xclients ]; then
    command="/etc/X11/xinit/Xclients"
  elif [ -x /etc/X11/Xclients ]; then
    command="/etc/X11/Xclients"
  else
    echo "$0: Cannot find Xclients"
    # FIXME: kind of an evil failsafe
    command="xsm"
  fi
fi

# add ssh-agent if found
sshagent="`gdmwhich ssh-agent`"
if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then
    command="$sshagent -- $command"
elif [ -z "$sshagent" ] ; then
    echo "$0: ssh-agent not found!"
fi
vermutlich wird hier $command auf promt gesetzt, was nicht gefunden
wird. Schau dir mal deine Dotfiles an.
 
Last edited:
HAbe fehler gefunden , es lag an /etc/profile
Dort wurde der prompt fuer csh definiert, habe aber jetzt auskomentiert da ich bash nutze .

# Read system messages
# msgs -f
# Allow terminal messages
# mesg y
#set prompt = '%n@%m%# '
EDITOR=pico
export EDITOR



Jetzt, gehts
 
Last edited:
Back
Top