|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Unable to run xclock
Hello.
I am trying to run xclock on newly built solaris box[Solaris 10 11/06 s10x_u3wos_10 X86] - 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 you! |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
It looks like you are running it as root, are you running the x-server as root or yourself? (permissions could be interfering) A simple test: Code:
/usr/openwin/bin/xdpyinfo -display <display> Try localhost:0 as the display, or just look and see what the x-server is listening on. |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Hello - Earlier I was connecting to server using telnet , now I use putty with ssh and below is the output:
$ echo $DISPLAY localhost:10.0 $ xclock ksh: xclock: not found $ cd /usr/openwin/bin $ ./xclock X connection to localhost:10.0 broken (explicit kill or server shutdown). $ su Password: # pwd /usr/openwin/bin # ./xclock X connection to localhost:10.0 broken (explicit kill or server shutdown). # From my ID or root ID , the error is same. Please advice. |
|
#4
|
|||
|
|||
|
Also the o/p of xdpyinfo:
# ./xdpyinfo -display localhost:10.0 X connection to localhost:10.0 broken (explicit kill or server shutdown). # |
| Sponsored Links | |
|
|
#5
|
||||
|
||||
|
Start without the X port forward via ssh and get it working locally first.
If the X server isn't responding properly, trying to route it via ssh isn't likely to help ![]() As the user that is running the x-server, see what the output to the xdpyinfo command is. That will tell you if you have an issue with the x-server itself or an auth problem. Edit: hang on, are you running this locally or trying to run it over the network? Where is the X-server (the display) running? |
| Sponsored Links | |
|
|
#6
|
|||
|
|||
|
Hello.
I am trying to run it from remote machine , which is in the network: $ cd /usr/openwin/bin $ ./xclock X connection to localhost:10.0 broken (explicit kill or server shutdown). $ ./xdpyinfo X connection to localhost:10.0 broken (explicit kill or server shutdown). $ echo $DISPLAY localhost:10.0 $ Please suggest. |
| Sponsored Links | |
|
|
#7
|
|||
|
|||
|
To be able to show X Window applications on Your local machine You must have an X-server running on it. Do You?
Are You running this through putty on a Windows machine? |
| Sponsored Links | ||
|
![]() |
| Tags |
| export display, linux |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Installed AIX6.1 in LPAR, but fail to start xclock | wingcross | AIX | 5 | 02-18-2011 04:08 AM |
| xclock not working in HP-Unix 11.23 | narayanv | HP-UX | 1 | 06-29-2010 09:44 AM |
| [BASH] xclock/xcalc/xterm...process question? | Yakuzan | Shell Programming and Scripting | 3 | 03-05-2009 09:27 PM |
| Xclock and background | gio001 | Shell Programming and Scripting | 2 | 03-05-2009 12:02 PM |
| xclock gets displayed only for "root" but not for another account | rdbono | UNIX for Dummies Questions & Answers | 1 | 04-22-2006 08:54 PM |
|
|