LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-15-2009, 01:40 AM   #1
Nadishka
LQ Newbie
 
Registered: Oct 2009
Posts: 10

Rep: Reputation: 0
session only lasted less than 10 seconds.


Here are the messages i got



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

view details(~/.xsession-errors file)


/etc/X11/gdm/preSession/Default:Registering your session with wimp and utmp
/etc/X11/gdm/preSession/Default:running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -u/var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -1 ";0" "root"
Agent pid 5740
/etc/profile:line 51: syntax error near unexpected token 'done'
/etc/profile:line 51: done
/etc/bashshrc:line8 :id:command not found
/etc/bashshrc:line8 :id:command not found
/etc/bashshrc:line8 : id:command not found
/etc/bashshrc:line8 :[:too many arguments
to execute message bus daemon:No such file or directory dbus=launch reading address from bus daemon
please reply that.Thank You

Last edited by Nadishka; 10-15-2009 at 03:42 AM.
 
Old 10-15-2009, 09:51 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,816

Rep: Reputation: 6975Reputation: 6975Reputation: 6975Reputation: 6975Reputation: 6975Reputation: 6975Reputation: 6975Reputation: 6975Reputation: 6975Reputation: 6975Reputation: 6975
Quote:
Originally Posted by Nadishka View Post
Here are the messages i got



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

view details(~/.xsession-errors file)


/etc/X11/gdm/preSession/Default:Registering your session with wimp and utmp
/etc/X11/gdm/preSession/Default:running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -u/var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -1 ";0" "root"
Agent pid 5740
/etc/profile:line 51: syntax error near unexpected token 'done'
/etc/profile:line 51: done
/etc/bashshrc:line8 :id:command not found
/etc/bashshrc:line8 :id:command not found
/etc/bashshrc:line8 : id:command not found
/etc/bashshrc:line8 :[:too many arguments
to execute message bus daemon:No such file or directory dbus=launch reading address from bus daemon
please reply that.Thank You
Ok...now how about telling us WHEN you got those messages, what you were trying to do, version/distro of Linux, and maybe we can help. All we've got so far is a list of error messages, with nothing to relate them to.

Have you checked disk space, as the error suggested? What desktop are you trying to launch? Does this happen with any other users? Can you log in as failsafe??
 
Old 10-15-2009, 10:06 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198
And please post your /etc/profile and /etc/bashshrc with line numbers. It's easier to read if you put it in code tags (that's a link to instructions or you may prefer to use "Advanced Edit" mode which has a # button for code tags). One way to show line numbers is to open the file with vim, enter :set number then copy-and-paste. You can get out of vim by pressing escape followed by :q!
 
Old 10-15-2009, 09:51 PM   #4
Nadishka
LQ Newbie
 
Registered: Oct 2009
Posts: 10

Original Poster
Rep: Reputation: 0
i tried to log in my linux computer in VMware,after restarting it.but i couldn't do that.
etc/profile -line 51
etc/bashshrc -line 8
 
Old 10-16-2009, 12:39 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,816

Rep: Reputation: 6975Reputation: 6975Reputation: 6975Reputation: 6975Reputation: 6975Reputation: 6975Reputation: 6975Reputation: 6975Reputation: 6975Reputation: 6975Reputation: 6975
Quote:
Originally Posted by Nadishka View Post
i tried to log in my linux computer in VMware,after restarting it.but i couldn't do that.
etc/profile -line 51
etc/bashshrc -line 8
And you still haven't answered any of the questions we've asked. How do you expect any of us to help you?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Only failsafe terminal session works w/Ubuntu 8.10 on Compaq EVO berkshire779 Linux - Desktop 10 02-03-2009 10:21 AM
help to edit Edit my bootloader's config file from kernel prompt jagdishpandey Linux - Kernel 5 07-03-2007 06:59 AM
Running Internet at bootup in failsafe or TERMINAL-mode only lennysokol Linux - Networking 1 05-16-2005 03:48 PM
Xserver has only failsafe terminal on FC2 gnome and KDE gone sueno Fedora 2 04-10-2005 09:29 PM
Setting screen refresh rate and size in mandrake failsafe terminal mode. eyeque Mandriva 3 03-10-2005 06:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration