Sponsored Content
Full Discussion: login using xwindows
Special Forums IP Networking login using xwindows Post 35891 by ajnabi on Monday 12th of May 2003 01:53:52 PM
Old 05-12-2003
login using xwindows

Is there a way to find out who is logged in to the system using Xwindows ( hummingbird)..
I tried using
finger
and last
it doesn't show the person logged in ..
but when i run ps -ef | grep "ip address' it show various process running on the system..
Moreover is there a way to log off the person from the server.
I am trying to control the person logging in on the server and only trusted users can log in with their user id and password.
As of now system has only common userid and password.

Thanks in advance
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Xwindows/ Xdaemon? help

I have Oracle 8i, running Slackware...I have "X-win32" on my Win2k box, but when I installed Slackware I didn't install the GUI's... Isn't there a xdaemon or something of the sort that I must install first ? So when my Win2K box queries the UNIX box it picks up and says "Hi, gimme GUI" heh.. Any... (4 Replies)
Discussion started by: ComTec
4 Replies

2. UNIX for Dummies Questions & Answers

ridiculous resolution in Xwindows

Happy Holidays everybody. I successfully installed linux 7.1 on my desktop. At first I couldn't get Xwindow to start. Kept getting error message: "depth 16 not supported". So I reinstalled and made it 8 bit color depth with 1024 x 786 resolution, and Xwindow started this time around but everything... (3 Replies)
Discussion started by: tmanpakdee
3 Replies

3. UNIX for Dummies Questions & Answers

XWindows Question

I have a pretty basic XWindows question. I'm using Linux and the BASH shell. I want to connect to a machine that is running a Java IDE (we currently have I think "SlickEdit" but we're probably going to download Netbeans, Eclipse) and view the IDE on the client machine. I tried "xhost +" on the... (5 Replies)
Discussion started by: doublek321
5 Replies

4. Linux

XWindows

I have written some Xwindows files would like to know how to compile them tried this command gcc -o main main.o -lXt -lX11 gives errors like could not find Xt & X11 help please (5 Replies)
Discussion started by: wojtyla
5 Replies

5. AIX

Xwindows on a HMC

I have a HMC version 5.2, The HMC controls 4 lpars. I would like to install the powerchute on the HMC and have it be the master control to shutdown each of the lpars and the VIO server in order so no harm is done to the VIO server. AIX version 5.3 64bit My problem is i have to install... (5 Replies)
Discussion started by: pagink
5 Replies

6. Linux

Xwindows

i m working on a project of making linux boot and run from a pendrive. I have got a minimal root filesystem with busybox. I wish to install X Server now. I downloaded the source tar balls, untarred them on the host system, used the default host.def issued commands $make WORLDOPTS=-k World >&... (0 Replies)
Discussion started by: amu
0 Replies

7. UNIX Desktop Questions & Answers

Xwindows

i m working on a project of making linux boot and run from a pendrive. I have got a minimal root filesystem with busybox. I wish to install X Server now. I downloaded the source tar balls, untarred them on the host system, used the default host.def issued commands $make WORLDOPTS=-k World >&... (0 Replies)
Discussion started by: amu
0 Replies

8. UNIX for Dummies Questions & Answers

Xwindows not working

Hi I am trying to run a program on a solaris bx that requires an xwindow. I have exceed running and X11 forwarding enabled in putty I sent my display but the output is can't open display. To connect to the server I ssh to a jump host and ssh to the server and then su to root. Could this have... (4 Replies)
Discussion started by: naddy
4 Replies

9. UNIX for Dummies Questions & Answers

Xwindows in unix

the question i have is why Xwindows(GUI) is not part of kernel level but part of user level in unix while in windows the GUI (Windows manager) it is part of kernel level. For one thing is when GUI hangs it does not crash the whole system as in Windows But windows avoids context... (0 Replies)
Discussion started by: sandesh.syr
0 Replies

10. Solaris

XWindows from Solaris 8

Hi everyone, I have an xwindow problem I could use a hand with. I have a solaris 8 installation (a container actually, within solaris 10). I seem to not be able to open any xwindows over ssh. It comes about when trying to install oracle. When ssh'd to the solaris 8, Oracle's runInstaller... (3 Replies)
Discussion started by: goodvikings
3 Replies
LAST,LASTB(1)						Linux System Administrator's Manual					     LAST,LASTB(1)

NAME
last, lastb - show listing of last logged in users SYNOPSIS
last [-R] [-num] [ -n num ] [-adiox] [ -f file ] [ -t YYYYMMDDHHMMSS ] [name...] [tty...] lastb [-R] [-num] [ -n num ] [ -f file ] [ -t YYYYMMDDHHMMSS ] [-adiox] [name...] [tty...] DESCRIPTION
Last searches back through the file /var/log/wtmp (or the file designated by the -f flag) and displays a list of all users logged in (and out) since that file was created. Names of users and tty's can be given, in which case last will show only those entries matching the arguments. Names of ttys can be abbreviated, thus last 0 is the same as last tty0. When last catches a SIGINT signal (generated by the interrupt key, usually control-C) or a SIGQUIT signal (generated by the quit key, usu- ally control-), last will show how far it has searched through the file; in the case of the SIGINT signal last will then terminate. The pseudo user reboot logs in each time the system is rebooted. Thus last reboot will show a log of all reboots since the log file was created. Lastb is the same as last, except that by default it shows a log of the file /var/log/btmp, which contains all the bad login attempts. OPTIONS
-num This is a count telling last how many lines to show. -n num The same. -t YYYYMMDDHHMMSS Display the state of logins as of the specified time. This is useful, e.g., to determine easily who was logged in at a particular time -- specify that time with -t and look for "still logged in". -R Suppresses the display of the hostname field. -a Display the hostname in the last column. Useful in combination with the next flag. -d For non-local logins, Linux stores not only the host name of the remote host but its IP number as well. This option translates the IP number back into a hostname. -i This option is like -d in that it displays the IP number of the remote host, but it displays the IP number in numbers-and-dots nota- tion. -o Read an old-type wtmp file (written by linux-libc5 applications). -x Display the system shutdown entries and run level changes. NOTES
The files wtmp and btmp might not be found. The system only logs information in these files if they are present. This is a local configura- tion issue. If you want the files to be used, they can be created with a simple touch(1) command (for example, touch /var/log/wtmp). FILES
/var/log/wtmp /var/log/btmp AUTHOR
Miquel van Smoorenburg, miquels@cistron.nl SEE ALSO
shutdown(8), login(1), init(8) Jul 29, 1999 LAST,LASTB(1)
All times are GMT -4. The time now is 03:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy