Hey guys..
Test laptop. login as root, start FF from the menu no prob.
Start a term as user foo. Try to start FF from the term, and get gconf errors.
I then create a "profile" thinking that would solve part of the issue(s).
I can then do firefox -p -no-remote
(using the created/default profile for user foo)
This gets a FF with an error dialog
---- Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit.... ----
net search brings up a bunch of different things..
I really don't want to screw something up, so...
Any pointers/thoughts on what the err from the dialog is telling me, and how I can resolve it to allow a reg "foo" user to bring up a FF session.
The FF session is ultimately going to be used to run the py/sel tests from the cmdline..
thanks!!
On 10/18/2016 12:57 PM, bruce wrote:
Test laptop. login as root, start FF from the menu no prob.
Start a term as user foo. Try to start FF from the term, and get gconf errors.
How are you starting the terminal? It sounds like you are root, but trying to run a terminal using a different user. You have to be very careful as some environment variables and such get carried over and can cause issues with the new user session.
Hi Samuel.
Yes. My bad, The child term, is started by firing up the term as root, and then doing a su into the foo user. At which point, the test then does a firefox -p
On Tue, Oct 18, 2016 at 4:31 PM, Samuel Sieb samuel@sieb.net wrote:
On 10/18/2016 12:57 PM, bruce wrote:
Test laptop. login as root, start FF from the menu no prob.
Start a term as user foo. Try to start FF from the term, and get gconf errors.
How are you starting the terminal? It sounds like you are root, but trying to run a terminal using a different user. You have to be very careful as some environment variables and such get carried over and can cause issues with the new user session. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org
On 10/18/2016 03:11 PM, bruce wrote:
Hi Samuel.
Yes. My bad, The child term, is started by firing up the term as root, and then doing a su into the foo user. At which point, the test then does a firefox -p
Make sure you do one of the following commands to do the su:
su - foo --OR-- su -l foo --OR-- su --login foo
The "-", "-l" or "--login" parameter makes su change the spawned shell into a login shell:
o clears all the environment variables except TERM o initializes the environment variables HOME, SHELL, USER, LOGNAME, and PATH o changes to the target user's home directory o sets argv[0] of the shell to '-' in order to make the shell a login shell
On Tue, Oct 18, 2016 at 4:31 PM, Samuel Sieb samuel@sieb.net wrote:
On 10/18/2016 12:57 PM, bruce wrote:
Test laptop. login as root, start FF from the menu no prob.
Start a term as user foo. Try to start FF from the term, and get gconf errors.
How are you starting the terminal? It sounds like you are root, but trying to run a terminal using a different user. You have to be very careful as some environment variables and such get carried over and can cause issues with the new user session.
---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - - - - Artificial Intelligence usually beats real stupidity. - ----------------------------------------------------------------------
On 10/18/2016 03:11 PM, bruce wrote:
Yes. My bad, The child term, is started by firing up the term as root, and then doing a su into the foo user. At which point, the test then does a firefox -p
Just "su user" or "su - user"? Although either way I think you're going to run into issues because the X session is for the root user and applications access various information and resources through that. This will likely result in permission errors and other complications.
hey guys...
Ok. logged out as user foo.. which got back to "root"
did a su - foo..
which got back to the term as the "foo" user..
was then able to do "firefox" from the cmd line. which fired up firefox.
O.. making a bit o' progress..
The tests ran as expected.. ...
Now, here's my next issue.:::
I do a ssh using keys into a remote term as user foo.
What needs to be done in the ssh, or on the remote box to be able to "login/access" the remote box as the foo user in order to run firefox there?
Thanks much guys..
On Tue, Oct 18, 2016 at 6:26 PM, Rick Stevens ricks@alldigital.com wrote:
On 10/18/2016 03:11 PM, bruce wrote:
Hi Samuel.
Yes. My bad, The child term, is started by firing up the term as root, and then doing a su into the foo user. At which point, the test then does a firefox -p
Make sure you do one of the following commands to do the su:
su - foo --OR-- su -l foo --OR-- su --login fooThe "-", "-l" or "--login" parameter makes su change the spawned shell into a login shell:
o clears all the environment variables except TERM o initializes the environment variables HOME, SHELL, USER, LOGNAME, and PATH o changes to the target user's home directory o sets argv[0] of the shell to '-' in order to make the shell a login shellOn Tue, Oct 18, 2016 at 4:31 PM, Samuel Sieb samuel@sieb.net wrote:
On 10/18/2016 12:57 PM, bruce wrote:
Test laptop. login as root, start FF from the menu no prob.
Start a term as user foo. Try to start FF from the term, and get gconf errors.
How are you starting the terminal? It sounds like you are root, but trying to run a terminal using a different user. You have to be very careful as some environment variables and such get carried over and can cause issues with the new user session.
- Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com -
- AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 -
-Artificial Intelligence usually beats real stupidity. -
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org