blackrageous, I am able to get xclock when I login directly to root or caddrd or cadwebppc. I made a entry in .profile of home directory of cadwebppc. Also, I made entry in auth list. But no luck. Here were the steps I was following.
Code:
ssh root@server1
/root# /usr/openwin/bin/xauth list
tsapiq05-zcadq01/unix:10 MIT-MAGIC-COOKIE-1 40d89c398dd5a69ecfba8f0bd853ec02
tsapiq05-zcadq01/unix:11 MIT-MAGIC-COOKIE-1 03cc68b63e22985c68b484ffa8408baf
su - caddrd
-bash-3.2$ /usr/openwin/bin/xauth add prod-appstess/unix:10 MIT-MAGIC-COOKIE-1 40d89c398dd5a69ecfba8f0bd853ec02
-bash-3.2$ /usr/openwin/bin/xauth add prod-appstess/unix:11 MIT-MAGIC-COOKIE-1 03cc68b63e22985c68b484ffa8408baf
-bash-3.2$ /usr/openwin/bin/xauth list
prod-appstess/unix:10 MIT-MAGIC-COOKIE-1 40d89c398dd5a69ecfba8f0bd853ec02
prod-appstess/unix:11 MIT-MAGIC-COOKIE-1 03cc68b63e22985c68b484ffa8408baf
(Copy same keys for cadwebppc account also)
/usr/local/bin/sudo -u cadwebppc /cad/envs/qa-cm/cadwccDomain/ucm/cs/bin/UserAdmin
Here xauth merge should work. But each time, I add keys via xauth, it will work. I will log out and next time, it will again stops. Seems like, it generates new cookies every time. I am not able to figure out, how should I automate it
Last edited by solaris_1977; 04-25-2014 at 02:40 PM..
Reason: More specific
At school, on an HP-UX or B.11.11 U 9000/785 system, my X11 root window is always set to 8-bit color, but all the child windows are 24-bit. The problem with this, is any background/wallpaper looks extremely ugly with the 8-bit color. Is there any way to make X starts with 24-bit color root window?... (0 Replies)
I have 2 Debian boxes.
In my ssh.com client and my putty client, I have X11 fowarding turned
on for both boxes.
When I connect one, I can xterm with no problem back to my pc.
On the other, I keep getting:
xterm Xt error: Can't open display:
xterm: DISPLAY is not set
On both... (3 Replies)
X11 forwarding problem between 2 RHEL4 machines with SSH
Already configured the following on both machines under /etc/ssh
Under sshd_config:
UsePAM no
AllowTcpForwarding yes
Under ssh_config:
ForwardAgent yes
ForwardX11 yes
ForwardX11Trusted yes
-----------------------------
Using... (1 Reply)
Hey guys,
I'm on a Solaris 9 boxes and I setup Putty to do X11 forwarding I can get my Xmanager to connect and load Xwindows screens fine. But, sometimes if I lose my putty connection or the app im running crashes X freaks out and deletes my display, setting it to nothing. When I add my display... (2 Replies)
Hi I'm using Xwin-32 to connect to my labs UNIX machines. Previously I was able to connect to the systems easily but now I get this error message (posted below) and the unix session is not able to start. can somebody help me.
Looking up host "blade2.tec.ufl.edu"
Connecting to 128.227.241.112... (0 Replies)
For preliminaries, I am on a Mac Pro running 10.5. I am trying to run a program that opens an X11 graphic and plots a mesh. The little program is called showme. It has worked just fine in the past. Up until I had to make a new user account on this machine for myself. Now every time I try to... (8 Replies)
Hi all,
I have been administrating large backup environments for quite some time now, but I have never seen the types of errors I'm getting for a client I have in Asia, so I humbly appeal to your expertise in order to fix things.
Set up: StreamLine 8500 library connected to a Solaris... (7 Replies)
Hello. I installed a Debian box, and its installed remotely. I need to boot up iceweasel from there to do a quick test.
I log on using:
ssh root@<IP> -X
I have modified the /etc/ssh/sshd_config file, and added the X11Forwarding yes flag
And yet I still get:
Error: cannot open... (10 Replies)
Currently ,we use Exceed,X-Win32,winaxe 7.7,Reflection X software for doing evaluation.
1.Chinese word problem
When we use "more filename" to check the file in xterm command console mode from our client Window XP to IBM AIX server.it can show the chinese word,but when we change to grahpic mode... (1 Reply)
I'm trying to load a program remotely using SSH with X11 forwarding. I have no issue with loading xwindows and programs like firefox works fine. But one software that I use for my work has some issues when I load it up. For example, I can't see the pull-down menus etc, which show up when I load it... (1 Reply)
Discussion started by: lost.identity
1 Replies
LEARN ABOUT FREEBSD
zlogin
zlogin(1) User Commands zlogin(1)NAME
zlogin - enter a zone
SYNOPSIS
zlogin [-CE] [-e c] [-l username] zonename
zlogin [-ES] [-e c] [-l username] zonename utility [argument...]
DESCRIPTION
The zlogin utility is used by the administrator to enter an operating system zone. Only a superuser operating in the global system zone can
use this utility.
zlogin operates in one of three modes:
Interactive Mode
If no utility argument is given and the stdin file descriptor for the zlogin process is a tty device, zlogin operates in interactive
mode. In this mode, zlogin creates a new pseudo terminal for use within the login session. Programs requiring a tty device, for exam-
ple, vi(1), work properly in this mode. In this mode, zlogin invokes login(1) to provide a suitable login session.
Non-Interactive Mode
If a utility is specified, zlogin operates in non-interactive mode. This mode can be useful for script authors since stdin, stdout, and
stderr are preserved and the exit status of utility is returned upon termination. In this mode, zlogin invokes su(1M) in order to set
up the user's environment and to provide a login environment.
Console Mode
If the -C option is specified, the user is connected to the zone console device and zlogin operates in console mode. The zone console
is available once the zone is in the installed state. Connections to the console are persistent across reboot of the zone.
OPTIONS
The following options are supported:
-C Connects to the zone console.
-e c Specifies a different escape character, c, for the key sequence used to access extended functions and to disconnect from
the login. The default escape character is the tilde (~).
-E Disables the ability to access extended functions or to disconnect from the login by using the escape sequence character.
-l username Specifies a different username for the zone login. If you do not use this option, the zone username used is "root". This
option is invalid if the -C option is specified.
-S "Safe" login mode. zlogin does minimal processing and does not invoke login(1) or su(1M). The -S option can not be used if
a username is specified through the -l option, and cannot be used with console logins. This mode should only be used to
recover a damaged zone when other forms of login have become impossible.
Escape Sequences
Lines that you type that start with the tilde character (~) are "escape sequences". The escape character can be changed using the -e
option.
~. Disconnects from the zone. This is not the same as a logout, because the local host breaks the connection with no warning to the
zone's end.
SECURITY
Once a process has been placed in a zone other than the global zone, the process cannot change zone again, nor can any of its children.
OPERANDS
The following operands are supported:
zonename The name of the zone to be entered.
utility The utility to be run in the specified zone.
argument... Arguments passed to the utility.
EXIT STATUS
In interactive and non-interactive modes, the zlogin utility exits when the command or shell in the non-global zone exits. In non-interac-
tive mode, the exit status of the remote program is returned as the exit status of zlogin. In interactive mode and console login mode, the
exit status is not returned. zlogin returns a 0 exit status as long as no connection-related error occurred.
In all modes, in the event that a connection to the zone cannot be established, the connection fails unexpectedly, or the user is lacking
sufficient privilege to perform the requested operation, zlogin exits with status 1.
To summarize, the following exit values are returned:
0 Successful entry.
1 Permission denied, or failure to enter the zone.
Any Return code from utility, or from su(1M) if operating in non-interactive mode.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWzoneu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO login(1), vi(1), su(1M), zoneadm(1M), zonecfg(1M), attributes(5), zones(5)NOTES
zlogin fails if its open files or any portion of its address space corresponds to an NFS file. This includes the executable itself or the
shared libraries.
SunOS 5.10 14 May 2004 zlogin(1)