LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 08-10-2012, 12:22 PM   #1
grail
Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 7,692

Rep: Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987
Fedora 17 running Openbox & Slim weirdness


So I have been using F17 for a little while now due to it using systemd which I am really enjoying the speed and flexibility.

SO ... to keep along the lines of speedy and flexible I have opted to use Slim instead of gdm and Openbox instead of Gnome.

Here are my 2 issues or quirks which I have yet to be able to solve:

1. Slim will always default to Gnome and I must press F1 prior to hitting enter on my password so i can log into Openbox instead? (suggestions?)

Those of you who have attempted this have probably come across the issues of:

a. /etc/slim.conf is updated every time the machine restarts and hence gnome is added as first desktop option

b. The default entry for openbox is /usr/bin/openbox however it is actually installed in /bin/openbox

2. After logging in to Openbox, whenever I issue the following command I seem to get more results than I anticipate:
Code:
$ pgrep -lf autostart
916 /usr/bin/openbox --startup /usr/libexec/openbox-autostart OPENBOX
1072 sh /home/grail/.config/openbox/autostart
1073 sh /home/grail/.config/openbox/autostart
1074 sh /home/grail/.config/openbox/autostart
1076 sh /home/grail/.config/openbox/autostart
Now I have checked against a vm of crunchbang and the first 2 entries seem to be standard, but I cannot for the life of me find out where or why the other 3 calls to my local autostart are being created???

So if anyone has any ideas I would be grateful for a little push in the correct direction
 
Old 08-17-2012, 12:13 AM   #2
abrinister
Member
 
Registered: Dec 2010
Location: /home
Distribution: RL: Arch x64 VM: Debian
Posts: 460

Rep: Reputation: 38
For your first problem, if you create a ~/.xinitrc and put the following in it, it should work. Tested on Arch.

Code:
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

exec openbox-session
Alex Brinister
 
Old 08-17-2012, 12:38 AM   #3
grail
Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 7,692

Original Poster
Rep: Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987
Thanks for the reply Interesting you mentioned Arch as I too have recently placed it in a vm and am growing in favour of it. The turning point for me was how easily it transitioned to systemd,
which is currently the only reason for trying Fedora.
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slim&fast distribution for beginners meluvulongtime Linux - Distributions 4 05-20-2012 01:03 PM
[SOLVED] Help setting up Slackware with openbox, slim etc cra1g321 Slackware 15 03-30-2012 03:17 AM
[SOLVED] Running a bash or shell script before slim linuxpicaxe Linux - Software 2 06-08-2011 06:31 PM
slim login problem - anyone succeed in configuring slim? rkrishna Slackware 20 02-18-2008 07:50 AM
SLiM & WDM problem soupnazi.tar.gz Slackware 1 07-07-2006 06:28 AM


All times are GMT -5. The time now is 11:43 PM.

Main Menu
Advertisement
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