Remote connection to HP-UX from Linux, GUI issues.


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Remote connection to HP-UX from Linux, GUI issues.
# 1  
Old 06-11-2008
Remote connection to HP-UX from Linux, GUI issues.

Not sure if that's the best thread title... anyway, working remotely on a HP-UX machine I often need a GUI window when executing remote software installs, and for this I use Cygwin/X on my Windows laptop which works perfectly. Connect via telnet, set DISPLAY, run installer, GUI appears locally - simple.

I want to do exactly the same when connecting to the HP box from a Linux laptop (Ubuntu 7.10) but I can never get past "unable to open display" errors. I've tried "xhost +" on the client before connecting, I've tried connecting with ssh -X (this also works via Cygwin) with no success. Is there anything else I need to do, or can try, to get this working?

I've had a search round the forums but not turned up anything that's got me any further, so I wonder what I'm missing?

Last edited by stefcha; 06-11-2008 at 07:49 AM..
# 2  
Old 06-11-2008
It should work...

Just to double check the obvious:
you have the correct IP/hostname for the DISPLAY?

When you xhost + on the "client machine" that is your Ubuntu machine? Also you ran that command as the same user that is running the X display? It might have to be run as root, even.

Are you running any firewall on Ubuntu?

Just a few things to check.

jv
# 3  
Old 06-11-2008
when executing remote software installs why not use the curses based swinstall command?
# 4  
Old 06-12-2008
DISPLAY is set in the profile on login, there's probably a better way but it always seems to be right:

TTY=`who am i | awk '{print $2}'`
IP=`who -a |grep $TTY | awk '{print $8}'`
export DISPLAY=$IP:0.0

xhost + is being run on the linux laptop, I've tried it both as my user and setting it via sudo. I'm not running a specific firewall, but isn't linux secure in this sort of manner by default? Still, as I understand it the xhost + should be all that's needed.

... and I've not been using swinstall because they're not all package based installs, the majority are third party installs using a java GUI.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

RedHat Linux GUI Issues

hi all i have installed Windows 7 first. then i installed linux on dual partations... i am booting both of them through dual boot... but when i start linux its only working well with CUI, when i used commands like startx or changed the initd to 5 then its loading the GUI interface of RedHat... (9 Replies)
Discussion started by: Nikhil Dethe
9 Replies

2. UNIX for Advanced & Expert Users

lftp connection issues

Hi guys, We are receiving fatal error while trying to use lftp client to connect to an external server using ftps protocol. It seems to connect but when I issue 'ls' command, it fails with below error: $ lftp -u user,pwd ftps://<URL>:990/Submit lftp user@URL:~> ls ls: Fatal error:... (0 Replies)
Discussion started by: nice_chapp
0 Replies

3. Shell Programming and Scripting

Rsync through java program - issues with remote connection failure

Hi Everybody, I am running rsync through my java application. The Java application will sync the files with remote machine. During our connection failure testing we noticed an issue running rsync through java program. The java application which is running at source side is not receiving any... (2 Replies)
Discussion started by: MVEERA
2 Replies

4. Debian

Launch remote gui apps in remote hosts

Hi, I've been looking for a way to execute a console program (is in windows but by now I accept the linux way) from a linux machine, but this program has to be opened in the remote side. Linux machine acts only as a "signaling" host. My program has to open the camera in the remote side, but only... (7 Replies)
Discussion started by: zauberberg
7 Replies

5. UNIX for Dummies Questions & Answers

ssh to see remote desktop gui

Hey, how do I access the desktop gui for a remote fedora box? $ ssh user@ip $ xinit Fatal server error: Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again. Thanks (1 Reply)
Discussion started by: JustinT
1 Replies

6. Linux

GUI remote connection

Hello, I need a tool for remote GUI connection to Linux machine ,something like remote Desktop in windows?????any help Thanks in advance (4 Replies)
Discussion started by: mm00123
4 Replies

7. UNIX for Advanced & Expert Users

Exceed connection issues

I'm trying to use Exceed 7.1 to connect to a Solaris server (T2000, running Solaris 10). What are the settings that should be specified on Solaris to enable this connectivity to happen? I'm getting connection issues. Is there a type of service that needs to be running? If sombody can give a... (1 Reply)
Discussion started by: Sunguy222
1 Replies

8. Ubuntu

graphical remote connection to linux

is there any way to connect to linux server from windows machine in graphical mode like remote desktop in windows. Thanx (5 Replies)
Discussion started by: mm00123
5 Replies

9. UNIX for Dummies Questions & Answers

Connection problem with gui java program to postgreaql database using unix

Having problem in connecting my gui java program to postgreaql database. I first used setenv classpath /home/share/postgresql/java/postgresql.jar:proj1, where proj1 is my folder conatining all java and class file, to set classpath. Then javac *.java. Then java proj1.Login. It gives me... (2 Replies)
Discussion started by: uci
2 Replies

10. UNIX for Dummies Questions & Answers

Red Hat 7.2 GUI not loading & Connection issue

Please Help Let me start off by saying that I am a total idiot when it comes to unix. Please, if you would care to reply keep this in mind. Thank you. I have been attempting to get my unix machine online to no avail. I have the rest of the house networked with 3 other windows machines into a... (1 Reply)
Discussion started by: kmer
1 Replies
Login or Register to Ask a Question