- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ssh with X11 for non-root user
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2005 07:05 PM
07-17-2005 07:05 PM
ssh with X11 for non-root user
#xclock (as a root user)
but as a normal user I get error:
$xclock
Error: Can't open display:
---------------------------------------
/opt/ssh/etc/ssh_config on the hpux box shows:
Host *
# ForwardAgent no
ForwardX11 yes
---------------------------------------
On my linux box I've done xhost +
Any suggestions as to what I can do to get X enabled for a non-root user?
Regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2005 07:54 PM
07-17-2005 07:54 PM
Re: ssh with X11 for non-root user
please go thru thru the link ...
http://www.kleber.net/ssh/ssh-faq-7.html#ss7.3.1
for further details u can also verify
http://www.kleber.net/ssh/TheWholeSSHFAQ.html
and select the topic 7.3.1,7.3.2,7.3.3
hope this may help you...if not reply back....let me find some more...
regds
Venkatesan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 02:43 PM
07-18-2005 02:43 PM
Re: ssh with X11 for non-root user
was not being created (although it showed in /etc/passwd).
I manually created the dir and chowned it for the user so that the default login dir is /home/-user-
Once this was done an ls -a on /home/-user- showed .Xauthority directory and then the xclock worked for the normal user!
However, if anyone is facing the same problem also make sure that:
---------------------------------------
/opt/ssh/etc/ssh_config on the hpux box shows:
Host *
# ForwardAgent no
ForwardX11 yes
---------------------------------------
On your linux (fedora core 3) box you've done xhost +
---------------------------------------------
Interestingly, the problem for non-root users does not occur while launching HP-UX's X based program from Mandrake Linux. FC3 and SuSe showed the same behavior.
:)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 02:52 PM
07-18-2005 02:52 PM
Re: ssh with X11 for non-root user
ssh by default assigns DISPLAY to a number starting with 10 (10.0, 11.0 etc). Check user's profile on HP-UX system to make sure that DISPLAY is not hardcoded to
Since you are ssh'ing from a Linux system that's where you should modify ssh_config. Set ForwardX11 to yes in /etc/ssh/ssh_config on the Fedora system. You don't need to use xhost if you are using ssh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2006 08:01 PM
12-27-2006 08:01 PM