Results 1 to 2 of 2

Thread: Logout != shutdown

  1. #1
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611

    Logout != shutdown

    I want to make my remaster dump the user back to text mode instead of sutting down whenever they logout out of the WM (generally KDE). I made a ~/.xinitrc so they can use startx to get back to a window manager from text mode. But how to I make KDE and other WM's change their default action on logout from shutdown to just return to text mode?

  2. #2
    Junior Member
    Join Date
    Jul 2003
    Location
    California
    Posts
    1
    AFAIK, when you use a display manager (which is the default) logout always = shutdown. What you want to do is disable any display managers (kdm for kde) (gdm for gnome) (xdm for generic X) and use a startx script. If you want it to boot graphically first and then give text console if they logout, the following worked for me.

    in /etc/init.d/xsesison change the line that looks like
    su -c "DISPLAY=:0 exec /usr/bin/startkde" - $USER
    with
    su -c "DISPLAY=:0 exec /etc/X11/xinit/xinitrc" - $USER

    and change /etc/X11/xinit/xinitrc to look something like this:

    PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/games:/usr/local/bin:."
    export PATH
    exec xloadimage -fullscreen -onroot -center -border black -quiet /usr/local/lib/whatever_file_you_want.jpg&
    exec fluxbox -display :0

    And that did it for me. Let me know.

Similar Threads

  1. logout & logout knoppix
    By chain in forum General Support
    Replies: 26
    Last Post: 07-11-2004, 03:16 AM
  2. After logout system freezes
    By kriko in forum Hdd Install / Debian / Apt
    Replies: 13
    Last Post: 11-18-2003, 06:38 PM
  3. has the logout feature fixed yet?
    By heathenx in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 11-18-2003, 01:11 PM
  4. No power-off on logout without remastering?
    By mihael.kukec in forum Customising & Remastering
    Replies: 1
    Last Post: 11-04-2003, 11:01 PM
  5. Knoppix hangs up at logout
    By ariszlo in forum Hardware & Booting
    Replies: 0
    Last Post: 03-11-2003, 04:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


IBM System X3850-X5 Server w/4x Intel  Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD picture

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD

$1299.99



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$149.99



IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon  E5620 picture

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620

$199.99



Lot of 2 IBM blade center Type H chassis 8852 picture

Lot of 2 IBM blade center Type H chassis 8852

$559.00



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$108.92



IBM SERVER SLED WITH HDD SCSI 8.8GB ,P005043441, AS IS,UNTESTED picture

IBM SERVER SLED WITH HDD SCSI 8.8GB ,P005043441, AS IS,UNTESTED

$165.00



IBM Power S824 12Bay 4U Server - 2x Power8 CPU, 512GB DDR4, MT: 8286-42A picture

IBM Power S824 12Bay 4U Server - 2x Power8 CPU, 512GB DDR4, MT: 8286-42A

$1731.00



IBM 02YC027 Seagate ST2400MM0129 2.4TB 10K SAS 12Gb/s 2.5

IBM 02YC027 Seagate ST2400MM0129 2.4TB 10K SAS 12Gb/s 2.5" Server Hard Drive

$200.00



Unused IBM 09P0037 MAINBOARD For  RS/6000 7044-170 P-Series picture

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series

$375.00



IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU picture

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU

$250.00