(Solved)Can't exit to prompt and restart X from menu

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
nupogodi
Posts: 63
Joined: Sat 01 Feb 2014, 15:06
Location: Koropi Greece

(Solved)Can't exit to prompt and restart X from menu

#1 Post by nupogodi »

Hi everybody! I am using puppy slacko 5.6 full instalation and I wanted to change my GUI to enlightenment so I searched the forum and I found a thread that included a .pet file with everything needed to set the enlightenment.GUI.What I did was to download and install this pet.Unfortunatelly there were missing libraries and the enlighttenment wouldn't start and my GUI remained the same known JWM of puppy.I am a linux newbie and I didn't know what to do to install the missing libraries so I decided to uninstall the enlightenment via the Package mananger.
From the first time I installed that software and when I unistalled it I had the following problems:I could n't power off,reboot,restart X and exit to prompt from the menu.
I managed to fix the two first problems by opening as text and editing lines 256 to 259 of /root/jwrmc hidden file as following

From

Code: Select all

<Program label="Exit to prompt" icon="prompt16.xpm">exec wmexit</Program>
<Program label="Reboot computer" icon="mini-turn.xpm">exec wmreboot</Program>
<Program label="Power-off computer" icon="mini-stop.xpm">exec wmpoweroff</Program>
<Program label="Restart X server" icon="mini-x.xpm">restartwm</Program>
<Restart label="Restart JWM" icon="mini-windows.xpm"/>
To

Code: Select all

<Program label="Exit to prompt" icon="prompt16.xpm">exec exit</Program>
<Program label="Reboot computer" icon="mini-turn.xpm">exec reboot</Program>
<Program label="Power-off computer" icon="mini-stop.xpm">exec poweroff</Program>
<Program label="Restart X server" icon="mini-x.xpm">restart</Program>
<Restart label="Restart JWM" icon="mini-windows.xpm"/>
This managed to fix Power off and reboot problems but not the restart X and exit to prompt.

So what might go wrong?
PS sorry for my too long post and thank you in advance for wichever help
Last edited by nupogodi on Fri 09 May 2014, 21:28, edited 2 times in total.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#2 Post by Semme »

The exec line's are missing the *wm* bits..
Last edited by Semme on Fri 09 May 2014, 10:37, edited 1 time in total.

User avatar
nupogodi
Posts: 63
Joined: Sat 01 Feb 2014, 15:06
Location: Koropi Greece

#3 Post by nupogodi »

Thanks for the instant replie this is exactlly what I did.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#4 Post by Semme »

Ctrl+alt+backspace.. Then >> exit to prompt. She work?

User avatar
nupogodi
Posts: 63
Joined: Sat 01 Feb 2014, 15:06
Location: Koropi Greece

#5 Post by nupogodi »

Yes of course!

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#6 Post by Semme »

OK then.. Too easy. :wink:

User avatar
nupogodi
Posts: 63
Joined: Sat 01 Feb 2014, 15:06
Location: Koropi Greece

#7 Post by nupogodi »

Semme wrote:The exec line's are missing the *wm* bits..
No by deleting those wm bits my reboot and power off problems fixed but not restart X and exit to prompt.Probaply you misunderstood :D

User avatar
nupogodi
Posts: 63
Joined: Sat 01 Feb 2014, 15:06
Location: Koropi Greece

#8 Post by nupogodi »

Semme wrote:OK then.. Too easy. :wink:
Thank you but how can I manually restart X?

Oh! and another question will upgrading to next version of puppy solve my problem?

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#9 Post by Semme »

Are you saying "wmexit" in a terminal doesn't work?

User avatar
nupogodi
Posts: 63
Joined: Sat 01 Feb 2014, 15:06
Location: Koropi Greece

#10 Post by nupogodi »

Well I do that but from the first time I installed puppy when I typed in the console wmexit I get

Code: Select all

