Sponsored Content
Operating Systems HP-UX X-server errors at login? I want to just get rid of this! Post 70856 by Just Ice on Wednesday 4th of May 2005 04:54:58 PM
Old 05-04-2005
i was wrong --- i had assumed HP-UX went the same way as Solaris and Linux ... anyways, i saw this on HP's CDE documentation ... i don't have access to an HP box so you'll have to check "man Xservers" yourself ...
Quote:
Displaying a Login Screen on a Local Display
Upon startup, the login server checks the Xservers file to determine if an X server needs to be started and to determine if and how login screens should be displayed on local or network displays.
To modify Xservers, copy Xservers from /usr/dt/config to /etc/dt/config. After modifying /etc/dt/config/Xservers, tell the login server to reread Xservers by typing:
/usr/dt/bin/dtconfig -reset
This issues the command kill -HUP login server process ID
The format of an Xservers line is:
display_name display_class display_type X_server_command
where
The default Xservers line is similar to:
:0 Local local@console /usr/bin/X11/X :0

Last edited by Just Ice; 05-04-2005 at 06:04 PM..
 

9 More Discussions You Might Find Interesting

1. Web Development

APACHE: Tie in Web Page login with server login

Hello, I have created a web page on a server using apache and added .htaccess and .htpasswd in the folder for authentification. I was wondering if there was anyway to tie-in the login for this page with the login used to logon to the server. i.e. the same login info. is used for both,... (2 Replies)
Discussion started by: WhotheWhat
2 Replies

2. Cybersecurity

APACHE: Tie in Web Page login with server login

Hello, I have created a web page on a server using apache and added .htaccess and .htpasswd in the folder for authentification. I was wondering if there was anyway to tie-in the login for this page with the login used to logon to the server. i.e. the same login info. is used for both, when... (1 Reply)
Discussion started by: WhotheWhat
1 Replies

3. UNIX for Dummies Questions & Answers

ssh login and auth errors

Hi folks, I'm having some rather odd trouble with ssh. It all started when I tried to create rsa public/private keys to login to a remote ssh account. The account is on a university server and the address redirects to several different machines so (following their wiki instructions...sigh) I... (9 Replies)
Discussion started by: daytripper
9 Replies

4. AIX

SMTP Server errors

Hey everyone, I have an issue where email is working fine in our Windows environments but is blowing up in our AIX environments. Here is the related functions that are getting called: int get_smtp_line( void ) { char ch = '.'; char in_data ; char * index; int retval = 0; ... (4 Replies)
Discussion started by: ctote
4 Replies

5. UNIX for Advanced & Expert Users

Server hanges and getting AFSR and AFAR errors

Hi all, I have Solaris machine Sun Fire V445 Solaris 10 6/06 s10s_u2wos_09a SPARC Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 09 June 2006 Starting from last... (0 Replies)
Discussion started by: nypreH
0 Replies

6. AIX

User Account Login Login on your AIX server

I want to learn AIX. I would like to find someone who would be willing to give me a login to their AIX home lab server. My intent is to poke around and discover the similarities and differences of AIX compared to other *NIXs. I am a UNIX admin so I can think of what some immediate concerns may... (1 Reply)
Discussion started by: perl_in_my_shel
1 Replies

7. Windows & DOS: Issues & Discussions

Passwordless login from Linux server to windows server

Hi, I am a newbie and has been given a task to connect to a windows server from a linux server (using putty of course; for file transfer) that too passwordless. Searching through google I found "ssh-keygen" but this also couldn't work because as I tried ssh <username>@<windowsServerIP>, it says... (5 Replies)
Discussion started by: pratria
5 Replies

8. Shell Programming and Scripting

Do I require remote login access to a windows server to transfer files from a UNIX server

Hi All I need to transfer a file from a UNIX server to a windows server. I saw that it is possible to do this using scp command by looking at the forum listed below: ... (2 Replies)
Discussion started by: vx04
2 Replies

9. AIX

Not able to login AIX server but able to login thru console.

Hi, i am able to login to AX server thru console but not able to login directly thru server. also the server is not ping-able with other server. filesystem is fine. and OS version is AIX 5.3. please let me know if you need any specific log. thx in advance. Scriptor (2 Replies)
Discussion started by: scriptor
2 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)
All times are GMT -4. The time now is 12:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy