You are not logged in.

#1 2013-04-16 05:50:24

WyoPBS
Member
From: Cheyenne, WY
Registered: 2007-10-05
Posts: 101
Website

[solved] multiple xterm users running apps on the same desktop

From time to time I like to open an xterm and su to a different login name... for example, so I can use a different firefox profile for different groups of website passwords.  With the system I've been running for the past year (last update May 2012), I was able to do that... open an xterm, su to a different user, start up firefox, all is well.

I just had a major overhaul and upgraded everything to bleeding-edge current.  Now when I try to run firefox from a different xterm login other than the user who launched xorg, I get:
Error: no display specified

I can't even do it when I su to root, so it's not a permissions thing.

There must be some xorg config option I had set on my old system that enables this, but I have no idea what it was.  Any clue as to what I need to change to make this work?

Last edited by WyoPBS (2013-04-16 15:43:03)


Peter B. Steiger
Cheyenne, WY

Offline

#2 2013-04-16 07:00:14

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: [solved] multiple xterm users running apps on the same desktop

Once you su to another user, doesn't exporting $DISPLAY make any difference?

export DISPLAY=:0

BTW, wouldn't it be way easier to do the same with multiple FF profiles?...


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#3 2013-04-16 15:42:45

WyoPBS
Member
From: Cheyenne, WY
Registered: 2007-10-05
Posts: 101
Website

Re: [solved] multiple xterm users running apps on the same desktop

I find it easier (or I did, before it stopped working) to have different logins than to have to constantly change profiles in FF; additionally, there are some apps that I specifically run as another user to keep data files separate.

In any case, the solution is to use xhost to add other users:
http://serverfault.com/questions/51005/ … r-on-linux

(nb: this is NOT a secure way to do it, but since I'm the only user on this box and it's in my private office that only my wife and daughter have access to, security is not a big concern)

Last edited by WyoPBS (2013-04-16 16:11:49)


Peter B. Steiger
Cheyenne, WY

Offline

Board footer

Powered by FluxBB