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
  •  


HP ProLiant MicroServer Gen8 G8 G2020T 8GB RAM 4x 1TB HDD 4x 3.5

HP ProLiant MicroServer Gen8 G8 G2020T 8GB RAM 4x 1TB HDD 4x 3.5" 712318-421

$269.99



1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$273.00



HP ProLiant MicroServer Gen8 Desktop Computer Intel Core i3-3240 8GB Ram picture

HP ProLiant MicroServer Gen8 Desktop Computer Intel Core i3-3240 8GB Ram

$224.99



Supermicro Server 505-2 Intel 2.4GHz 16GB SYS-5018A-FTN4 - pfSense Compatible picture

Supermicro Server 505-2 Intel 2.4GHz 16GB SYS-5018A-FTN4 - pfSense Compatible

$220.48



DATTO-1000 Mini PC Micro Server 8GB RAM picture

DATTO-1000 Mini PC Micro Server 8GB RAM

$67.48



HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon picture

HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon

$846.48



supermicro 512 picture

supermicro 512

$100.00



1U 20

1U 20" Short Depth Server Firewall PFSense X11SSH-F Xeon 3.5Ghz 32GB RAM NVME

$247.00



ReachEngine Supermicro 119-7 X9DRW-7/iTPF 2X E5-2660v2 132GB DDR3 NO HDD/OS #73 picture

ReachEngine Supermicro 119-7 X9DRW-7/iTPF 2X E5-2660v2 132GB DDR3 NO HDD/OS #73

$136.00