LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-15-2005, 03:32 PM   #1
flower.Hercules
Member
 
Registered: Aug 2005
Distribution: Gentoo
Posts: 228

Rep: Reputation: 31
Starting Xterm in X through GDM


I'm running GDM and having OpenBox start up as my window manager, the problem I'm running in to is I can't figure out how to automatically start programs along with OpenBox.

I've found plenty of resources through Google that point towards ~/.xsession, but I've had absolutely no luck with it. Right now, I'm looking into /etc/X11/xinit/ and I've tried, as described in another thread, starting with /etc/X11/xinit/xinitrc, /etc/X11/xinit/xinitrc.openbox, /etc/X11/xinit/xinitrc.d/xinitrc (this is what the .../gdm/Xsession file looks at to execute scripts). I'm just having no luck starting anything.

I put ` exec xterm ` in the /etc/X11/gdm/Init/Default file, which started xterm in GDM but that doesn't much help me. I've tried and Googled for a couple hours now and I'm just not finding anything that is working out, any help would be greatly appreciated.

I'm running Gentoo, OpenBox, GDM (version 2.6.0.4-r1) and just want to start programs up along with OpenBox, thanks in advanced!
 
Old 10-15-2005, 03:37 PM   #2
flower.Hercules
Member
 
Registered: Aug 2005
Distribution: Gentoo
Posts: 228

Original Poster
Rep: Reputation: 31
Code:
if [ -d /etc/X11/xinit/xinitrc.d ]; then
    for i in /etc/X11/xinit/xinitrc.d/* ; do
        if [ -x "$i" ]; then
	    . "$i"
        fi
    done
fi
is in the /etc/X11/gdm/Xsession file, and I just happened to notice the -x permission check, I gave the login user permissions to the file and it worked out nicely. Hope this can be of some use to others, it had me running in circles for a long while.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting up KDM instead of GDM? vbraun Fedora 9 01-19-2007 12:14 PM
Problems starting GDM REHead Debian 7 09-04-2005 12:35 PM
Starting gdm instead of shell login calcon Slackware 1 04-10-2005 11:17 AM
typing gdm, starting kde javb Linux - Newbie 2 03-10-2005 11:55 AM
gdm fails to finish starting, why? mark_umr Linux - General 1 12-20-2002 12:43 AM


All times are GMT -5. The time now is 05:00 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