From: Neta Hedberg <neta.hedberg () sigit ! se>
To: tru64-unix-managers
Subject: SUMMARY: UPDATE:How do I get Client Name?
Date: Wed, 02 Feb 2000 08:43:43 +0000 [thread overview]
Message-ID: <96079336919171.tru64-unix-managers.marc@archive.invalid> (raw)
Dear Managers,
I'm sorry for not posting my summary earlier, but things have been very
busy here the last couple of days.
I got a lot of responses and different solutions to my problem. Many of
which did not work for me.
However Chad Price and John Losey came up with the solution:
setenv DISPLAY `who -Mm |grep $USER |awk '{print $6}'|tr -d '[()]'`:0.0
This works just fine, Thank you very much :)
Many thanks also to the following people for their suggestions:
Bevan Broun
Per Boussard
Peter Mittermayer
Peter Stern
Gwen Pettigrew
Richard Westlake
Phil Vitale
Alex Gorbachev
Frank Wortner
Mary Freesmeyer
Robert R. Sloane
A. Mahendra Rajah
/Neta Hedberg
Hello again
I guess I didn't make myself clear enough when sending the question below.
I want to use the client name in the login script, i.e. I want to set the
DISPLAY variable in .cshrc and instead of writing:
setenv DISPLAY name:0
I want to write something like this:
setenv CLIENT `get client name`
setenv DISPLAY $CLIENT":0"
Do you know if this is possible? And how do I get the Client Address?
Thanks again and sorry for being unprecise.
Kind regards Neta Hedberg
Hello everyone
I'm not really sure if this is a Unix question or a Samba quetion.
We run DU4.0E on a Digital Alpha 2100. The clients run WinNT or Win95
and they logon to the server via Samba. In order to connect to the Unix
host we use a PC X server called "KEAX" on the clients.
My question is: How do I get the name of the client I am sitting on?
In other words: Which command will return the name of the computer I am
working on?
Thanks in advance
Kind regards Neta Hedberg
reply other threads:[~2000-02-02 8:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox