Re: looking for suggestions: multiple users on the same desktop
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 RW wrote: >>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") Even though not very flexible or elegant (in the long run) what I ended up doing was just sticking a backgrounded gnome-panel into the .cshrc for each acct - -- Aryeh M. Friedman FloSoft Systems Developer, not business, friendly http://www.flosoft-systems.com -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHUUQB358R5LPuPvsRAjDzAKCjg+kh4WXmIS6A+TQiw1wYOQbwDgCbBSYd 3v5Q+O+7CPH2+aPnG7qh/qk= =hCFf -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: looking for suggestions: multiple users on the same desktop
Aryeh M. Friedman schrieb: 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? - -- Aryeh M. Friedman Not very sophisticated, but an idea. Associate commands as follows assigned to an icons. xterm -e userwrapper.sh An userwrapper.sh is like this: #!/bin/sh echo "Enter username for $1" read USERNAME ssh -l $USERNAME $1 Rg, Tino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: looking for suggestions: multiple users on the same desktop
--On November 30, 2007 4:31:15 AM -0500 "Aryeh M. Friedman" <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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? Make the commandline for executing the app (in the properties of the icon) "su - web /usr/local/bin/app"? I would think, when you launch it, you'd be prompted for the password and then the app would run. At least I've used that technique with sudo to run gui apps as root. Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: looking for suggestions: multiple users on the same desktop
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 RW wrote: > On Fri, 30 Nov 2007 11:21:46 -0500 "Aryeh M. Friedman" > <[EMAIL PROTECTED]> wrote: > >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> > >>> What I've done in the past is create extra categories in the >>> KDE menu with the names of the other users, and then copy >>> selected applications under there, and change their "Run as a >>> different user" settings. >> Except I don't run kde and don't plan to (way too top heavy) > > AFAIK none of the features I mentioned are unique to KDE Just looked through the options for xfce and see no mention of running as a diff user - -- Aryeh M. Friedman FloSoft Systems Developer, not business, friendly http://www.flosoft-systems.com -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHUEH+358R5LPuPvsRAvv+AJ9lg2CXtwdAHiFL8SHZtE+mNgMzagCg1OOH ldcLqoGTJnnKwGsL5B+b59Q= =vq0y -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: looking for suggestions: multiple users on the same desktop
On Fri, 30 Nov 2007 11:21:46 -0500 "Aryeh M. Friedman" <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > What I've done in the past is create extra categories in the KDE > > menu with the names of the other users, and then copy selected > > applications under there, and change their "Run as a different > > user" settings. > > Except I don't run kde and don't plan to (way too top heavy) AFAIK none of the features I mentioned are unique to KDE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: looking for suggestions: multiple users on the same desktop
Aryeh M. Friedman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 RW wrote: On Fri, 30 Nov 2007 04:31:15 -0500 "Aryeh M. Friedman" <[EMAIL PROTECTED]> wrote: 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") What about adding the magical incantation to a menu item? You'd type it once, and then it'd be clicky-clicky after that. Dunno if it'd work, but I use this under XFCE to set up remote connections via ssh, ('Eterm -foo -bar -e ssh somehost'), rdesktop ('rdesktop somehost') and running Yet Another OS's terminal app via Wine, which is way too long a string to remember and type here. KDK -- Facts, apart from their relationships, are like labels on empty bottles. -- Sven Italla ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: looking for suggestions: multiple users on the same desktop
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 RW wrote: > On Fri, 30 Nov 2007 04:31:15 -0500 "Aryeh M. Friedman" > <[EMAIL PROTECTED]> wrote: > >> 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") > > What I've done in the past is create extra categories in the KDE > menu with the names of the other users, and then copy selected > applications under there, and change their "Run as a different > user" settings. Except I don't run kde and don't plan to (way too top heavy) - -- Aryeh M. Friedman FloSoft Systems Developer, not business, friendly http://www.flosoft-systems.com -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHUDia358R5LPuPvsRAjjZAJ9BCYivi8DyreomWMIrvWbWvYPNFQCg4uAH wjXGyE5yknVzfW6WAiPjX3I= =yhoN -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: looking for suggestions: multiple users on the same desktop
On Fri, 30 Nov 2007 04:31:15 -0500 "Aryeh M. Friedman" <[EMAIL PROTECTED]> wrote: >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") What I've done in the past is create extra categories in the KDE menu with the names of the other users, and then copy selected applications under there, and change their "Run as a different user" settings. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: looking for suggestions: multiple users on the same desktop
"Aryeh M. Friedman" <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] $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. -- Cheers, Michaël ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
looking for suggestions: multiple users on the same desktop
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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? - -- Aryeh M. Friedman FloSoft Systems Developer, not business, friendly http://www.flosoft-systems.com -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHT9hi358R5LPuPvsRAuuLAJ9SL/+omlsvtgT4vI0WP6b6+uJHnwCeOgKu RxFwBBsyW+KS8QJ0Sn6JuVI= =Gx9J -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"