Sponsored Content
Full Discussion: Xclock command not working
Operating Systems Linux Red Hat Xclock command not working Post 302930326 by Peasant on Friday 2nd of January 2015 08:37:49 AM
Old 01-02-2015
Using SSH X forwarding in putty and Xming.

Connect as root :

Code:
[root@host][root]# echo $DISPLAY
localhost:10.0
xauth list
<output here>
su - oracle
xauth add <output from above>
export DISPLAY=localhost:10.0
xclock # or other x program.

 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. Shell Programming and Scripting

Need help! command working ok when executed in command line, but fails when run inside a script!

Hi everyone, when executing this command in unix: echo "WM7 Fatal Alerts:", $(cat query1.txt) > a.csvIt works fine, but running this command in a shell script gives an error saying that there's a syntax error. here is content of my script: tdbsrvr$ vi hc.sh "hc.sh" 22 lines, 509... (4 Replies)
Discussion started by: 4dirk1
4 Replies

6. 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

7. 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

8. 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

9. Solaris

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) :) I am happy that I finally get to install Oracle 11g on solaris... (2 Replies)
Discussion started by: newborndba
2 Replies

10. 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
pax11publish(1) 					      General Commands Manual						   pax11publish(1)

NAME
pax11publish - PulseAudio X11 Credential Utility SYNOPSIS
pax11publish -h pax11publish [options] [-d] pax11publish [options] -e pax11publish [options] -i pax11publish [options] -r DESCRIPTION
The pax11publish utility can be used to dump or manipulate the PulseAudio server credentials that can be stored as properties on the X11 root window. Please note that the loadable module module-x11-publish exports the same information directly from the PulseAudio sound server, and should in most cases be used in preference over this tool. Use the following command to dump the raw PulseAudio-specific data that is stored in your X11 root window: xprop -root | grep ^PULSE_ OPTIONS
-h Show help. -d Read the PulseAudio server credentials currently set on the X11 root window and dump them in a human readable form. This reads the PULSE_SERVER, PULSE_SINK, PULSE_SOURCE and PULSE_COOKIE properties. -i Similar to -d, however dumps them in a Bourne shell compatible format so they may be used together with the eval shell command to set the $PULSE_SERVER, $PULSE_SINK, $PULSE_SOURCE environment variables. Also reads the authentication cookie from the root window and stores it in ~/.pulse-cookie. -e Export the currently locally used sound server, sink, source configuration to the X11 root window. This takes the data from the $PULSE_SERVER, $PULSE_SINK, $PULSE_SOURCE environment variables and combines them with the data from ~/.pulse/client.conf (or /etc/pulse/client.conf if that file does not exist). If specific options are passed on the command line (-S, -O, -I, -c, see below), they take precedence. Also uploads the local authentication cookie ~/.pulse-cookie to the X11 server. -r Removes the configured PulseAudio configuration from the X11 root window. -D DISPLAY Connect to the specified X11 display, instead of the default one configured in $DISPLAY. -S SERVER Only valid for -e: export the specified PulseAudio server as default to the X11 display instead of the one configured via local con- figuration. -O SINK Only valid for -e: export the specified sink as default sink to the X11 display instead of the one configured via local configura- tion. -I SOURCE Only valid for -e: export the specified source as default to the X11 display instead of the one configured via local configuration. -c FILE Only valid for -e: export the PulseAudio authentication cookie stored in the specified file to the X11 display instead of the one stored in ~/.pulse-cookie. AUTHORS
The PulseAudio Developers <mzchyfrnhqvb (at) 0pointer (dot) net>; PulseAudio is available from http://pulseaudio.org/ SEE ALSO
pulseaudio(1), xprop(1) Manuals User pax11publish(1)
All times are GMT -4. The time now is 09:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy