On Sat, 1 Jan 2000, Gustav Schaffter wrote:
> I'd like to run X as myself on tty7 and run X as a different user in
> for instance tty8.
Run:
startx -- :1
where 1 can actually be any number other than whatever's already
running. :) The following function may suffice for you, if placed in your
.bashrc file.
x ()
{
case $(tty|head --bytes 8|tail --bytes 3) in
tty)
startx -- :$(tty|head --bytes 11|tail --bytes 2)
;;
pts)
echo "You can't run this from inside X Windows!"
;;
esac
}
--
Todd A. Jacobs
Network Systems Engineer
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.