Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2007 13:55:55 +0100
From:      michael.grunewald@laposte.net (=?iso-8859-15?Q?Micha=EBl_Gr=FCnewald?=)
To:        "Aryeh M. Friedman" <aryeh.friedman@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: looking for suggestions: multiple users on the same desktop
Message-ID:  <86k5nzgaec.fsf@Llea.celt.neu>
In-Reply-To: <474FD863.2060004@gmail.com> (Aryeh M. Friedman's message of "Fri\, 30 Nov 2007 04\:31\:15 -0500")
References:  <474FD863.2060004@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Aryeh M. Friedman" <aryeh.friedman@gmail.com> writes:

> I have several "sub" accounts (for specialized purposes not really a
> part of an other account) which I do my work basically I have:
>
> aryeh -- my personal account
> web -- maintain my web site
> dev -- development/testing of software
> dep -- seperation of development and production code
>
> I almost always login into aryeh (xfce via xdm).   Both web and dev
> require the use of variuous X applications but I don't want to logout
> and login back in and/or have to invoke the app from the cmd line
> (i.e. xhost +; setenv DISPLAY :0; app cmd line)... I am looking for a
> way to make it so I can launch apps from a desktop panel and/or icon
> on the desktop and make it ask what user to run it under (or somehow
> or another make it aware that not everything is to be ruin as
> "aryeh")... ideas?

An easy approach is to use Xnest to open a nested X session as user
dev or whatever. You can find examples in ``OnLamp'' columns, if I
remember well.

Another way is to wrap is to use SSH's X connexion transfert, you can
wrap your applications in scripts like this:
  `ssh -X dev@localhost $PROGRAM'

A more complex approach is to design a way to `pass' DISPLAY
information and XAUTH(1) information to your alternative accounts.
You have to do it yourself (I guess) and still must wrap application
into suitable scripts.

Hope this helps.
--=20
Cheers,
Micha=EBl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86k5nzgaec.fsf>