04-12-2007
Solaris 10 - X Problem
I can't get a remote X session to display on my Solaris 10 box. I can get it to work if I launch X on my local machine (like /usr/openwin/bin/xclock) so I know X itself is working correctly. The problem is, when I am on a remote host, I set the [ export DISPLAY=<IPADDRESS>:0.0 ] variable, and run /usr/openwin/bin/xclock, and it says cannot open display on <IPADDRESS:0.0>. Yes, I have also run xhost + on the localhost as well. It sounds like a permissions issue to me, but I can't figure out what is screwed up! Thanks for any help you provide.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi,
I have install solaris 8 7/01 in ULTRA 10,but when I type
commands such like "admintool" and "swtool",there will
be a error messege:
warning:Missing charsets in string to fontset conversion
arithmetic exception - core dumped
I dont know what these mean,can anyone help me?thank... (1 Reply)
Discussion started by: fuqiang1976
1 Replies
2. UNIX for Dummies Questions & Answers
I'm trying to install this on my pc at home but the thing is after I get to the option screen that ask where I want to boot solaris from:
hard drive
cd
interface
after I choose the cd option, it begins reading from the CD then it asks me if I want the installation to be interactive or... (3 Replies)
Discussion started by: TRUEST
3 Replies
3. Solaris
I have a problem with export/home after doing the upgrade.
The df -k shows /export and /export/home both being mounted on the same slice. Yes, both are in the vfstab file too. When I reformatted the disk for the upgrade, I added 10gb to the /export partition so that is the one I want to end up... (3 Replies)
Discussion started by: zeekstern
3 Replies
4. Shell Programming and Scripting
Hello. has anybody an idea why my script doesnt work on solaris but on ubuntu? I know. I ask the same question again. But i really dont know why my script is not working.
#!/usr/xpg4/bin/sh
for file in $(find /home9/user/..../.../Test/ -type f)
do
head -n 1 $file | egrep '^#!'
if ... (2 Replies)
Discussion started by: fertchen
2 Replies
5. Solaris
Hello,
I have a multithreading program (just two threads) which works on Solaris 8. I use pthread library to synchronize threads.
I try to run it on Solaris 10 (on another computer). All sources was re-compiled but behaviour of my program is not the same. The thread 2 is never executed when... (3 Replies)
Discussion started by: Tinkh
3 Replies
6. Solaris
I have a SUnfire V120 solaris 10 machine I have recently added memory to. After installation of the RAM, powering back on, the machine did not come back on the network. Consoled into the machine, the routing table has been wiped out completely and I had to reconfigure the IP address. I got the IP... (12 Replies)
Discussion started by: lnxjenn
12 Replies
7. Solaris
Hi! I have the following problem: I tried to create a Solaris 11.1 virtual machine in the latest VMware Workstation (10.0.1) and despite my efforts it is impossible to make the Tools running. During the installation I receive the following messages:
root@solaris:... (0 Replies)
Discussion started by: apollookc
0 Replies
8. Solaris
Hi Guys,
I got a unique (and wierd) problem with trying to install Solaris 10 off of a DVD on a T3-2. You boot cdrom, it goes through the questions and then when it comes to ask you if you want to install using nfs or dvd if you pick dvd it comes up with an error - ERROR: The disc you inserted... (8 Replies)
Discussion started by: callmebob
8 Replies
9. Solaris
I installed Solaris 10 on UltraSparc T5120. The machine shows yellow triagle ! LED.
I got endless Warnings on console connection
WARNING: /pci@0/pci@0/pci@1/pci@0/pci@1/pci@0/usb@0,2/hub@4/device@4/storage@0/disk@0,0 (sd6):
Error for Command: read(10) Error Level: Fatal... (9 Replies)
Discussion started by: gping
9 Replies
10. Solaris
Hi
I have a problem on a server, when he boot I have this type of message loop, do you know what it corresponds to ?
( requesting internet Adress for 0:3:ba:fa:33:91 )
Regards
Sun Fire V240, No Keyboard
Copyright 2007 Sun Microsystems, INC. All rights reserved.
openboot 4.22.33,... (10 Replies)
Discussion started by: yoyo-tns
10 Replies
LEARN ABOUT PHP
pam_env.conf
PAM_ENV.CONF(5) Linux-PAM Manual PAM_ENV.CONF(5)
NAME
pam_env.conf - the environment variables config file
DESCRIPTION
The /etc/security/pam_env.conf file specifies the environment variables to be set, unset or modified by pam_env(8). When someone logs in,
this file is read and the environment variables are set according.
Each line starts with the variable name, there are then two possible options for each variable DEFAULT and OVERRIDE. DEFAULT allows and
administrator to set the value of the variable to some default value, if none is supplied then the empty string is assumed. The OVERRIDE
option tells pam_env that it should enter in its value (overriding the default value) if there is one to use. OVERRIDE is not used, "" is
assumed and no override will be done.
VARIABLE [DEFAULT=[value]] [OVERRIDE=[value]]
(Possibly non-existent) environment variables may be used in values using the ${string} syntax and (possibly non-existent) PAM_ITEMs may be
used in values using the @{string} syntax. Both the $ and @ characters can be backslash escaped to be used as literal values values can be
delimited with "", escaped " not supported. Note that many environment variables that you would like to use may not be set by the time the
module is called. For example, HOME is used below several times, but many PAM applications don't make it available by the time you need it.
The "#" character at start of line (no space at front) can be used to mark this line as a comment line.
EXAMPLES
These are some example lines which might be specified in /etc/security/pam_env.conf.
Set the REMOTEHOST variable for any hosts that are remote, default to "localhost" rather than not being set at all
REMOTEHOST DEFAULT=localhost OVERRIDE=@{PAM_RHOST}
Set the DISPLAY variable if it seems reasonable
DISPLAY DEFAULT=${REMOTEHOST}:0.0 OVERRIDE=${DISPLAY}
Now some simple variables
PAGER DEFAULT=less
MANPAGER DEFAULT=less
LESS DEFAULT="M q e h15 z23 b80"
NNTPSERVER DEFAULT=localhost
PATH DEFAULT=${HOME}/bin:/usr/local/bin:/bin
:/usr/bin:/usr/local/bin/X11:/usr/bin/X11
Silly examples of escaped variables, just to show how they work.
DOLLAR DEFAULT=$
DOLLARDOLLAR DEFAULT= OVERRIDE=$${DOLLAR}
DOLLARPLUS DEFAULT=${REMOTEHOST}${REMOTEHOST}
ATSIGN DEFAULT="" OVERRIDE=@
SEE ALSO
pam_env(8), pam.d(5), pam(7)
AUTHOR
pam_env was written by Dave Kinchlea <kinch@kinch.ark.com>.
Linux-PAM Manual 09/19/2013 PAM_ENV.CONF(5)