Sponsored Content
Full Discussion: xterm
Top Forums UNIX for Dummies Questions & Answers xterm Post 70368 by RTM on Thursday 28th of April 2005 08:14:11 AM
Old 04-28-2005
Check your shell with echo $SHELL - getting the command not found error is usually from running export DISPLAY in a csh/tcsh shell. It's not a valid command.

If you are using ksh or sh, you might need to run the DISPLAY and export separately.

$ DISPLAY=servera:0 ; export DISPLAY

You might also need to use the xhost serverB command on serverA - it tells serverA to accept the display from serverB.

Look at the man pages for export and xhost. It may also help if you post your OS and version of both servers.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Xterm

Guys: Anyone have ideas on where can I get information or references if I want to learn on how to program with UNIX GUIs? If you do have ideas please let me know. Its a big help. (2 Replies)
Discussion started by: jfsuminist
2 Replies

2. UNIX for Dummies Questions & Answers

xterm

Would someone tell me how to save changes in xterm once I've made them using the program options? For example, I type: xterm -bg red and my console window changes color. But how can I now make this attribute save, so that it becomes the default when I relaunch xterm? Any help you can offer... (1 Reply)
Discussion started by: af6
1 Replies

3. UNIX for Dummies Questions & Answers

xterm?

Hello all, This is a lame question because I have been working with unix for some years now, but anyway here it is; What is an xterm? ivo (1 Reply)
Discussion started by: Ivo
1 Replies

4. Shell Programming and Scripting

xterm help?

I want to add a title to this xterm window but cannot figure out how. Can anybody assist with this? xterm +sb -geom 80x25 -ls -tn xterms -tm "intr ^q" -name unikix -e $UNIKIX/bin/unikixl (1 Reply)
Discussion started by: douknownam
1 Replies

5. Shell Programming and Scripting

How to send from one XTERM to another

Hi who can I send a command from one Xterm to another Xterm? Example: I have 2 xterm windows and the want to send ls from #1 to #2 and see the result in #2. This is ofcourse not what I will do, will from a script start 2 xterm and then start 2 other scripts in these xterm windows. Thanx... (2 Replies)
Discussion started by: MrKalle
2 Replies

6. UNIX for Advanced & Expert Users

startx / xterm

When I try to run startx or xterm the window opens fine, however when using keyboard incorrect chars are displayed, e.g pressing return displays 2 (0 Replies)
Discussion started by: gefa
0 Replies

7. UNIX for Dummies Questions & Answers

xterm on Linux

Hi all, I use cygwin-X to log on to a remote Linux server (from WIN-XP) When I type xterm& it prints what it should print, something like: 23166 but the new screen never starts. What can cause this problem? do I need to add something to my PATH? Thanks! R (2 Replies)
Discussion started by: Rachel Ross
2 Replies

8. Slackware

xterm problem?

My understanding is that /usr/share/terminfo/x/ is populated from a standard set of files and not by compiling, i.e. tic, termcaps. I am getting from both regular user and root when issuing: man tic ------> WARNING: terminal is not fully functional tset -q --------> xterm: unknown terminal type... (2 Replies)
Discussion started by: slak0
2 Replies

9. UNIX for Dummies Questions & Answers

UTF-8 in xterm

I need to use sort, uniq, grep, wc,... and the like to work with lists of words in UTF-8 (the "words" being phonetic transcriptions using the IPA). I have been using Google a lot and I even found at least one previous post on this topic, but it didn't help. I tried following the instructions... (2 Replies)
Discussion started by: mregine
2 Replies
pam_xauth(8)						   System Administrator's Manual					      pam_xauth(8)

NAME
pam_xauth - forward xauth keys between users SYNOPSIS
session optional /lib/security/pam_xauth.so arguments DESCRIPTION
pam_xauth.so is designed to forward xauth keys (sometimes referred to as "cookies") between users. Without pam_xauth, when xauth is enabled and a user uses the su command to assume another user's priviledges, that user is no longer able to access the original user's X display because the new user does not have the key needed to access the display. pam_xauth solves the problem by forwarding the key from the user running su (the source user) to the user whose identity the source user is assuming (the target user) when the session is created, and destroying the key when the session is torn down. This means, for example, that when you run su from an xterm sesssion, you will be able to run X programs without explicitly dealing with the xauth command or ~/.Xauthority files. pam_xauth will only forward keys if xauth can list a key connected to the $DISPLAY environment variable. Primitive access control is provided by ~/.xauth/export in the invoking user's home directory and ~/.xauth/import in the target user's home directory. If a user has a ~/.xauth/import file, the user will only receive cookies from users listed in the file. If there is no ~/.xauth/import file, the user will accept cookies from any other user. If a user has a .xauth/export file, the user will only forward cookies to users listed in the file. If there is no ~/.xauth/export file, and the invoking user is not root, the user will forward cookies to any other user. If there is no ~/.xauth/export file, and the invoking user is root, the user will not forward cookies to other users. Both the import and export files support wildcards (such as *). Both the import and export files can be empty, signifying that no users are allowed. ARGUMENTS
debug Turns on debugging messages sent to syslog. xauthpath=/usr/X11R6/bin/xauth Specify the path the xauth program (the default is /usr/X11R6/bin/xauth). IMPLEMENTATION DETAILS
pam_xauth will work only if it is used from a setuid application in which the getuid() call returns the id of the user running the applica- tion, and for which PAM can supply the name of the account that the user is attempting to assume. The typical application of this type is su. The application must call both pam_open_session() and pam_close_session() with the ruid set to the uid of the calling user and the euid set to root, and must have provided as the PAM_USER item the name of the target user. pam_xauth calls xauth as the source user to extract the key for $DISPLAY, then calls xauth as the target user to merge the key into the a temporary database and later remove the database. pam_xauth cannot be told not to remove the keys when the session is closed. SEE ALSO
/usr/share/doc/pam*/html/index.html FILES
~/.xauth/import ~/.xauth/export BUGS
Let's hope not, but if you find any, please report them via the "Bug Track" link at http://bugzilla.redhat.com/bugzilla/ AUTHOR
Nalin Dahyabhai <nalin@redhat.com>, based on original version by Michael K. Johnson <johnsonm@redhat.com> Red Hat Linux 2001/9/27 pam_xauth(8)
All times are GMT -4. The time now is 03:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy