Visit Our UNIX and Linux User Community

HELP for Newbie: Unable to run GUI installer (Ubuntu client connected to SLES server)

Thread Tools Search this Thread
Operating Systems Linux SuSE HELP for Newbie: Unable to run GUI installer (Ubuntu client connected to SLES server)
# 1  
Old 06-25-2012
HELP for Newbie: Unable to run GUI installer (Ubuntu client connected to SLES server)

Hello All,

I'm using my Ubuntu 10.04 client connected via SSH to a SuSE Linux server (SuSE Linux Enterprise Server 11 (x86_64) version 11 patchlevel=1).
I'm trying to run an install of WebSphere Portal but can't seem to be able to run the GUI installer.

Running xclock as root returns this error:
Error: Can't open display:
Running xhost returns this:
xhost: unable to open display ""

As far as my very limited knowledge of Linux goes, I don't have to export display while connecting from an Ubuntu client (never had to do that connecting to AIX and some others). So I think it's something on the server side that needs to be configured or run... Your help would be very appreciated!

Thanks in advance!
# 2  
Old 06-25-2012
Run on ubuntu [icode]xhost +yoursusehostname[\icode]

That way, Suse machine will be added as allowed to connect to ubuntu's X server.
If you don't want to export display use encapsulationssh -Y user@yoursusemachine

---------- Post updated at 01:25 AM ---------- Previous update was at 01:25 AM ----------

Run on ubuntu [icode]xhost +yoursusehostname[\icode]

That way, Suse machine will be added as allowed to connect to ubuntu's X server.
If you don't want to export display use encapsulationssh -Y user@yoursusemachine
# 3  
Old 06-25-2012
Thanks - that helped but only partially

Thanks for the response!
Now, connecting to the SuSE server as myself (using my username) allows me to run xclock.
However, when I sudo to root (sudo bash) the display error is back (Error: Can't open displaySmilie.
I'm connecting from home network (behind a wireless router so my IP address is a standard 192.168.x.x) using this command:

ssh -Y -i <private_rsa_key> <username@<susehostname>

After connecting I can run xclock and see it working on my Ubuntu desktop. Now, sudo to root:

sudo bash

and the xclock returns the "Can't open display:" error. Any suggestions?

Thank you in advance!
# 4  
Old 06-25-2012
After su-in into root try run :

export XAUTHORITY=/home/username/.Xauthority

Where username is the one you used for initial ssh connection.

Hope that helps
# 5  
Old 06-25-2012
No luck - still facing the same problem...

Hello Peasant and thanks again for the reply.
No luck though - Can't open display: error after exporting XAUTHORITY...
# 6  
Old 06-26-2012
Please post exact commands you are running and their output, since i cannot replicate the issue.

# 7  
Old 06-26-2012
Here at the commands:

voi@VoiT400:~$ ssh -Y -i ISSLCloud_private.com_rsa idcuser@<hostname>
Last login: Mon Jun 25 23:12:48 2012 from <home_router_broadcast_ip>
idcuser@<shorthostname>:~> xclock
idcuser@<shorthostname>:~> sudo bash
<shorthostname>:/home/idcuser # xclock
Error: Can't open display:
<shorthostname>:/home/idcuser # export XAUTHORITY=/home/idcuser/.Xauthority
<shorthostname>:/home/idcuser # xclock
Error: Can't open display:
<shorthostname>:/home/idcuser #

Previous Thread | Next Thread
Test Your Knowledge in Computers #899
Difficulty: Easy
Programs included in BusyBox can be run simply by adding their name as an argument to the BusyBox executable.
True or False?

10 More Discussions You Might Find Interesting

1. Ubuntu

Unable to boot Ubuntu server 15.10

Hi; I had Windows Server 2003 and performed a fresh Ubuntu Server 15 installation. After installation, Ubuntu server not booting I guess there is boot problem conflicting with my old Windows Server. This is my pastebin: Any help to start my new... (1 Reply)
Discussion started by: gc_sw
1 Replies

2. IP Networking

Unable to SSH from Windows client to Ubuntu Server

I'm trying to setup a small home network environment as a pet project. These are physical machines nothing virtual. Any help or ideas is greatly appreciated. I can ping between both machines and I have Samba established and can read/write different shares. When I try to SSH from Windows 8.1... (10 Replies)
Discussion started by: lombardi4851
10 Replies

3. SuSE

Linux SLES Gui Not coming up

I had sles 11 sp2 installed on my system some days back and it was running fine. Today after I restarted my system the gui is not coming up and system starts in command terminal. sax2 command returns error: sax: gui is missing, starting command line interface sax: no x-server... (4 Replies)
Discussion started by: rupeshkp728
4 Replies

4. Shell Programming and Scripting

unable to configure NIS client server

Dear all, I am using solaris 10 OS. I configured NIS server and i also configured NIS client server but when i use the command ypinit -s sunserv1 in NIS client it is showing me the below error. Enumerates maps from sunserv1. please check that it is running. (2 Replies)
Discussion started by: bhargav90
2 Replies

5. Red Hat

Unable to access NFS share on Solaris Server from Linux client

Hi, I am trying to access a NFS shared directory on Solaris 10 Server from a client which is RHEL 4 Server. On the NFS Server, in /etc/dfs/, I added following line to dfstab file. share -F nfs -o rw /var/share & then ran the following svcadm -v enable -r... (3 Replies)
Discussion started by: SunilB2011
3 Replies

6. AIX

GUI Installer Error

Hey I'm getting the below error when trying to launch the GUI installer. I contacted the application owner and they asked me to remove JAVA_HOME env variable, I removed it but still get this error. As the error message said, tried with -console and it didnt work too. nothing happened, it... (3 Replies)
Discussion started by: rocker_me2002
3 Replies

7. Shell Programming and Scripting

Shell Installer GUI

Hey guys, I just can't seem to find any hints on this topic (or maybe I just don't find the correct search terms to use :rolleyes: ). My company developed an application which requires harsh configuration to run it on a server. So I wrote a LOT of shell scripts which take care of the... (2 Replies)
Discussion started by: fatfingerjoe
2 Replies

8. UNIX for Dummies Questions & Answers

I'm unable to run Keyed List commands(in ubuntu's terminal and Evolane Tcl Engine)

I'm trying to run these commands (keylset,keylget) but i keep getting a error message "invalid command name "keylset"". I've tried running it on both ubuntu's terminal and also Evolane Tcl Engine. Any idea what could be the problem? (1 Reply)
Discussion started by: abe171
1 Replies

9. Virtualization and Cloud Computing

Unable to install ubuntu on vmware server

Hi I have downloaded vmware server 1.0.10 and ubuntu 9.10. Installed vmware server on my windows xp and created the disk space for Ubuntu. Now when i am running the virtual machine using the above downloaded iso image, I get the installation window. I selected 'Install Ubuntu' option and... (2 Replies)
Discussion started by: kushal154
2 Replies

10. UNIX for Dummies Questions & Answers

If a is windows gui ( client), b is a unix gui ( Server for a) and c is a shell scrip

Hello all, 1) I want to have a GUI application that will call Unix shell scripts, 2) that GUI application should be able to reside on windows ( if possible) and then call Unix shell script either directly or through a server residing on unix. That is for example. If a is windows gui (... (1 Reply)
Discussion started by: hchivukula
1 Replies

Featured Tech Videos