Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: mbertrand on May 01, 2017, 10:06:42 AM

Title: [SOLVED] CTRL-ALT-DEL and CTRL-ALT-BACSPACE is closing xvesa
Post by: mbertrand on May 01, 2017, 10:06:42 AM
I'm running TC with Fluxbox and xvesa. CTRL-ALT-DEL and CTRL-ALT-BACSPACE is closing xvesa and returning me to terminal. Who is managing this and how can I disable it?
Title: Re: CTRL-ALT-DEL and CTRL-ALT-BACSPACE is closing xvesa
Post by: Rich on May 01, 2017, 11:16:56 AM
Hi mbertrand
Open your  ~/.xsession  file and add  -nozap  to the  Xvesa  startup command. Then restart X and see if that helped.
Title: Re: CTRL-ALT-DEL and CTRL-ALT-BACSPACE is closing xvesa
Post by: mbertrand on May 01, 2017, 01:03:36 PM
I had tried that and Xvesa does not load anymore.

/usr/local/bin/Xvesa -br -nozap -screen 1024x768x24 -dpi 96 -shadow -mouse /dev/input/mice,5 -nolisten tcp -I >/dev/null 2>&1 &.

By the way I have this after xvesa
export XPID=$!
waitforX || ! echo failed in waitforX || exit

So I get ' ! echo failed in waitforX'
Title: Re: CTRL-ALT-DEL and CTRL-ALT-BACSPACE is closing xvesa
Post by: curaga on May 01, 2017, 02:23:24 PM
Maybe you made a typo? Make a copy of the file, remove all lines except the xvesa line, remove everything after -I, and run it. That way you'll see any error messages.
Title: Re: CTRL-ALT-DEL and CTRL-ALT-BACSPACE is closing xvesa
Post by: mbertrand on May 01, 2017, 02:53:13 PM
I put in .xsession

/usr/local/bin/Xvesa -br -screen 1024x768x24 -dpi 96 -shadow -mouse /dev/input/mice,5 -nolisten tcp -nozap

and it does not start. Typing startx does nothing and no ouput. If i remove -nozap then it starts.
I'm running TC 5.4
Title: Re: CTRL-ALT-DEL and CTRL-ALT-BACSPACE is closing xvesa
Post by: curaga on May 02, 2017, 03:49:46 AM
Could be that old Xvesa does not support nozap? Is it listed in -help?
Title: Re: CTRL-ALT-DEL and CTRL-ALT-BACSPACE is closing xvesa
Post by: mbertrand on May 02, 2017, 09:06:43 AM
No it is not listed but why would we be using old Xvesa. It as never been updated. I see it is dated 2011.
Title: Re: CTRL-ALT-DEL and CTRL-ALT-BACSPACE is closing xvesa
Post by: gerald_clark on May 02, 2017, 09:43:06 AM
V5.4 is very old and unsupported.  We are on V8.0 now.
Title: Re: CTRL-ALT-DEL and CTRL-ALT-BACSPACE is closing xvesa
Post by: mbertrand on May 02, 2017, 10:21:51 AM
Ok I haven't realized we where that old! But we can't update without big changes. So I guess there is no other way? xmodmap?
Title: Re: CTRL-ALT-DEL and CTRL-ALT-BACSPACE is closing xvesa
Post by: Rich on May 02, 2017, 10:50:10 AM
Hi mbertrand
It seems that from versions 4 through 8 the Tinycore repositories all have 2 versions of Xvesa available, except for TC5
which is the version you are running. One is the original Xvesa which was part of Tinycore base and the other is an updated
version. I would try grabbing one of the newer versions from one of the other repositories and renaming it to avoid any
conflicts. It has no dependencies. Just get the  .tcz  and  .tcz.md5.txt  files and rename them to  Xvesa-New, then place
them in your tce/optional directory. Change the  Xvesa  in your  onboot.lst  file to  Xvesa-New. Reboot and the new version
should be running.
Title: Re: CTRL-ALT-DEL and CTRL-ALT-BACSPACE is closing xvesa
Post by: mbertrand on May 02, 2017, 11:26:36 AM
Ok thanks for the info.  Much appreciated. I will try and share my feedback.
Title: Re: CTRL-ALT-DEL and CTRL-ALT-BACSPACE is closing xvesa
Post by: mbertrand on May 02, 2017, 12:05:38 PM
I got xvesa from TC 6.0 and added -nozap and all works! thanks!
Title: Re: [SOLVED] CTRL-ALT-DEL and CTRL-ALT-BACSPACE is closing xvesa
Post by: Rich on May 02, 2017, 01:05:39 PM
Hi mbertrand
Thanks for the feedback, glad it worked out. Marking thread as solved.
Title: Re: [SOLVED] CTRL-ALT-DEL and CTRL-ALT-BACSPACE is closing xvesa
Post by: ipmeel on June 15, 2018, 10:33:49 AM
Where to add -nozap to tinycore-current.iso or core.gz?
Title: Re: [SOLVED] CTRL-ALT-DEL and CTRL-ALT-BACSPACE is closing xvesa
Post by: Rich on June 15, 2018, 01:46:48 PM
Hi ipmeel
Where to add -nozap to tinycore-current.iso or core.gz?
See reply #4.
Title: Re: [SOLVED] CTRL-ALT-DEL and CTRL-ALT-BACSPACE is closing xvesa
Post by: ipmeel on June 23, 2018, 01:57:00 AM
Thanks Rich :)
Worked perfectly.
Title: Re: [SOLVED] CTRL-ALT-DEL and CTRL-ALT-BACSPACE is closing xvesa
Post by: Rich on June 23, 2018, 09:56:55 AM
Hi ipmeel
You are welcome, glad to hear it worked.