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)
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)
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT DEBIAN
sux
SUX(1) User Commands SUX(1)NAME
sux - wrapper around su which will transfer your X credentials
SYNOPSIS
sux [OPTS] [-] [[username] [ARGS]]
suxterm [OPTS] [-] [username]
DESCRIPTION
sux is a wrapper around the standard su command which will transfer your X credentials to the target user.
Note, suxterm forces ARGS to be 'xterm', and will try to launch an xterminal window.
QUICK CALLING
'sux user' and 'sux - user' behave just like su but transfer $DISPLAY and the X cookies.
OPTIONS --untrusted
To generate an untrusted cookie, see 'xauth'.
--timout <period>
To generate a temporary cookie for <period> seconds, see 'xauth'.
-m,-p --preserve-environment
In this case sux will override XAUTHORITY to the so that xauth does not try to use the original user's .Xauthority file (which it
obviously could not do anyway due to access rights).
--no-cookies
Just transfer DISPLAY, not the cookies. You could do this if you have already transfered the cookies in a previous invocation of
sux.
--copy-cookies
Copy the cookies using xauth. This is the default method (and only method most of the time).
--use-xauthority
Instead of transfering the cookies, set the XAUTHORITY environment variable to access the original .Xauthority file. There's a cou-
ple caveats with this method. First, due to the access right issues it's only usable by root. But even then it may not work if the
.Xauthority file is accessed via NFS, e.g. if the home directories are on NFS (note that this is quite dangerous already since your
cookies will travel unencrypted over the network). Then, if root runs commands like xauth add/remove, the .Xauthority's ownership
will belong to him. This will leave the original user in trouble as he will no longer be able to access X! So only use this option
with great care. Finally, this method does not work if you also want to use '--untrusted' or '--timeout'.
--display
specify which display to use (in case of having more than one available).
AUTHOR
Originally written by Francois Gouget <fgouget@free.fr> Manpage written by Millis Miller <millis@faztek.org>
REPORTING BUGS
Report bugs to <millis@faztek.org>.
COPYRIGHT
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
su (1), xauth (1)
sux 1.0 Sept 2003 SUX(1)