Programming :: Using Ssh Cant Access Applications Off Of Host?
Oct 20, 2010
I am using ssh on windows XP to remotely connect to a UNIX server that provides web application development services. The server is called snapper and is also designed to run computer-intensive engineering and GIS applications. I have been able to successful access the server. However, when I try to run an application I get an error message saying:Application initialization failed: no display name and no $DISPLAY environment variable
The ANSYS Launcher could not be started The most likely reason is that your DISPLAY environment variable I either not set (i.e. issue setenv DISPLAY dev:0.0 where dev is your device name) or is set to a device that is not accepting the connection. I was hoping someone could explain to me what the DISPLAY environment variable is and how to set it.
I recently acquired an android device and would like to be able to ssh into my machine and launch certain X applications ( Amarok, other video players) This works well when I launch server tasks that don't require an interface, however when trying to launch Amarok on the host from a remote session, I get an error about DBUS and display obviously. Just to clarify, I do not want them to launch on the phone itself but on the host, If I start them manually while at the host II can then control them remotely fine once they are started. . .
For the life of me I can not figure out what I am doing wrong with scp to copy a directory and its contents from a remote machine to my local host. I have no issues with getting a single file but would like to just save time and get the whole folder in one command.
Here is what I have tried:
scp user AT remoteMachine:/home/username/folderIwant user AT localMachine:/folderIwant this gives me a permission denied error and try again and received disconnect from localHost to many authentication failures
scp user AT remoteMachine:home/username/folderIwant . says can not find file or folder
I am sure this is something easy that I cant remember, and searches gives me local to remote not remote to local and trying to make the local to remote suggestions I read to work remote to local have not worked.
the host image has an apache server running, and I want to access the server from the local machine. I can access the server with the IP address, but not with the name.
I'm setting up a LAMP production server for the first time. When I installed Ubuntu server edition, I selected to install Samba. My idea was to be able to easily access the server's files on the LAN using Windows. All was well and I could ping/ssh between Windows and the Ubuntu server without any problems using the host names. Later, I became concerned that running Samba on a production server might introduce security issues. Therefore, I used apt to purge Samba.
Now I am unable to ping/ssh between the Windows machines and the server using the host names. It only works if I use the IP address.
Two questions:
1.) Is it a security risk to run Samba on a production LAMP server?
2.) How do I get back to being able to use host names without installing Samba?
is it possible to use yum in any way when a computer is not connected to the internet(but when full install media is available; for example the dvd)? Or should I resolve all dependencies manually using rpm?
I'm running sugarCRM with fedora 11.I want to make my sugarCRM send email to my gmail account . But I always get this error : imap.gmail.com: No such host. I'm sorry to bother this question here ,but I can't fine a good answer from SugarCRM forum .And I have struggled with this question for days .Here are some details:
Operating system type and version Fedora11 Sugar version and edition Sugar Community Edition Version 5.2.0j Webserver type and version httpd-2.2.13-1 PHP version php-5.2.9-2.fc11.i586 MySQL server version mysql-5.1.37-1.fc11.i586
I would like to access the ssh port of my office linux host from home. Unfortunately the host is located behind a NAT router. So, the IP address is not publicly available. There is however access to another internet host (Server) which is unfortunately only non-root access.
-Office PC (linux, root access) behind NAT (IP not public) but full Internet access. -Server PC (linux, no root access) static and public IP and full Internet access. -Home PC (linux, root access) behind NAT (IP not public) but full Internet access.
I want to give some web address to host file and except these web address no website will open. For example I give permission for [URL] and [URL]. The user just enter these 2 website. Other websites will be blocked.
We are using Nagios Server for different sites say India,US,Germany. All of them are in their respective groups. Now how do i create web access to 3 of them, so that they can monitor only their server? Say, India shouls be able to see and monitor only India group, US guys should able to monitor only US servers. And they not be anle to access other group.
I used to be able to access the web server I had running on my guest OS in Virtual Box from my host OS. I also had it set to the network settings of "Host Only Adapter". Then I needed to access the internet directly on the gues OS, so I changed my settings on the guest OS to "NAT" (in virtual box), and in /etc/network/interfaces, I removed the loopback stuff and the static IP I'd put in. Now no matter what I do, I cannot get it back to being accessible from the host os! I even did a completely NEW install of Ubuntu guest OS in Virtual box Guest OS: Ubuntu 10.04 Desktop Host OS: OpenSUSE 11.3 VirtualBox: 3.2.6
I've just installed LAMP. http://localhost/ page works fine. I need to create some virtual hosts. Localhost page is situated in /var/www/. It's normal for me, and I wanted to created virtualhost (in /var/www/vhost1) But it doesn't open in browser. Where is my mistake?
/etc/apache2/ports.conf Code: NameVirtualHost *:80 Listen 80 <IfModule mod_ssl.c> # If you add NameVirtualHost *:443 here, you will also have to change # the VirtualHost statement in /etc/apache2/sites-available/default-ssl
I've set up bridged networking so that I can have KVM virtual machines that are accessible from outside the host. I can access both the Host and my VM from other machines on the local network, and from the VM I can access the internet but from the Host I can only access my local network. Since I can access the local network and the same issue applies regardless of whether I use host names or IP addresses I suspect it's not picking up the gateway properly.
How do I go about allowing the VM host to access the internet while still having bridged networking so I can access my VMs?
What I've checked so far: Ping Google DNS (8.8.8.8 ) From Host: Destination Host Unreachable From VM: Suceeds
[Code].....
The issues are only with accessing things outside of my subnet. I can access other machines on the same subnet from the Host just fine.
My server is installed on a guest OS on vmware. It really bugs me because I can't access it from the host OS's browser even though there is no discrepancy between /etc/hosts, /etc/sysconfig/network, httpd.conf files. Issuing ifconfig command also returns the same IP. I have also enabled netwroking in the vmware settings. And I can ping the guest OS's IP from the host.
Whenever I try to do anything that requires administrative permissions, including Synaptic, the Update Manager, or installing something on the Software Center, the "Starting Administrative Application" task comes up on the window list, but then the window does not come up and whatever action was supposed to be taken does not happen; no error messages, nothing. Also, whenever I use su or sudo in the command prompt, nothing shows up when I type my password; then when I hit Enter, it gives me an authentication error.
EDIT: It seems that the "Add/Remove Applications" program as well as the Software center do not have this problem. Synaptic and the Updates Manager, however, still do not work.
I'm wondering if it's possible to control what applications are available to certain users on a per user basis.
My motivation:
I have separate logins for audio production and general admin. Under Applications > Sound & Video I have tonnes of audio apps, but as I never use these under my general admin account, there's little reason to list all of them.
how is the applications menu configured? I'm wondering because I'd like to create some custom sections.
I'm currently working on a project in a secure environment with no internet access and I need to install Ettercap and Wireshark on the machines. I thought this would be a simple task of loading Wireshark onto a USB but this did not work and replied with error messages such as: ' Invalid config x86_64-unknown-linux'
what does the error message mean and do I need internet access to install the apps?
WinXP Host Ubuntu 10.04 is the guest Mysql is installed in ubuntu and it works fine in the guest (ubuntu) Internet works fine in the host and the guest. Bridged Network.
Now, here is the thing... i want to access mysql from my host to load some data into it.
I can not access my MySQL database from any remote host on my home network, I keep getting "Access denied for user 'dbuser'@'192.168.1.10' (using password: YES)"
From what I've read this seems to be a permission problem, I tried
I've installed VirtualBox OSE and have a couple of guest OS setup. I am running Ubuntu 11.04 and VBOSE version 4.x (the most current). Now this installs the guest OS virtual harddrives to a folder in my home directory. How do I get other users on the same host machine access to those virtual machines within VB? Currently logging in as another user and going to Applications/Accessories/VirtualBox OSE ... the list of guest machines is empty save of course on my login.
If there is a general NFS share in the LAN and for example this share has three files - a, b, c is there any way to restrict file access to the root user of one particular host(falcon) in the same LAN environment while the normal users from the same host(falcon) should be able to access the NFS share & files a, b, c.
I cannot access/ping my Debian server. I know the IP is right (ifconfig, route and ip addr) all gave me 10.0.2.25 (route gave me 10.0.2.0).I cannot ping it from any computer in my netwerk, even when I try to ping it from my Debian itself, it gives me Destination Host Unreachable !(Wierdly, I can ping 10.0.2.2 tho).I am using virtualbox when the netwerk options 'NAT' turned on. When I look at my /etc/network/interfaces/ the last line looks like:iface eth0 inet dhcpShouldn't their be some other stuff listed?
I'm running a Fedora 10 box behind a Comcast cable modem that provides squid and mail services to 15 XP and Vista workstations. I upgraded the ethernet cards on our Fedora box to support our new 1 gigabyte network. I kept the same device configuration eth0 and eth2 by updating the /etc/udev/net persistent file and changing the ethernet hardware address in the respective ifcfg-eht files in the /etc/sysconfig/network-scripts. The box booted to the new cards, the route and ifgonfig shows the new cards and their hardware addresses, the configuration looks as how the old cards looked (eth0 and eth2 respectfully). I was able to browse the local network and have access to the internet as before from inside the network . However I cannot get access to our web server that serves our web host and our VPN services from ouside our network. I tried stopping the firewall and still could nor connect from outside the network.Could my old ethernet hardware address be hard coded somewherel?
I have Fedora 12 (Fedora-12-i686-Live.iso) installed and booting in a VMWare workstation (version 6.5.3). I am able to login as the LiveUser.
I need information on how to access the drives on my host which is WindowsXP. My C: on the host is shared, and my network adapter for the VM is "NAT".
The only directory listed in my /mnt directory is "live".
My Fedora enviornment is "bare bones". There is nothing installed except for the original files from the "iso" loading procedure.
I also have been unable to get the VMWare tools installed, and I don't know if this is related. I don't mind bypassing this if this isn't required. My only desire right now is to access my C:
I am trying to access shared folders in Virtual Box with Host OS being Windows7 and Guest OS is Fedora. Did anyone face a similar problem? I have been going through many solutions but none of them worked out. I am able to keep the required folders in Shared Folders making them Auto-Mount and Permanent. I tried to install Guest Additions from Devices, but I am not sure how to install the Guest-Additions software in Fedora. how to proceed so that I can access files in my shared folder.