- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: How to automatically run xhost +servername aft...
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
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
тАО05-10-2003 07:50 PM
тАО05-10-2003 07:50 PM
I need to run Xwindow emulator at a remote PC from my SuSE8 server. Everytime after booting up the server, I need to login as root to run the command
xhost +servername
How can I config the SuSE8 to run above coomand automatically after booting up?
In AIX, there is no need to run this command in order to run Xwindow emulator at a remote PC.
Please advice. Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2003 01:16 AM
тАО05-11-2003 01:16 AM
Re: How to automatically run xhost +servername after boot up
Here are some areas to investigate.
It could be being blocked by your firewall.
check /etc/sysconfig/iptables
or
/etc/sysconfig/ipchains
depending on which firewall you installed.
You could also try testing by simply shutting off the firewall.
service ipchains stop
service iptables stop
Then test.
If this fixes your problem, then its a matter of finding out which port is being block and authorizing it in the firewall.
Its probably not that simple, because there are multiple areas that could be causing your issue.
Running the command you are asking about may not work(though your post seems to indicate it does) and for certain will open your box wide open to a security hole big enough to drive an Abrams tank through.
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
тАО05-11-2003 01:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2003 08:00 PM
тАО05-11-2003 08:00 PM
Re: How to automatically run xhost +servername after boot up
Great. It works. Thanks.
One more question. How can I chang profile to let user login from remote Xwindows to set, say ORACLE_HOME, PATH etc ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2003 11:23 PM
тАО05-11-2003 11:23 PM
Re: How to automatically run xhost +servername after boot up
you have to configure the profile file for each user. Which profile file you have to change depends on the used shell.
In case of bash, edit .bash_rc like this:
PATH=$PATH:/yourpath:/youpath
ORACLE_PATH...=/youroraclepath
export PATH ORACLE_PATH
best regards Frerk F