Startx xclock on virtual lpar


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 1  
Startx xclock on virtual lpar

Hello,

Is there a way to run
Code:
xclock

or
Code:
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 [startx] on the AIX Lpar and run on it the xclock

In the attachment,

the ones that show localhost
Code:
root@oradb:/>echo $DISPLAY
10.1.1.71:1.0

while on cloapp, it shows
Code:
root@oradb:/>echo $DISPLAY
support:0.0

support is = 10.1.1.71


How can I make CLOAPP same as oradb (which is localhost on the XMANAGER )
Startx xclock on virtual lpar-xmanagerpng

Last edited by filosophizer; 09-21-2018 at 11:57 AM..
# 2  
getting this error
Code:
X connection to  hostname:0.0 broken (explicit kill or server shutdown)


Last edited by RudiC; 09-21-2018 at 07:08 PM..
# 3  
Quote:
Originally Posted by filosophizer
Is there a way to run
Code:
xclock

or
Code:
startx

on LPAR, since LPAR doesn't have any console or it is connected to HMC
I have (in a cursory way) described how XWindows works already here but you might profit from me expanding on that a bit:

XWindows is a complete networked system for working with graphically oriented programs. In fact it is more a client/server-oriented protocol (like, i.e. ftp) rather than a piece of software.

On one hand you have some graphical display - a graphics adapter attached to a system and a screen capable of graphical output (for the sake of simplicity we will voluntarily leave out multi-screen displays and other complicated things for now). This is called an X-server, because it provides certain capabilities whcih can be used by clients. In fact an X-server is a piece of software which manages this piece of hardware. Think of it as a networked graphics driver.

On the other hand there are programs being able to use the capabilities such an X-server provides: these are called X-clients. Notice that the X-server usually runs on the client machine (the one you sit in front of) and the X-client runs on the server system (i.e. a machine in the data centre). This can be a bit confusing at first, but actually from the role the various software pieces are playing - here a pice that provides some service, there a piece that makes use of this service - it makes perfect sense.

In between these two programs there needs to be a network connection (except for the special case where they are running on the same system) and in fact XWindows has its own transport protocol: X-protocol (now, who'd have thought this is its name?). X-protocol per default uses port 6000.

This is what you need the DISPLAY-variable for: it tells the X-client (in your case: xclock which server to use to display itself. There could be more than one server in the network. The DISPLAY-variable has the following format:

<FQDN>:<Display-Nr>.< Screen-Nr>

i.e.: myclient.somecompany.com:0.0 means: use the X-server on myclient.somecompany.com for output and display it on the first screen (screen 0) of the first display (display 0). A system could have several displays attached and each display could consist of several screens, hence the numbers. So you set the DISPLAY-variable in the environment of the X-client process first, then start the X-client. The X-server has to run already for this.

Now, an X-server might not want to allow every client to use it, so there is some sort of access control. This is what the program xhost is for. I suggest to carefully read its man-page, but for test purposes we can simply switch off any access control with:

Code:
# xhost +

Nota bene: you do this on the X-servers side, because having access control only makes sense on the system where the X-server runs. Now (and given that no firewall interferes with port 6000) it should work.

I hope this helps.

bakunin
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #143
Difficulty: Easy
Apple released a Unix system called Darwin in 2000 which became the core of the Mac OS X operating system, which was later renamed macOS.
True or False?

10 More Discussions You Might Find Interesting

1. AIX

LPAR missing virtual interface

Note: Newbie to IBM virtualization :-) Query: Created a new AIX7.1 lpar on a system with same config as one before however the new one is having issues going out to physical network. Now on comparison the only thing which differs between these two machines is an additional en1 and ent1 shown... (7 Replies)
Discussion started by: max
7 Replies

2. AIX

How to differentiate between a standalone LPAR and a VIOC (which again is a lpar)?

There can be configurations in IBM Server wherein a standalone partition is created on some supported IBM Server Or A VIOS - VIOC LPARs created. Now in both cases they are lpars. But if I want to differentiate b/w a standalone LPAR vs an VIOC LPAR how can I do..? On a... (2 Replies)
Discussion started by: Manish00712
2 Replies

3. AIX

VIOS: Extend virtual disk assigned to running lpar?

Hello, VIOS 2.2.1.4 using IVM. I'm trying to extend a virtual disk assigned to a running lpar so that I can expand the lpar's datavg and grow some filesystems for the user. Storage admin expanded the lun and new size was reflected in VIO right away. I then needed the storage pool to... (2 Replies)
Discussion started by: j_aix
2 Replies

4. Solaris

Xclock help

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

5. AIX

Adding Virtual Adapter to LPAR

Hello, hopefully someone can help me out with this, I have created a virtual Ethernet adapter on the VIO but would like to add it to my new LPAR. On my VIO only my disk is mapped. $ lsmap -all SVSA Physloc Client Partition ID --------------- --------------------------------------------... (5 Replies)
Discussion started by: audis$
5 Replies

6. AIX

LPAR freezes after switching of storage (lpar is mirrored)

Hi all, I have the following configuration 2 ds3524 storage disk systems located over 2 locations 2 P720 server located over 2 locations DS3524 are connected to san switch. Each vio server has 1 fc adapter attached to a san switch. per p720 server 2 virtual io servers. Vio 1 has 1 lun... (2 Replies)
Discussion started by: markiemark
2 Replies

7. AIX

How to open multiple virtual terminals to a single LPAR

I just wondering if there are ways to open multiple virtual terminal to a single LPAR. After I have use putty to login to the VIOS. I will use mkvt -id <LPAR id> to open console but if my friend want to open 2 second one, it will say, VT already connected. IS there a way to work this around ? ... (1 Reply)
Discussion started by: wingcross
1 Replies

8. AIX

Installed AIX6.1 in LPAR, but fail to start xclock

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

9. AIX

LPAR processor/virtual processor settings

Question is on setting of Physical and Virtual processors for LPARs to make proper use of virtualization capabilities. Environment is a 8-way p570 with 4 LPARs. lparVIO1 and lparVIO2: AIX 5300-04-01 Mode/Type= Shared-SMT/Capped Minimum Processors= 0.10 Desired Processors= 0.50 Maximum... (1 Reply)
Discussion started by: guttew
1 Replies

10. AIX

Help urgent : vio server - add extral disk on virtual lpar

Hi, I define 2 new LV on the vio server and run a cfgmgr on the partition and see my 2 new hdisk (hdisk6 and hdisk7). I extend my vg vg000 (on the partition) and add the 2 hdisks. I had a filesystem on the vg000 and when I added the disk I would like to increase the filesystem. But I cannot do a... (0 Replies)
Discussion started by: touny
0 Replies

Featured Tech Videos