Xclock help


 
Thread Tools Search this Thread
Operating Systems Solaris Xclock help
# 1  
Old 04-22-2014
Xclock help

This is where I am getting stuck and I am wondering if I can get some help from the community.

I log into putty with X11 forward enable

echo $DISPLAY
DISPLAY=localhost:10.0
export DISPLAY
xclock ( I do see a clock)
Smilie

I am happy that I finally get to install Oracle 11g on solaris through GUI but when I run installer, I get this error.Smilie

"DISPLAY not set. Please set the DISPLAY and try again.
Depending on the Unix Shell, you can use one of the following commands as examples to set the DISPLAY environment variable:
- For csh: % setenv DISPLAY 192.168.1.128:0.0
- For sh, ksh and bash: $ DISPLAY=192.168.1.128:0.0; export DISPLAY
Use the following command to see what shell is being used:
echo $SHELL
Use the following command to view the current DISPLAY environment variable setting:
echo $DISPLAY
- Make sure that client users are authorized to connect to the X Server.
To enable client users to access the X Server, open an xterm, dtterm or xconsole as the user that started the session and type the following command:
% xhost +
To test that the DISPLAY environment variable is set correctly, run a X11 based program that comes with the native operating system such as 'xclock':
% <full path to xclock.. see below>
If you are not able to run xclock successfully, please refer to your PC-X Server or OS vendor for further assistance.
Typical path for xclock: /usr/openwin/bin/xclock"

Last edited by newborndba; 04-22-2014 at 05:16 PM..
# 2  
Old 04-22-2014
Do you run installer immediately after logging in, or do you execute some commands before running the installer (like "su")?
# 3  
Old 04-22-2014
I got it. I was logging in as root and then switching to oracle and it was giving me an error
What I did was that I logged in as oracle user and then it just started working. I am installing Oracle through GUI right now.
This User Gave Thanks to newborndba For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Startx xclock on virtual lpar

Hello, Is there a way to run xclock or startx on LPAR, since LPAR doesn't have any console or it is connected to HMC usually the way is to export the display to some PC which has Xmanager running on it, but in my case, I want to run xmanager on the AIX Lpar and run on it the... (2 Replies)
Discussion started by: filosophizer
2 Replies

2. Red Hat

Xclock command not working

Hi, I am using Xming tool to open the my RHEL machine remotely in UI mode. When I use xclock command using 'root', the command works properly and I can see the clock pop-up. However, when I run the 'xclock' command using oracle user I get an error, which is shown in the attached file. Can... (6 Replies)
Discussion started by: omniok
6 Replies

3. Windows & DOS: Issues & Discussions

Unable to show xclock in UNIX for windows

i had tried to run the xclock after i login into my HP UX machine using the C shell in the Services for Unix (Windows) but the xclock does not pop up. Do anyone has the same issue? Do i need to install some X windows package as well? Thanks (1 Reply)
Discussion started by: lchunleo
1 Replies

4. Red Hat

xclock comand not found

hi rhel6 gurus i have set up a rhel6.2 db server. i have data base admins needing to connect to this rhel6 derver via reflectionx. reflectionx is set correctly but when attempting to test connectivity by 'xclock' the following message pops up : -bash:xclock; command not found. anyone out... (1 Reply)
Discussion started by: jsynodin
1 Replies

5. AIX

Installed AIX6.1 in LPAR, but fail to start xclock

I have clean installed AIX6.1 in this partition. I want to run xclock but it fail to run :( I have launch export DISPLAY=10.23.17.60:0 Then launch xclock but it will produce some error saying it failed. Error: Can't open display: 10.23.177.60:0 When i try to google around, some say... (5 Replies)
Discussion started by: wingcross
5 Replies

6. HP-UX

xclock not working in HP-Unix 11.23

Hi, I need to install Oracle on HP-UX 11.23.But I'm unable to start xclock to check if x-server is working fine or not. Have tried connecting using reflection but no luck. Have also set the display but still it does not work. Any suggestions would be appreciated. Regards, Narayan (1 Reply)
Discussion started by: narayanv
1 Replies

7. Shell Programming and Scripting

[BASH] xclock/xcalc/xterm...process question?

I have no idea how to do this: Let's say the user opens an "xclock &" in one of my scripts and I don't want him to be able to re-open one with the script. How could I test that? Possibly with a message saying that "The <xclock(or w/e other process like xcalc)> is already running in the... (3 Replies)
Discussion started by: Yakuzan
3 Replies

8. Shell Programming and Scripting

Xclock and background

Hi everyone, could you explain why am I not able to bring up xclock, or for that matter any Xtools (xcalc etc...), in the background? When I execute: xclock & This brings up the clock in the foreground, my focus is on the clock, not back in my command window. Any suggestion? ... (2 Replies)
Discussion started by: gio001
2 Replies

9. Solaris

Unable to run xclock

Hello. I am trying to run xclock on newly built solaris box - These are the steps I followed: # DISPLAY=localhost:0.0 # export DISPLAY # xclock xclock: not found # cd /usr/openwin/bin # ./xclock Error: Can't open display: localhost:0.0 # Please suggest, what am i doing wrong? Thank... (27 Replies)
Discussion started by: panchpan
27 Replies

10. Solaris

run xclock from local solaris to remote solaris

Hello - I am trying to connect to a remote solaris box from a solaris box i have locally present with me using 'ssh login@IP' ... Its connecting fine but... when I run xclock - it says 'Can't open display' Whereas, IF I connect to same remote solaris IP from my windows desktop locally via putty... (9 Replies)
Discussion started by: panchpan
9 Replies
Login or Register to Ask a Question