LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-24-2012, 11:28 PM   #1
kartrait
LQ Newbie
 
Registered: Jun 2012
Posts: 2

Rep: Reputation: Disabled
GUI Installer can't run (Ubuntu client connected to SuSE Linux server)


Hello All,

I DID search this forum hoping to find some answers to my problem but I either have a case of selective blindness or something else is stopping me from finding a resolution... anyway, here it is:
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!
 
Old 06-25-2012, 06:44 PM   #2
guyonearth
Member
 
Registered: Jun 2012
Location: USA
Distribution: Ubuntu
Posts: 419

Rep: Reputation: 82
I believe you must export the display, something like:

export DISPLAY="hostname:0"

where "hostname" of course is your hostname. This is just a suggestion, I am NOT an expert on this at all.
 
Old 06-26-2012, 05:12 PM   #3
kartrait
LQ Newbie
 
Registered: Jun 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Partial success after adding -Y to the SSH login

Hello all,

I can now run xclock as the user that I use to connect to the server via ssh.
However, as soon as I sudo to root, xclock can't be run. See below:

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 #

Any suggestions to fix that would be appreciated!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse Linux server having 1 NIC and connected to 2 ISP router lexroxas Linux - Enterprise 2 06-28-2010 09:55 AM
Trying to run Gui in Ubuntu server waka13 Linux - Newbie 2 05-08-2009 03:18 PM
Microsoft client connected to a Linux server causing a reboot? sonjadraughn Linux - General 2 11-17-2008 01:06 PM
GUI client ftp application not connected with server dhananjaya Linux - Networking 1 10-28-2007 06:35 PM
Can't run the installer on Suse 9.3 fivegorillas SUSE / openSUSE 3 08-26-2005 10:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration