09-06-2018
Quote:
Originally Posted by
hicksd8
So are you publishing a solution here or do you still have a problem?
Thanx. I have edited and clarified that I cannot get to X11. That is my problem. I dont have a GUI. why?
9 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Hello All.
Really a newbie to Linux/Unix. Trying to get into Linux. Using XP PE currently. Installed cygwin and trying to intall cygwin-x. Everything else is setup nice but i can't seem to install these two packages (without whom xwin won't start)
1. xorg-x11-f100
2. xorg-x11-fnts
Tried the... (1 Reply)
Discussion started by: binodbdrchand
1 Replies
2. Solaris
Hello,
I am trying to install Nmap on my Solaris machine. I got errors at the very last of "make" command though. Could someone point me out what I am lacking?
Thank you!
Nmap version: 5.50 (nmap-5.50.tar.bz2)
Solaris version (cat /etc/release):
Error message ( run "./configure &&... (0 Replies)
Discussion started by: fragile_it
0 Replies
3. Solaris
Hi,
I'm new on this forum. I'm working on Solaris 11 (Express Edition) and I must install some programm created only for RedHat system (I don't want to buy or download RedHat). So I search for this tools and I find a working script for Solaris 9 and 10, but I need that for Solaris 11. So I search... (1 Reply)
Discussion started by: Fraste_
1 Replies
4. UNIX for Advanced & Expert Users
I can log into a unix system with Putty. I've set the "X11 forwarding" checkbox, and I've verified that I can display an X11 window back on my laptop. What I need to be able to do is "su" to another uid after logging in and then run something which display a window back on my laptop, with the... (2 Replies)
Discussion started by: dkarr
2 Replies
5. Solaris
Short version:
pfexec zpool scrub rpool fails saying I do not have permission to perform that action. Apparently scrub is not one of the pfexec allowed actions. Any idea on how to get around it?
Long version:
I got tired of manually running scrubs and am trying to set it to happen... (4 Replies)
Discussion started by: taltamir
4 Replies
6. Solaris
I am trying to connect via Xmanager 4 to a T4-2 server running Solaris 11.
I checked the /etc/gdm.custom.conf file.
The error I get is
The MAC (Message Authentication Code) of packet is incorrect
When I start the Xmanager on soalris I get a message
/dev/fb (file or directory) does not... (2 Replies)
Discussion started by: Maqsood Mohamme
2 Replies
7. Solaris
Simple question.
I have a solaris11 test machine
When i try to join a samba4 domain
give me this error
"kinit succeeded but ads_sasl_spnego_krb5_bind failed: invalid credentials"
When i join a w2003r2 AD..works perfect
I check network ok,dig,reverse ok..
my conf file is
... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies
8. Solaris
Hi all,
Just istalled Solaris 11.
Want to configure network interfaces and got some problems:
#dladm show-phys
#
#dladm show-link
#
If i run ifconfig -a, i am getting 2 lo0 (loopback) interfaces and thats all.
I can't enable interface, can't list it, can't assign IP to it.
Can... (2 Replies)
Discussion started by: nypreH
2 Replies
9. Solaris
Hi,
I need to block ssh port 22 from all the servers except one server ip.
Until solaris11.3 and below, I used to do like below(under /etc/ipf/ipf.conf),and it's working fine
pass in quick from $server_ip to any port=22
block in quick from any to any port=22
But I tried almost same in... (1 Reply)
Discussion started by: Sumanthsv
1 Replies
LEARN ABOUT DEBIAN
shell-quote
SHELL-QUOTE(1p) User Contributed Perl Documentation SHELL-QUOTE(1p)
NAME
shell-quote - quote arguments for safe use, unmodified in a shell command
SYNOPSIS
shell-quote [switch]... arg...
DESCRIPTION
shell-quote lets you pass arbitrary strings through the shell so that they won't be changed by the shell. This lets you process commands
or files with embedded white space or shell globbing characters safely. Here are a few examples.
EXAMPLES
ssh preserving args
When running a remote command with ssh, ssh doesn't preserve the separate arguments it receives. It just joins them with spaces and
passes them to "$SHELL -c". This doesn't work as intended:
ssh host touch 'hi there' # fails
It creates 2 files, hi and there. Instead, do this:
cmd=`shell-quote touch 'hi there'`
ssh host "$cmd"
This gives you just 1 file, hi there.
process find output
It's not ordinarily possible to process an arbitrary list of files output by find with a shell script. Anything you put in $IFS to
split up the output could legitimately be in a file's name. Here's how you can do it using shell-quote:
eval set -- `find -type f -print0 | xargs -0 shell-quote --`
debug shell scripts
shell-quote is better than echo for debugging shell scripts.
debug() {
[ -z "$debug" ] || shell-quote "debug:" "$@"
}
With echo you can't tell the difference between "debug 'foo bar'" and "debug foo bar", but with shell-quote you can.
save a command for later
shell-quote can be used to build up a shell command to run later. Say you want the user to be able to give you switches for a command
you're going to run. If you don't want the switches to be re-evaluated by the shell (which is usually a good idea, else there are
things the user can't pass through), you can do something like this:
user_switches=
while [ $# != 0 ]
do
case x$1 in
x--pass-through)
[ $# -gt 1 ] || die "need an argument for $1"
user_switches="$user_switches "`shell-quote -- "$2"`
shift;;
# process other switches
esac
shift
done
# later
eval "shell-quote some-command $user_switches my args"
OPTIONS
--debug
Turn debugging on.
--help
Show the usage message and die.
--version
Show the version number and exit.
AVAILABILITY
The code is licensed under the GNU GPL. Check http://www.argon.org/~roderick/ or CPAN for updated versions.
AUTHOR
Roderick Schertler <roderick@argon.org>
perl v5.8.4 2005-05-03 SHELL-QUOTE(1p)