VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: logout hangs  (Read 2123 times)

ubername

  • Member
  • *
  • Posts: 4
logout hangs
« on: May 20, 2009, 09:42:28 am »

Hi

When I select 'logout' my system gets to

rc.X ==> Going to multiuser GUI mode

and then hangs (i.e. the screen stays  saying that).

Any clues / ideas where to look for problems?

Thanks
Logged

kc1di

  • Packager
  • Vectorian
  • ****
  • Posts: 1125
  • Morse Code Early digital mode. John 3:16
Re: logout hangs
« Reply #1 on: May 20, 2009, 11:30:50 am »

Give us a little more information please

Which version are you using with which Desktop?

Logged
Dave
( Living Somewhere in Maine USA)
Registered Linux User #462608

ubername

  • Member
  • *
  • Posts: 4
Re: logout hangs
« Reply #2 on: May 20, 2009, 11:32:11 pm »

Give us a little more information please

Which version are you using with which Desktop?




From Hardinfo:

Version
Kernel   Linux 2.6.27.12 (i686)
Compiled   #1 SMP PREEMPT Thu Jan 22 00:12:35 MST 2009
C Library   GNU C Library version 2.7 (stable)
Distribution   6.0 Light Final built on March 31, 2009
Current Session
Computer Name   jpvector.linux.net
User Name   john (John)
Home Directory   /home/john
Desktop Environment   Unknown (Window Manager: )

Bit worrying that it doesn't know the Desktop environment. I think it's KDE/Icewm
Logged

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4140
Re: logout hangs
« Reply #3 on: May 21, 2009, 04:27:37 am »

Could be a process hanging on shutdown or a conflict with apm/acpi, hard to tell.

If you boot to TUI, then issue command "poweroff" as root, does that work?
Logged

ubername

  • Member
  • *
  • Posts: 4
Re: logout hangs
« Reply #4 on: May 21, 2009, 11:53:30 am »

Could be a process hanging on shutdown or a conflict with apm/acpi, hard to tell.

If you boot to TUI, then issue command "poweroff" as root, does that work?

yes, it seems to, although it takes a little while and I get

CIFS VFS: Server not responding
and then another message which starts with CIFS VFS: but I didn't get to write it down in time.
Logged

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4140
Re: logout hangs
« Reply #5 on: May 21, 2009, 02:06:58 pm »

Guess you have a samba share mounted, and it won't release. Seen that before. Next try the poweroff command in a terminal emulator, maybe unmount the samba share first.
Logged

GrannyGeek

  • Packager
  • Vectorian
  • ****
  • Posts: 2567
Re: logout hangs
« Reply #6 on: May 21, 2009, 06:36:18 pm »

Desktop Environment   Unknown (Window Manager: )

Bit worrying that it doesn't know the Desktop environment. I think it's KDE/Icewm

Unless you *added* KDE, your choices are IceWM or JWM. They are both window managers, not Desktop Environments. VectorLinux 6 Standard comes with XFce and LXDE, both of which are Desktop Environments, though considered "lightweight" as Desktop Environments go. VectorLinux SOHO comes with KDE, a rather resource-hungry and very complete Desktop Environment.

Fundamentally, a window manager controls the appearance of your application windows and manages the windows. A desktop environment provides integrated utilities and applications. For example, XFce has its own file manager (Thunar), as does KDE (Konqueror, others). IceWM does not have its own file manager. You can use any file manager for which you have the dependencies, as you can with XFce and KDE.

Hardinto in my installation of VL 6 Light also says Unknown for Desktop Environment, so don't worry about that.
--GrannyGeek
Logged
Registered Linux User #397786

Happily running VL 7 Gold on  a Sempron LE-1300 desktop (2.3 GHz), 4 G RAM,  GeForce 6150 SE onboard graphics and on an HP Pavilion dv7 i7, 6 gigs, Intel 2nd Generation Integrated Graphics Controller

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2322
Re: logout hangs
« Reply #7 on: May 21, 2009, 07:41:53 pm »

Many WMs and DEs export a DESKTOP_SESSION environment variable.
Maybe if you run this in a terminal you can find out wich one are you running:

Code: [Select]
echo $DESKTOP_SESSION
For example in my box I get this:
Code: [Select]
rbistolfi@vector1 [ ~ ] %echo $DESKTOP_SESSION
awesome

HTH
Logged
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

ubername

  • Member
  • *
  • Posts: 4
Re: logout hangs
« Reply #8 on: May 22, 2009, 11:12:44 am »

Thanks all.

Using $DESKTOP_SESSION shows I am using icewm.

'poweroff' from a terminal works - although I hope I haven't mislead anyone -  'shutdown' and 'reboot' work fine anyway. It is only the 'logout' option which causes the hang. And even when it is hanging the power off button works, immediately initiating the shutdown process.

Any more help gratefully received. I noted the post which suggested a acpi/apm hang and tried to use htop to kill any process with these in the name (this lappy is only for playing - to see if I can have a workable system on such a low spec). This seems to stop the power off button from working!
Logged

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4140
Re: logout hangs
« Reply #9 on: May 22, 2009, 03:30:15 pm »

Yes, killing apm/acpi would stop the daemon that monitors the power button.

You may try switching login manager. If you are using VL6 Light, it comes with both KDM and GDM, defaulting to KDM unless you change the install options. Run "vxdmset" as root.
Logged

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2322
Re: logout hangs
« Reply #10 on: May 22, 2009, 04:21:43 pm »

Try uncomenting the TerminateServer line in /etc/kde/kdm/kdmrc
Code: [Select]
#TerminateServer=true

Make it look like this:
Code: [Select]
TerminateServer=true

You have to be root to edit it, and you can use any text editor of your choice.

HTH
Logged
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!