Sponsored Content
Operating Systems AIX Cannot open xwindows/xterm as a root Post 302965327 by system.engineer on Wednesday 27th of January 2016 10:44:38 AM
Old 01-27-2016
Thanks for the reply vbe.

echo $DISPLAY

did not write anything. But, if you directly login using root. It automatically set DISPLAY to

localhost:12.0


I did tried after setting up DISPALY for root,
Code:
[user@aixlpar]/home/user>su - root
root's Password:
[root@aixlpar]/>bash
[root@aixlpar]/>echo $DISPLAY

[root@aixlpar]/>export DISPLAY=localhost:17.0
[root@aixlpar]/>echo $DISPLAY
localhost:17.0
[root@aixlpar]/>xclock
Error: Can't open display: localhost:17.0
[root@aixlpar]/>

---------- Post updated at 10:30 AM ---------- Previous update was at 10:28 AM ----------

@agent.kgb,

Thanks for the reply. I've tried using user and as a root. please see above post. still its an issue.

---------- Post updated at 10:44 AM ---------- Previous update was at 10:30 AM ----------

difference is here,

as user
[user@aixlpar]/home/user>echo $DISPLAY
localhost:10.0


as root
[root@aixlpar]/>echo $DISPLAY
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

XWindows Question

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)
Discussion started by: doublek321
5 Replies

2. Linux

XWindows

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)
Discussion started by: wojtyla
5 Replies

3. SCO

I can't open a graphical session except for root

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)
Discussion started by: npn35
1 Replies

4. Linux

Xwindows

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)
Discussion started by: amu
0 Replies

5. UNIX Desktop Questions & Answers

Xwindows

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)
Discussion started by: amu
0 Replies

6. UNIX and Linux Applications

How get root without local & with open port in server

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)
Discussion started by: iis
2 Replies

7. UNIX for Dummies Questions & Answers

Xwindows in unix

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)
Discussion started by: sandesh.syr
0 Replies

8. Shell Programming and Scripting

How run simple command in xterm, and leave open?

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)
Discussion started by: spoovy
3 Replies

9. UNIX for Dummies Questions & Answers

xWindows error: xhost unable to open display

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)
Discussion started by: shoefiend
1 Replies

10. Solaris

Migration of system having UFS root FS with zones root to ZFS root FS

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)
Discussion started by: sb200
2 Replies
dsenableroot(8) 					    BSD System Manager's Manual 					   dsenableroot(8)

NAME
dsenableroot -- enables or disables the root account. SYNOPSIS
dsenableroot [-d] [-u username] [-p password] [-r rootPassword] DESCRIPTION
dsenableroot sets the password for the root account if enabling the root user account. Otherwise, if disable [-d] is chosen, the root account passwords are removed and the root user is disabled. A list of flags and their descriptions: -u username Username of a user that has administrative privileges on this computer. -p password Password to use in conjunction with the specified username. If this is not specified, you will be prompted for entry. -r rootPassword Password to be used for the root account. If this is not specified for enabling, you will be prompted for entry. EXAMPLES
-dsenableroot Your username will be used and you will be queried for both your password and the new root password to be set to enable the root account. -dsenableroot -d Your username will be used and you will be queried for only your password to disable the root account. -dsenableroot -u username -p userpassword -r rootpassword The supplied arguments will be used to enable the root account. -dsenableroot -d -u username -p userpassword The supplied arguments will be used to disable the root account. Mac OS August 08 2003 Mac OS
All times are GMT -4. The time now is 03:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy