- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to disable X Windows?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2006 04:45 AM
тАО04-17-2006 04:45 AM
How to disable X Windows?
I tried xhost - but when I run xhost again it says:
access control disabled, clients can connect from any host
Also, I have the following line in: /etc/dt/config/Xconfig but it still doesn't do it.
Dtlogin.requestPort: 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2006 04:54 AM
тАО04-17-2006 04:54 AM
Re: How to disable X Windows?
Can remove this from startup or while running do /sbin/init.d/dtlogin.rc stop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2006 04:59 AM
тАО04-17-2006 04:59 AM
Re: How to disable X Windows?
See the following link
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=788343
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2006 05:32 AM
тАО04-17-2006 05:32 AM
Re: How to disable X Windows?
Change:
DESKTOP="CDE"
to
DESKTOP=""
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2006 06:37 AM
тАО04-17-2006 06:37 AM
Re: How to disable X Windows?
# ./dtlogin.rc stop
# ps -fela | grep -i dtlogin | grep -v grep
#
# xhost
access control disabled, clients can connect from any host
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2006 06:41 AM
тАО04-17-2006 06:41 AM
Re: How to disable X Windows?
Turn off the font server.
/sbin/init.d/xfs stop
edit
/etc/rc.config.d/xfs
Make the first variable equal to 0
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2006 07:19 AM
тАО04-17-2006 07:19 AM
Re: How to disable X Windows?
First, perform xhost from an X terminal. If the output report access control is enabled (and possibly lists the hosts that can receive X Window logins), this is not a finding. It may be necessary to define the display if the command reports it cannot open the display. Define the display with DISPLAY=
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2006 07:36 AM
тАО04-17-2006 07:36 AM
Re: How to disable X Windows?
xhost is tied directly to the Xserver process. If you truely want to disable all x access into the system, you will have to disable the Xserver process. I am not that knowledgable about Xserver, but I do know it listens on port 6000. If you disable that port, then no system will be able to connect graphically, regardless of of the xhosts output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2006 08:15 AM
тАО04-17-2006 08:15 AM
Re: How to disable X Windows?
The description is: The system is exporting X displays to anybody.
My question is: Why doesn't running the xhost - not make any difference?
And if it did work, would be sufficient?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2006 08:23 AM
тАО04-17-2006 08:23 AM
Re: How to disable X Windows?
If you look at the man page for xhost, it states that it is not a very good security measure, and that other methods should be used if you want a more secure environment....
From the man page on xhost:
The xhost program is used to add and delete host names or user names
to the list allowed to make connections to the X server. In the case
of hosts, this provides a rudimentary form of privacy control and
security. It is only sufficient for a workstation (single user)
environment, although it does limit the worst abuses. Environments
which require more sophisticated measures should implement the user-
based mechanism or use the hooks in the protocol for passing other
authentication data to the server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2006 10:35 AM
тАО04-17-2006 10:35 AM
Re: How to disable X Windows?
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=945618
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2006 10:42 AM
тАО04-17-2006 10:42 AM
Re: How to disable X Windows?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2006 01:37 PM
тАО04-17-2006 01:37 PM
Re: How to disable X Windows?
UNIX95=1 ps -fC dtlogin
This method (to find processes by name) is stronlgy recommended over using grep.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2006 01:39 PM
тАО04-17-2006 01:39 PM
Re: How to disable X Windows?
UNIX95=1 ps -fC dtlogin
This method (to find processes by name) is stronlgy recommended over using grep. Kill the dtlogin process(es) and the Xwindow port will now be closed.
Bill Hassell, sysadmin