[# wmexit
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
And I don't know what to do.[/code]

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#11 Post by Semme »

NOT a fan of full installs nor Slacko.

Works fine (wmexit) from a live boot aboard the same.

Aside from running a file system check, or, fsck.. swap my file in place of /usr/bin/wmexit.
Attachments
wmexit.gz
(523 Bytes) Downloaded 131 times

User avatar
nupogodi
Posts: 63
Joined: Sat 01 Feb 2014, 15:06
Location: Koropi Greece

#12 Post by nupogodi »

HI I did what you told me but no avail
I tried on the console wmexit and got the following


Code: Select all

# wmexit
usr/bin/wmexit: Permission denied
I tried

Code: Select all

su -l wmexit
su: unknown user wmexit
I also tied

Code: Select all

# su -s  /usr/bin/wmexit
su: can't execute '/usr/bin/wmexit': Permission denied
So as you can see nothing happens.What can I do?

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#13 Post by Semme »

Lose the *su* mentality.. You're running as ROOT aboard Pup. Rt-clk that file >> perms >> and make it executable.

User avatar
nupogodi
Posts: 63
Joined: Sat 01 Feb 2014, 15:06
Location: Koropi Greece

#14 Post by nupogodi »

HI everybody I have really good news to announce.My problem is fully solved!
Lets see from the begining what I did.Since nothing worked with the file that the good friend Semme kindly provided to me I decided to restore my original wmexit file.So I loaded my puppy live cd and restored it.After that I booted normally..Then I decided to open as text my wmexit file to see if I could fine anything that helps and line 30 caught my attention

Code: Select all

CURRENTWM="`cat /etc/windowmanager
.

I told my self lets take a look at this file the word windowmanager caught my attention because previously I was trying to install another window mananger(enlightenment) and I thought that seeing this file something might have changed after the attempt to install enlightenment.So I opened this file and I saw this:"start_enlightenment".

I told my self thats it!Enlightenment is not my winfdow manager so I changed to this:jwm I rebooted but yet nothing happened.After a some thinking and a some efforts I found out that changing lines 256-259 of /root/jwrmc hidden file to the way it was before(see my open post).I rebooted and voila!I had the ability to do what I wanted on my post from the menu.My system now is fresh!All I had to do from the very begining I unistalled the enlightenment application was to edit /etc/windowmanager textfile from start_enlightenment to jwm.I thank everybody that helped me.Cheers!
Last edited by nupogodi on Fri 09 May 2014, 21:47, edited 2 times in total.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#15 Post by Semme »

Yeah, with a little time invested, Pup starts to feel comfortable. The user's truly in the drivers seat..

User avatar
nupogodi
Posts: 63
Joined: Sat 01 Feb 2014, 15:06
Location: Koropi Greece

#16 Post by nupogodi »

Semme wrote:Yeah, with a little time invested, Pup starts to feel comfortable. The user's truly in the drivers seat..
Thank you so much for your efforts to help me I am so greatful to you.
Last edited by nupogodi on Sat 10 May 2014, 04:12, edited 2 times in total.

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#17 Post by rockedge »

was to edit /etc/windowmanager textfile from start_enlightenment to jwm.
This helped me look into and fix a very similar problem in UPUP Raring 3.9.9.2. I modified the /etc/windowmanager file and bam! it worked again using the menu restart / power down options.

User avatar
nupogodi
Posts: 63
Joined: Sat 01 Feb 2014, 15:06
Location: Koropi Greece

#18 Post by nupogodi »

rockedge wrote:
was to edit /etc/windowmanager textfile from start_enlightenment to jwm.
This helped me look into and fix a very similar problem in UPUP Raring 3.9.9.2. I modified the /etc/windowmanager file and bam! it worked again using the menu restart / power down options.
Can you tell us if you don't mind what did you do and messed up your power off/restart options from menu?

User avatar
nupogodi
Posts: 63
Joined: Sat 01 Feb 2014, 15:06
Location: Koropi Greece

#19 Post by nupogodi »

Sorry double post

Post Reply