Operating System - HP-UX
1831349 Members
2871 Online
110024 Solutions
New Discussion

X forwarding through tunnel works only for root

 
SOLVED
Go to solution
Marcin Rudzik
New Member

X forwarding through tunnel works only for root

Hi
I'm connecting to hp-ux server through ssh tunnel using putty. I chose the "enable X11 forwarding" option and it's working but unfortunetly only for root. I've no idea why. Thought that it's about some configuration but when i gave to nonroot user uid=0 everything started to work for him. So maybe some file permissions...
I wiil by grateful for any help.
Regards
Marcin Rudzik
3 REPLIES 3
RAC_1
Honored Contributor
Solution

Re: X forwarding through tunnel works only for root

Do you get any error message in syslog?? In $HOME/.dt/errorlog?? in /var/dt/Xerrors??

Anil
There is no substitute to HARDWORK
Marcin Rudzik
New Member

Re: X forwarding through tunnel works only for root

only in syslog:
sshd[15033]: error: Can't get IP address for X11 DISPLAY.
and DISPLAY isn't set. And when I login as root it is set.
Marcin Rudzik
New Member

Re: X forwarding through tunnel works only for root

thanks very much :) /etc/hosts had 600 permissions and I don't know why but that was a problem.