LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-19-2007, 03:53 PM   #1
dguy
Member
 
Registered: Dec 2001
Location: Beckwith Township, Ontario, Canada
Distribution: Slackware 14.0, Slackware-64 14.1
Posts: 119

Rep: Reputation: 16
Fluxbox changes behavior depending upon how X is started


Let me see if I can type this out in a way which makes sense...

Ever since upgrading from Slack 11 to 12, X & Fluxbox have formed a strange relationship.

If the system's default runlevel is set to 4, users are not able to launch any apps which are configured in Fluxbox's menu with the [exec] keyword. All internal/built-in Fluxbox commands perform as expected; it's only those which are spawned from within a shell which fail.

However...
Set the system's runlevel to 3, log in as a user, and issue the startx command. Up comes the X session, and any command contained within Fluxbox's menu may be launched.

...

There are two significant differences between each scenario. Firstly, X is launched via xdm instead of xinit.

Secondly, for each scenario there is a difference in the location of an "authfile". In the first scenario, the authfile is created in /usr/lib/X11/xdm/authdir/authfiles .In the second, the authfile is created in the user's home directory.

I'm relatively innocent when it comes to X. If anyone can give me a push down the correct path I'd appreciate it!
 
Old 12-19-2007, 09:48 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
My guess is that the two different methods of starting x create different configurations for the shell. You might even be running two different shells. You can check by issuing the following commands both in level 3 and level 4:

echo $SHELL

echo $PATH

printenv

--------------------------
Steve Stites
 
Old 12-21-2007, 09:46 AM   #3
dguy
Member
 
Registered: Dec 2001
Location: Beckwith Township, Ontario, Canada
Distribution: Slackware 14.0, Slackware-64 14.1
Posts: 119

Original Poster
Rep: Reputation: 16
Right on the money, jailbait. Thanks.

$SHELL is null for users when up under runlevel 4.
 
  


Reply



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
gvim PATH incorrect when started from a keyboard shortcut in fluxbox magesing Linux - Software 0 07-15-2006 12:06 PM
getting started with fluxbox / no icons & right click menus Cinematography Linux - Software 2 01-10-2006 08:31 AM
make sure you started X before you start Fluxbox?! FiveFlat Debian 3 05-23-2005 10:28 AM
Getting Started With Fluxbox fortezza Linux - Software 10 04-11-2005 08:51 PM
Fluxbox Window Behavior cclavey Linux - Software 5 12-22-2003 08:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:28 AM.

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
Open Source Consulting | Domain Registration