09-24-2007
Quote:
Originally Posted by
vntiger
What can I do next?
Does Xservers have a line referring to ":0" ? That means the first screen connected to the system. Do the log files method anything starting and failing.
On my systems there is a message on the system console at startup saying the ":0" is starting up.
Can you point an X terminal at the machine?
10 More Discussions You Might Find Interesting
1. SCO
Can i change the password on the SCO GUI interface login page and if so how?
When I try to login it just goes right back to the login screen. If anyone has any suggestions, please reply. :confused: (3 Replies)
Discussion started by: qphillips
3 Replies
2. Linux
hi
iam installed mandriva spring 2009
iam unble to login into gui using root
how to enable it
where the settings are stored (5 Replies)
Discussion started by: seshumohan
5 Replies
3. Solaris
I have 2 queries:
1.how do we monitor failed GUI logins...? I think the /var/adm/loginlog will log
only failed logins happened at /dev/console and virtual terminals..
2.How to use cron scheduler to display a message when a user is working in GUI Terminal window irrespective of in which... (1 Reply)
Discussion started by: saagar
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
When I installed Ubuntu on my laptop, I had chosen "automatic login" . So i was not asked ofr username and password everytime I switched on. I later wanted to change the settings. So I went to systems-->administration-->login window-->security. There I disabled automatic login and I reboot the... (3 Replies)
Discussion started by: vishwamitra
3 Replies
5. Solaris
I have a Sun Ultra 45 that was working perfectly until i upgraded it to Update 9 with a zfs filesystem. The box is sparc based and has an internal video card. When i boot it up, i receive an X server error and, while checking /var/dt/Xerrors, the following message is displayed
Fatal server... (9 Replies)
Discussion started by: goose25
9 Replies
6. Fedora
Hi all,
I am able to login via putty to a fedora 10 workstation.
But when i try to login via physical screen connected to workstation, it just gives me a blank screen and i cant see any options to enter username and passwd. How do i get the physical GUI to work.
$ who -r
... (4 Replies)
Discussion started by: lramsb4u
4 Replies
7. AIX
If I login to one of our AIX 6.1 servers using SSH via PuTTY and I issue the who -a or w command I cannot see my session, although if I login via TELNET I can.
Why is this?
SSH:
root#> who
root#> w
08:06PM up 40 days, 27 mins, 0 users, load average: 0.05, 0.12, 0.14
User tty login@ idle... (1 Reply)
Discussion started by: deepinsight
1 Replies
8. Solaris
Solaris machine is at # prompt not able to login in GUI mode :
I want to login solaris server in GUI mode from # prompt.
---------- Post updated 12-30-11 at 11:36 AM ---------- Previous update was 12-29-11 at 02:23 PM ----------
Hi,
Please send me some guidelines regarding this....
as... (2 Replies)
Discussion started by: sunray
2 Replies
9. UNIX for Dummies Questions & Answers
I am not too new with linux. Since I installed a new version (2011) of Mandriva, I am unable to login via the gui (I'm currently using the live version of the same dvd free with Linux Format mag). I can login from a console as it has picked up the previous version's /home, but when I try to login... (2 Replies)
Discussion started by: richardmellersh
2 Replies
10. Shell Programming and Scripting
hii all,
I am unable to login into GUI mode in solaris 10. It is only prompting me to command mode credentials not going further to GUI mode.. Please help..
Thanks & regards,
Bhagi (3 Replies)
Discussion started by: bhargav90
3 Replies
SESSREG(1) General Commands Manual SESSREG(1)
NAME
sessreg - manage utmp/wtmp entries for non-init clients
SYNOPSIS
sessreg [-w wtmp-file] [-u utmp-file] [-L lastlog-file] [-l line-name] [-h host-name] [-s slot-number] [-x Xservers-file] [-t ttys-file]
[-a] [-d] user-name
DESCRIPTION
Sessreg is a simple program for managing utmp/wtmp and lastlog entries for xdm sessions.
System V has a better interface to utmp than BSD; it dynamically allocates entries in the file, instead of writing them at fixed positions
indexed by position in /etc/ttys.
To manage BSD-style utmp files, sessreg has two strategies. In conjunction with xdm, the -x option counts the number of lines in /etc/ttys
and then adds to that the number of the line in the Xservers file which specifies the display. The display name must be specified as the
"line-name" using the -l option. This sum is used as the "slot-number" in the utmp file that this entry will be written at. In the more
general case, the -s option specifies the slot-number directly. If for some strange reason your system uses a file other than /etc/ttys to
manage init, the -t option can direct sessreg to look elsewhere for a count of terminal sessions.
Conversely, System V managers will not ever need to use these options (-x, -s and -t). To make the program easier to document and explain,
sessreg accepts the BSD-specific flags in the System V environment and ignores them.
BSD and Linux also have a host-name field in the utmp file which doesn't exist in System V. This option is also ignored by the System V
version of sessreg.
USAGE
In Xstartup, place a call like:
sessreg -a -l $DISPLAY -x /etc/X11/xdm/Xservers $USER
and in Xreset:
sessreg -d -l $DISPLAY -x /etc/X11/xdm/Xservers $USER
OPTIONS
-w wtmp-file
This specifies an alternate wtmp file, instead of /var/log/wtmp. The special name "none" disables writing records to the wtmp file.
-u utmp-file
This specifies an alternate utmp file, instead of /var/run/utmp. The special name "none" disables writing records to the utmp file.
-L lastlog-file
This specifies an alternate lastlog file, instead of /var/log/lastlog, if the platform supports lastlog files. The special name
"none" disables writing records to the lastlog file.
-l line-name
This describes the "line" name of the entry. For terminal sessions, this is the final pathname segment of the terminal device file-
name (e.g. ttyd0). For X sessions, it should probably be the local display name given to the users session (e.g. :0). If none is
specified, the terminal name will be determined with ttyname(3) and stripped of leading components.
-h host-name
This is set for BSD hosts to indicate that the session was initiated from a remote host. In typical xdm usage, this options is not
used.
-s slot-number
Each potential session has a unique slot number in BSD systems, most are identified by the position of the line-name in the
/etc/ttysfile. This option overrides the default position determined with ttyslot(3). This option is inappropriate for use with
xdm, the -x option is more useful.
-x Xservers-file
As X sessions are one-per-display, and each display is entered in this file, this options sets the slot-number to be the number of
lines in the ttys-file plus the index into this file that the line-name is found.
-t ttys-file
This specifies an alternate file which the -x option will use to count the number of terminal sessions on a host.
-a This session should be added to utmp/wtmp.
-d This session should be deleted from utmp/wtmp. One of -a/-d must be specified.
SEE ALSO
xdm(1), utmpx(5)
AUTHOR
Keith Packard, MIT X Consortium
X Version 11 sessreg 1.0.7 SESSREG(1)