I am confused. Which on which? Tell me now far you get on this sort of procedure:
In my life, for a virgin situation, I start the X server on the PC and then ssh over there and export $DISPLAY to point to me. Then I fire up an xterm. If you set $SHELL to your favorite, xterm -ls will use it. Then I do a window manager from that xterm and more xterm, xclipboard, etc.
I like a visual bell, big scroll buffer, nice icon and title labels, big windows 80x25 with big font, great for mentoring over my shoulder not to mention my fuzzy eyes.
I also use ultravnc viewer and vnc Xvnc on each host, so no desktops, windows or keystrokes are lost if the PC must go away, and only one desktop if a server is rebooted. My $DISPLAY is always ':1.0' !
Hi all,
I am using Sun Solaris 9 .In this system normal users unable to create files from the command line.I added these users in bin,adm and even root group i found them unable to create a file. (1 Reply)
Hi All
I have written one shell script for GPRS route add is given below named GPRSRouteSet.sh
URL="www.google.com"
VBURL="10.5.2.211"
echo "Setting route for $URL for GPRS"
URL_Address=`nslookup $URL|grep Address:|grep -v "#"|awk -F " " '{print $2}'|head -1`
echo "Executing ... (3 Replies)
hi
i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help
Thanks (5 Replies)
:confused: I installed latest version of java ( jre 1.6) on Solaris Machine ......when I run java -version as root, shows the latest version but when I run java -version as normal user, shows the old / previous version
What should I do to fix this ...should show the latest version... (3 Replies)
I've been through many threads before i decide to create a separate thread.
I can't really find the solution to my (simple) problem.
Here's what I'm trying to achieve:
As "canar" user I want to run a command, let's say "/opt/ocaml/bin/ocaml" as "duck" user.
The only to achieve this is to... (1 Reply)
Hi Every body,
I would need a shell script program to login as different user and perform some copy commands in the script.
example: Supppose ora_toms is the active user
ora_toms should be able to run a script where user: ftptomsp pass: XXX should login through and run the commands
... (9 Replies)
Hi!! one strange problem occurred with my RHEL 5 box.
i'm having logs folder with ownership of non-root user. Created some files with root user under logs folder.
here is the scene:
-rw-r----- 1 root root 1048227 Feb 28 12:34 SystemOut_13.02.28_12.34.10.log
-rw-r----- 1 root root ... (6 Replies)
Currently in my system Red Hat is installed. And Many user connect to my machine via SSH Techia Terminal.
I want to give some users a root level access.
Can anyone please help me how to make it possible. I too searched on the Google but didn't find the correct way
Regards
ADI (4 Replies)
Whenever i switch from root to another user, by doing su - user, it takes me to home directory of user. This is very annoying as i want to be in same dir to run different commands as root sometimes and sometimes as normal user.
How to fix this? (1 Reply)
Hi,
I need to switch from local user to root user in a shell script.
I need to make it automated so that it doesn't prompt for the root password.
I heard the su command will do that work but it prompt for the password.
and also can someone tell me whether su command spawns a new shell or... (1 Reply)
Discussion started by: Little
1 Replies
LEARN ABOUT SUSE
xon
XON(1) General Commands Manual XON(1)NAME
xon - start an X program on a remote machine
SYNOPSIS
xon remote-host [-access] [-debug] [-name window-name] [-nols] [-screen screen-no] [-user user-name] [command ...]
DESCRIPTION
Xon runs the specified command (default xterm -ls) on the remote machine using rsh, remsh, or rcmd. Xon passes the DISPLAY, XAUTHORITY and
XUSERFILESEARCHPATH environment variables to the remote command.
When no command is specified, xon runs 'xterm -ls'. It additionally specifies the application name to be 'xterm-remote-host' and the win-
dow title to be '-fIremote-host'.
Xon can only work when the remote host will allow you to log in without a password, by having an entry in the .rhosts file permitting
access.
OPTIONS
Note that the options follow the remote host name (as they do with rlogin).
-access
Runs xhost locally to add the remote host to the host access list in the X server. This won't work unless xhost is given permission
to modify the access list.
-debug Normally, xon disconnects the remote process from stdin, stdout and stderr to eliminate the daemon processes which usually connect
them across the network. Specifying the -debug option leaves them connected so that error messages from the remote execution are
sent back to the originating host.
-name window-name
This specifies a different application name and window title for the default command (xterm).
-nols Normally xon passes the -ls option to the remote xterm; this option suspends that behaviour.
-screen screen-no
This changes the screen number of the DISPLAY variable passed to the remote command.
-user user-name
By default, xon simply uses rsh/remsh/rcmd to connect to the remote machine using the same user name as on the local machine. This
option cause xon to specify an alternative user name. This will not work unless you have authorization to access the remote
account, by placing an appropriate entry in the remote users .rhosts file.
BUGS
Xon can get easily confused when the remote-host, user-name or various environment variable values contain white space.
Xon has no way to send the appropriate X authorization information to the remote host.
X Version 11 scripts 1.0.1 XON(1)