As a work around, enabled direct login. and restarted the sshd. Then, it worked. (middleware team requested us to provide this capability, they need to upgrade something via installtion manager)
Please let me know, How can we access/open xwindows/xterm as root (when direct root login disabled).
Last edited by vbe; 01-27-2016 at 10:53 AM..
Reason: code tags.. not icode
if you can start X11 applications using your own user, but not root, run the command from vbe's post (echo $DISPLAY) first as user, then as root and find the difference.
What's wrong with having to do a su to root?
I would not accept that either and would use sudo... because now you have a user who knows the root passwd...
As a user if you sudo as root, the DISPLAY variable follows also...
What you are trying to do might take time, as it was discussed years ago as a security breach : we used to block access to root except on console, but the rascals coul connect as root via X11...
I remember seeing it was corrected ( didnt try though...) but did not follow to see how/what was done...
That said here no middleware team has root access, e.g. when installing ORACLE , at a point they need to execute root.sh as root, they have to ask a sysadm to do that... They dont ask me because I want to see the script and analyse first what its doing...
oh about :
Is that a new ssh connection? if so its has another display affected...
But if its an ssh from a new xterm of the user e.g.
Here I did ssh n12...
and using sudo:
Last edited by vbe; 01-27-2016 at 12:54 PM..
Reason: added using sudo...
Thanks for the reply. here " user " am referring it to as a system admin who knows the root password.
and has the capabilities to do su - root using their USER ID's. root password is not shared to other regular/app/db users.
I agree with you. But here in this case, unfortunately middle ware software installed using root credentials. (by co-ordinating with UNIX team, not shared the password).
there is no need to enable X11 at all for root, if they can run/upgrade via command line option.
but, they want to go with GUI mode/Installation Manager option. (which needs browser/X11)
This particular test server does not have sudo. will isntall and try your suggestion.
as user [user@aixlpar]/home/user>echo $DISPLAY
localhost:10.0
as root [root@aixlpar]/>echo $DISPLAY
maybe it is not the best solution to your problem, but everytime you log in as a user, issue the command and look at the output.
Then, after you did su or sudo just the variable again to the value, you've observed earlier:
Hi All
After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
I am trying to direct a AIX display to my XWindows and I am at a dead end now!
So this what I've done so far:
1. In putty settings, I set "Enable X11 forwarding" and also set "X diplay location" to "localhost:0" (without quotes, of course)
2. Via putty, connected to my AIX server
3. On... (1 Reply)
I have written a simple script to show battery life remaining. I would like to be able to quickly view it with a predefined keybinding or launcher.
xterm -e scriptname should do the trick but the xterm closes when the script finishes, not giving me chance to read the output. How can I keep... (3 Replies)
the question i have is why Xwindows(GUI) is not part of kernel level but part of user level in unix while in windows the GUI (Windows manager) it is part of kernel level.
For one thing is when GUI hangs it does not crash the whole system as in Windows
But windows avoids context... (0 Replies)
hi all
i have some question if any one can help me please
How get root without local ? :(
&
How get root with open port in server use the telnet ? :(
&
How get root with Buffer Overflows ? :(
please help me
thanx to all (2 Replies)
i m working on a project of making linux boot and run from a pendrive.
I have got a minimal root filesystem with busybox.
I wish to install X Server now. I downloaded the source tar balls, untarred them on the host system, used the default host.def issued commands
$make WORLDOPTS=-k World >&... (0 Replies)
i m working on a project of making linux boot and run from a pendrive.
I have got a minimal root filesystem with busybox.
I wish to install X Server now. I downloaded the source tar balls, untarred them on the host system, used the default host.def issued commands
$make WORLDOPTS=-k World >&... (0 Replies)
Hello ,
I've got a problem with my SCO 5.0.5 :
When I try to open a graphical session with any user account (login/password) ,
I get a black screen then go back to the scosession window .
For root account , there's no problem .
Any idea ?
Thanks . Regards (1 Reply)
I have written some Xwindows files would like to know how to compile them
tried this command
gcc -o main main.o -lXt -lX11
gives errors like could not find Xt & X11
help please (5 Replies)
I have a pretty basic XWindows question. I'm using Linux and the BASH shell. I want to connect to a machine that is running a Java IDE (we currently have I think "SlickEdit" but we're probably going to download Netbeans, Eclipse) and view the IDE on the client machine. I tried "xhost +" on the... (5 Replies)