LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 10-04-2012, 11:53 AM   #1
alarazr
Member
 
Registered: Jul 2012
Location: UK
Distribution: Debian x64
Posts: 65

Rep: Reputation: Disabled
"Permission denied" when Openbox tries to execute autostart.sh in ~/.config/openbox


Hey guys. When I startx into Openbox from console, I'm left with just a black screen.

My custom menu, themes and everything still work, but none of my custom commands were loading. When I exited Openbox, I noticed "permission denied" when it had tried to execute autostart.sh in my home directory.

It's been like this since I removed GDM and installed Xfce4, then removed Xfce4 again after a couple of days.

Any help would be greatly appreciated.
 
Old 10-04-2012, 01:51 PM   #2
alarazr
Member
 
Registered: Jul 2012
Location: UK
Distribution: Debian x64
Posts: 65

Original Poster
Rep: Reputation: Disabled
Bumping with additional information. I think it might be my .xinitrc in ~/

Code:
#!/bin/sh
/home/alarazr/.config/openbox/autostart.sh
exec openbox
 
Old 10-04-2012, 02:12 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 14,880
Blog Entries: 2

Rep: Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805
Since this seems to be a permission problem let us have a look at that autostart-sript's permissions:
Code:
ls -l /home/alarazr/.config/openbox/autostart.sh
 
Old 10-04-2012, 03:44 PM   #4
alarazr
Member
 
Registered: Jul 2012
Location: UK
Distribution: Debian x64
Posts: 65

Original Poster
Rep: Reputation: Disabled
I've fixed it man =) My .xinitrc needed to be openbox-session, not openbox.
 
1 members found this post helpful.
Old 10-04-2012, 03:50 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 14,880
Blog Entries: 2

Rep: Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805
Thanks for posting back your solution. Please mark this thread as solved using the thread tools at the top of the thread.
 
  


Reply

Tags
autostart, debian, openbox, startx


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to fix "sudo: unable to execute /bin/ls: Permission denied"? nagendrar Linux - Newbie 12 09-14-2012 06:55 AM
Openbox autostart.sh and setting alias on openbox start Jelloir Linux - Desktop 1 07-03-2011 03:56 AM
Failed to execute child process "ooffice" (Permission denied) Mol_Bolom Linux - Software 2 03-11-2009 04:23 PM
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
Installed Openbox but I don't have "obconf" Riddick Linux - Software 2 05-15-2006 02:21 PM


All times are GMT -5. The time now is 07:34 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration