Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 18 Nov 2019, 05:54
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
(Solved)Can't exit to prompt and restart X from menu
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [19 Posts]   Goto page: 1, 2 Next
Author Message
nupogodi


Joined: 01 Feb 2014
Posts: 63
Location: Koropi Greece

PostPosted: Fri 09 May 2014, 06:24    Post subject:  (Solved)Can't exit to prompt and restart X from menu
Subject description: After installing and uninstalling E17 enlighentment
 

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:
<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:
<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, 17:28; edited 2 times in total
Back to top
View user's profile Send private message 
Semme


Joined: 07 Aug 2011
Posts: 8021
Location: World_Hub

PostPosted: Fri 09 May 2014, 06:30    Post subject:  

The exec line's are missing the *wm* bits..
Last edited by Semme on Fri 09 May 2014, 06:37; edited 1 time in total
Back to top
View user's profile Send private message 
nupogodi


Joined: 01 Feb 2014
Posts: 63
Location: Koropi Greece

PostPosted: Fri 09 May 2014, 06:35    Post subject:  

Thanks for the instant replie this is exactlly what I did.
Back to top
View user's profile Send private message 
Semme


Joined: 07 Aug 2011
Posts: 8021
Location: World_Hub

PostPosted: Fri 09 May 2014, 06:38    Post subject:  

Ctrl+alt+backspace.. Then >> exit to prompt. She work?
Back to top
View user's profile Send private message 
nupogodi


Joined: 01 Feb 2014
Posts: 63
Location: Koropi Greece

PostPosted: Fri 09 May 2014, 06:40    Post subject:  

Yes of course!
Back to top
View user's profile Send private message 
Semme


Joined: 07 Aug 2011
Posts: 8021
Location: World_Hub

PostPosted: Fri 09 May 2014, 06:41    Post subject:  

OK then.. Too easy. Wink
Back to top
View user's profile Send private message 
nupogodi


Joined: 01 Feb 2014
Posts: 63
Location: Koropi Greece

PostPosted: Fri 09 May 2014, 06:45    Post subject:  

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 Very Happy
Back to top
View user's profile Send private message 
nupogodi


Joined: 01 Feb 2014
Posts: 63
Location: Koropi Greece

PostPosted: Fri 09 May 2014, 06:46    Post subject:  

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?
Back to top
View user's profile Send private message 
Semme


Joined: 07 Aug 2011
Posts: 8021
Location: World_Hub

PostPosted: Fri 09 May 2014, 07:17    Post subject:  

Are you saying "wmexit" in a terminal doesn't work?
Back to top
View user's profile Send private message 
nupogodi


Joined: 01 Feb 2014
Posts: 63
Location: Koropi Greece

PostPosted: Fri 09 May 2014, 07:38    Post subject:  

Well I do that but from the first time I installed puppy when I typed in the console wmexit I get
Code:
[# wmexit
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]

And I don't know what to do.[/code]
Back to top
View user's profile Send private message 
Semme


Joined: 07 Aug 2011
Posts: 8021
Location: World_Hub

PostPosted: Fri 09 May 2014, 11:49    Post subject:  

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.
wmexit.gz
Description 
gz

 Download 
Filename  wmexit.gz 
Filesize  523 Bytes 
Downloaded  106 Time(s) 
Back to top
View user's profile Send private message 
nupogodi


Joined: 01 Feb 2014
Posts: 63
Location: Koropi Greece

PostPosted: Fri 09 May 2014, 15:11    Post subject:  

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



Code:
# wmexit
usr/bin/wmexit: Permission denied


I tried

Code:
su -l wmexit
su: unknown user wmexit


I also tied

Code:
# 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?
Back to top
View user's profile Send private message 
Semme


Joined: 07 Aug 2011
Posts: 8021
Location: World_Hub

PostPosted: Fri 09 May 2014, 17:14    Post subject:  

Lose the *su* mentality.. You're running as ROOT aboard Pup. Rt-clk that file >> perms >> and make it executable.
Back to top
View user's profile Send private message 
nupogodi


Joined: 01 Feb 2014
Posts: 63
Location: Koropi Greece

PostPosted: Fri 09 May 2014, 17:26    Post subject:  

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:
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, 17:47; edited 2 times in total
Back to top
View user's profile Send private message 
Semme


Joined: 07 Aug 2011
Posts: 8021
Location: World_Hub

PostPosted: Fri 09 May 2014, 17:33    Post subject:  

Yeah, with a little time invested, Pup starts to feel comfortable. The user's truly in the drivers seat..
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [19 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0485s ][ Queries: 12 (0.0051s) ][ GZIP on ]