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
  •  


Dell Optiplex 5060 SFF 8th Gen Core i7 3.2GHZ 16GB 512GB Win 11 Pro picture

Dell Optiplex 5060 SFF 8th Gen Core i7 3.2GHZ 16GB 512GB Win 11 Pro

$249.00



Lenovo IdeaCentre 3 07IRB8 Desktop Intel Core i5-13400 16GB 512GB SSD W11H picture

Lenovo IdeaCentre 3 07IRB8 Desktop Intel Core i5-13400 16GB 512GB SSD W11H

$429.99



Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ... picture

Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...

$689.99



Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4... picture

Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...

$489.99



AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A... picture

AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A...

$339.95



Apple Mac Pro Processor Tray 5,1 2010 2012 2.4ghz 8 core picture

Apple Mac Pro Processor Tray 5,1 2010 2012 2.4ghz 8 core

$79.99



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel Core i5-6500T SR2L8 2.50GHz Desktop Processor Socket 1151 Quad Core CPU picture

Intel Core i5-6500T SR2L8 2.50GHz Desktop Processor Socket 1151 Quad Core CPU

$22.99



Dell optiplex 7050 Intel core I7-7700 3.6 GHz 8 GB ram No HDD/No OS picture

Dell optiplex 7050 Intel core I7-7700 3.6 GHz 8 GB ram No HDD/No OS

$89.99



Dell 9020 Optiplex Micro-Intel Core i5 - 1TB SSD 8GB RAM Window 11 picture

Dell 9020 Optiplex Micro-Intel Core i5 - 1TB SSD 8GB RAM Window 11

$129.49