SSH and REMOTE X......Not X Forwarding

I've setup several web servers at home for myself, a website, and WordPress on both virtual and real hardware to learn more about servers.
They have varied from just installing Apache on a Ubuntu desktop to installing my website and Wordpress on a lamp server without X.
I quickly learned the benefits of a server without X and a GUI, so I set a goal to setup and configure a lamp server without installing a GUI......and I finally accomplished it!!
Now I'll be the first to admit that I'm still more comfortable in a GUI environment compared to the command line. However, I have no problem using the command line when needed, and am comfortable navigating the file system and editing config files using nano, while still learning and trying to remember commands!!!
My question is where to get more info on how to access my current server without X installed, via SSH and remote X from my Arch desktop to use GUI apps.
I already use the "connect to remote SSH server" to remotely manipulate the file system over my local network using Nautilus.
If Nautilus will work via remote X, then all GUI apps in theory will work. I'm just having problems actually figuring out how to it!!!
I've read that, "By default, this feature is disabled (for security reasons)". So I need to
startx -listen_tcp
But to do that, I need to:
If this server is no longer running, remove /tmp/.X0-lock and start again.
But when the X server is not running, the tmp file referred to is not there!!
Any ideas on how to "toggle" this function on and off easily?
Security risks?
I would also appreciate any additional refrence material on remote X.
Last edited by jeff story (2009-10-11 19:42:15)

mcover,
First, I'd like to ask you something. Did I really say something so wrong that you have to be a rude f#&ker in your reply and try to belittle me for not knowing as much about how Linux works as you?? Did I unknowingly insult you in some way? Sorry if I did.
mcover said:
What you want to do is, run a bunch of GUI apps remotely on your server (let's call it machine B) and forward their X output to your machine (machine A). That certainly defeats the purpose of a server, but heck.. it's all possible.
OK, based on that statement, either you aren't getting what I'm wanting to do, or perhaps you can explain why you feel that way.
No, I don't want to run GUI apps on my server and forward X.....Thats exactly what I don't want to do.
Quote mcover:
That certainly defeats the purpose of a server
When I'm NOT going to install anything additional on my server to do what I want, and ask for security considerations?
Wow....
Quote mcover:
But the remote-SSH feature of Nautilus is in no way remote X or X-Forwarding.
So lets see.....server has no X installed, no Nautilus installed, and I use Nautilus (remotely from the OS and file system I'm manipulating)
Nautilus front end (GUI) can't display without X .....
....hmmm, Sorry if i'm not being clear enough for you. Did I screw up on some Linux terminology or something???? Please elaborate...
Quote mcover:
But I do suggest you get comfortable with the command line
Oh, you obviously missed this paragraph I wrote in the original post then:
Now I'll be the first to admit that I'm still more comfortable in a GUI environment compared to the command line. However, I have no problem using the command line when needed, and am comfortable navigating the file system and editing config files using nano, while still learning and trying to remember commands!!!
Quote mcover:
Then you'd have to look into VNC or NX.
As I said, I don't want to add anything (packages) to my server, so VNC works without X installed?
So thanks for your reply, but no thanks, I'll wait until either someone who understands what I am asking replies, or I'll just do more research on this subject on my own.
BTW: This is the first time I have ever lashed out at someone on a public forum.....but then again, you kinda deserve it don't you.
Last edited by jeff story (2009-10-11 23:56:19)

Similar Messages

  • Server 2003 routing and remote access not passing VPN traffic

    I've inherited a network that has two IP scopes that are routed through a Windows 2003 server with Routing and Remote Access.  I can ping both sides (we'll call them HQ and Plant) internally.  My firewall has an IP from the HQ IP scope and when
    I connect via VPN, I can see all the devices on the HQ network including the network card that is in the routing server for that "side".  However, if I'm connected via VPN, I cannot get to any of the IPs on the Plant side, not even the card
    in the routing server.  The buck stops on the server.
    I should mention, that the firewall assigns IP addresses that are on the HQ scope, so all VPN connections will have an address from that side.
    I'm lost on how to get this set up so my VPN traffic coming in from the HQ side can be routed to the Plant devices. 

    Hi,
    To be honest, your statement confused me a bit.
    VPN is used for external client get access to internal resource. When we setup VPN server, we usually have two NICs. We need choose a NIC that will be used when client initiate
    a connection request. I prefer to call it external NIC card. The internal one will work as DHCP relay agent. So this is a single way connection. You cannot dial from internal to external.
    If I misunderstood you, please elaborate what you are trying to do.
    Hope this helps.

  • SSH and media wiki not connecting from outside of my LAN

    I cant seem to connect to ssh or my mediawiki server from outside of my LAN. Ive forwarded all the needed ports and been going over my config all night. I also made sure my router wasn't blocking anything.
    -ssh tells me connection denied
    -when i go to my http server i can list directorys but as soon as i try to load media wiki i get a 502 error
    *these problems do not happen if im connecting from another machine in my local LAN
    This is my sshd_config
    # $OpenBSD: ssh_config,v 1.25 2009/02/17 01:28:32 djm Exp $
    # This is the ssh client system-wide configuration file. See
    # ssh_config(5) for more information. This file provides defaults for
    # users, and the values can be changed in per-user configuration files
    # or on the command line.
    # Configuration data is parsed as follows:
    # 1. command line options
    # 2. user-specific file
    # 3. system-wide file
    # Any configuration value is only changed the first time it is set.
    # Thus, host-specific definitions should be at the beginning of the
    # configuration file, and defaults at the end.
    # Site-wide defaults for some commonly used options. For a comprehensive
    # list of available options, their meanings and defaults, please see the
    # ssh_config(5) man page.
    #Host *
    # ForwardAgent no
    # ForwardX11 yes
    # RhostsRSAAuthentication no
    # RSAAuthentication yes
    # PasswordAuthentication yes
    #HostbasedAuthentication yes
    # GSSAPIAuthentication no
    # GSSAPIDelegateCredentials no
    # BatchMode no
    # CheckHostIP yes
    #AddressFamily any
    # ConnectTimeout 0
    # StrictHostKeyChecking ask
    # IdentityFile ~/.ssh/identity
    # IdentityFile ~/.ssh/id_rsa
    # IdentityFile ~/.ssh/id_dsa
    #Port 22
    Protocol 2
    # Cipher 3des
    # Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
    # MACs hmac-md5,hmac-sha1,[email protected],hmac-ripemd160
    # EscapeChar ~
    # Tunnel yes
    # TunnelDevice any:any
    # PermitLocalCommand no
    # VisualHostKey no
    #RSAAuthentication yes
    #PubkeyAuthentication yes
    #HostbasedAuthentication no
    #PasswordAuthentication no
    #HashKnownHosts yes
    #StrictHostKeyChecking ask
    #LoginGraceTime 120
    #PermitRootLogin no # (put yes here if you want root login)
    hosts.deny
    # /etc/hosts.allow
    sshd: ALL
    mysqld: ALL
    # End of file
    # /etc/hosts.deny
    ALL: ALL: DENY
    # End of file
    hosts.allow
    # /etc/hosts.allow
    sshd: ALL
    mysqld: ALL
    # End of file
    I feel like its a security policy or something im not catching.
    Ive been searching and working to fix this all night to no avail.
    Thanks ahead of time for any help.

    djszapi wrote:
    Hello ahronzombi!
    Do you try it with apache web server ? If yes, is there any related information in the apache.log when someone try to connect from out. What's in your http server related config files, vhosts, etc?
    Ill try that today. i tried something similar with sshd and looked at the verbose output of the program when trying to connect remotely. it was never touched, like no one tried to connect. i feel like its a network security issue since i can connect locally. but ill check these logs as well

  • BT Vision Box and Remote Control not working prope...

    Hi,
    Can anybody help me please?
    I have a black BT Vision Box. The remote control had increasingly been sticking so tonight I just turned the power off tonight, left it off for 20 seconds and turned it back on.
    It seemed to turn back on and reboot itself normally, it took the amount of time it normally does on a couple of occasions when it froze a few months back. However since I rebooted it approximately 3 hours ago it has been turning itself off and rebooting itself every 10 minutes or so. On one occasion when I turned it off on the front of the machine and left it for a few minutes, it turned itself on and started rebooting itself again. 
    The remote control is worse than when it was sticking, now there is a delay of up to 30 seconds after I press a button. Sometimes it does not work at all, when that happens it just becomes stuck and eventually reboots itself.
    So far I have tried turning it off and on again, I have also tried rebooting the internet connection (which is working fine). I have tried pressing the off button on the actual box for 10 seconds and resetting it that way. I have put new batteries in the remote. Nothing has worked. If anyone can help me that would be great.
    Solved!
    Go to Solution.

    Hi, 
    Unfortunately I can't get that far now.
    I turned all TV related systems off last night in an effort to see if it would work properly today.
    I came home from work and turned everything on. The system boots itself up until it gets to a grey screen that says "Nearly there..." with the BT logo in the bottom right corner. It stays like that for approximately one minute. Then it turns itself off and starts rebooting itself again. 
    I have tried pressing the on/off button on the front of the box and holding it in for 10 secs or so until the box turns itself off and reboots but the effect is still the same as above. 
    Do you have any other suggestions pleaase, aside from throwing it in the bin?

  • TS1741 Apple TV remote- no physical remote and remote app not working. ?

    Hi I've just got a new wireless network and my Apple TV is not connected to it, error message  when I go to tv channel for Apple TV.  Error telling me to go to settings etc and connect which is fine.  Issue is I have no physical remote and  I had the remote app downloaded but it is not connecting to Apple TV, keeps prompting for. Home sharing which I have/had already activated but won't allow me to interact with Apple TV .. How do I get Apple TV connected to new network and get remote working??

    You need the hardware remote.  You can not enable the remote app without it.  You can buy a replacement for $20.

  • Trusted RFC and Remote logon not possible due to Nat'd IP addresses

    Hi,
    We are trying to connect our SolMan 4 to our cusotmers ECC 6 and BI7 systems, the systems are off site and the IP addresses for the customers systems are nat'd when they come in and go out from our Network.
    The problem we get is that we cannot set up Trusted systems or Remote Logon to these systems due to issues with the Nating of the IP adresses. We can set up all standard RFC's after adding the the appropriate addresses into the hosts file and they work fine. But the trusted RFC does not set up properly and the BACK rfc from the satelite system does not get set up properly. What appears to happen is that when you try to start a remote session SAP goes to the satelite system and finds the Instance Name and the local IP address rather than the NAT'd IP address and try's to open a session from there. I found this by going into the trusted RFC in SM59 and then going to Extra's, System Information, Target System, this then tells me the Target System information, where it shows the System ID and IP address (which is the incorrect IP address).
    Anyone know how we can get the system to try to have the correct IP adress in the target system information so that we can get Remote Logon's to work??
    Cheers

    Hi Carl,
    Based on your explanation about Nating,, how will the RFC determine to connect to Solmans internal IP after it has been directed to the IP for the Router connection.
    I feel it is like configuring a jump of RFCs from one IP to another in a single chain.
    Can this be done ?? I mean we have to specify an IP in the RFC connection right.. so how will the automatic jumping of IPs be done.
    Sorry not answering the question but its very interesting and wanted to know.
    Also went trough note # 148832, might help.
    Regards,
    Kaustubh.
    Edited by: Kaustubh Krishna on Aug 13, 2009 12:17 PM

  • ITunes and Remote app not pairing

    I'm having an incredibly frustrating problem with the Remote app and I'm wondering if anyone knows what to do.
    The app has worked fine in the past. I've paired it to my iTunes library successfully and controlled it.
    Recently, it has stopped working. When I try to re-pair it with iTunes, one of two things will happen:
    1 - I will enter the passcode and iTunes will accept it, and then on the iPhone, I just get the spinning icon and then it times out. Most times when this happens, the library name on the iPhone is blank, even though I have a name set in iTunes. In the past, when this worked right, it had the right name; or
    2 - I will enter the passcode in iTunes and it will get stuck on "Verifying Remote Passcode" in iTunes. Then it times out and I'm left with no connection.
    So far, in attempting to solve the problem, I've:
    + installed the latest version of iTunes
    + deleted and reinstalled the Remote app on the iPhone
    + rebooted the iPhone and my iMac, and also reset the iPhone (hold down both buttons until the Apple logo appears).
    + changed the iMac's firewall settings to "set access to specific services and applications," added iTunes to the list, and set it to allow incoming connections
    + used the "Forget all remotes" option in the iTunes settings and then tried to pair again.
    I've searched google and these message boards and found plenty of others with the same problem, but no real solution (some of the things I did above came from suggestions I saw in these other threads, but none of it worked for me).
    The iTunes library and the iPhone are on the same network and in iTunes, the "Look for iPhone and iPod Touch Remotes" option is checked.
    Any ideas? Thanks!

    I really can't believe this question has not been answered yet. I'm having the exact same problem others have described. I posted on my blog regarding this issue with screen shots of the error I've been getting: http://ben.kwinix.com/blog/2009/11/20/oh-apple-what-does-this-mean/
    My network is more complicated than most: I have an Airport Extreme running a 5 GHz 'N' network and a Netgear routher running a standard 'G' network. The Airport is the primary device and acts as the DHCP server; the Netgear is set up as an extender. I use the Airport to connect my iMac, MacBook, and Apple TV and the Netgear to connect my iPhone and any other 'G' devices that come into the house. All devices when connected to either router are provided an IP address by the Airport in the "10.0.1.x" format. Also, all devices say that the "router" is 10.0.1.1, which is the Airport.
    When attempting to connect to any device on the network (either iTunes library or the Apple TV) with the Remote app from the iPhone, I typically get an error regarding a firewall or network settings. Everything is fully updated - latest versions of firmware, OSes, etc.
    I've followed the steps outlined in an Apple support article (http://support.apple.com/kb/TS1741) without success. Someone out there has to have an answer!

  • Problems running a particular app via ssh and remote X

    Got a few apps (including things like Matlab etc.) running off one of our Linux application servers.
    Am now trying to run Stata (using xstata-se) via SGD and it will simply not work.
    It works perfectly if you manually log in to the application server from a terminal with ssh -X and run the executable, but when using SGD, it connects, finds the application, says it's starting it, but then the connection to the Linux server is simply closed. The application session (with pause/play/X buttons etc.) remains even though an X window never appears.
    I've duplicated the Matlab application that works perfectly and simply changed the executable name, so nothing is configured differently but it still refuses to work, instead simply closing the connection.
    The /opt/tarantella/var/log/webtop.log on the specific SGD server shows that the app starts correctly, yet no X window ever appears - all other X apps work fine...
    I've found that there are errors logged in /opt/tarantella/var/log/wm_error.log with:
    X connection to unix:11.0 broken (explicit kill or server shutdown).
    Any ideas?
    Edited by: Hutch on 23-Feb-2011 07:28

    I was having the same issue with Eclipse. If I launched an xterm and then ran eclipse it worked fine but as a published application, it would die after showing the Eclipse splash screen for a second. Adding the ampersand to the end of the launch command fixed it. Strange.
    Thanks for following up your post with the fix. I don't think backgrounding the process from the SGD launcher would have ever occurred to me.

  • ITunes wireless sync and Remote App not working in in unison.

    I'm running iTunes on a Windows 8 machine, and I'm having issues getting both these above mentioned applications working together.
    I did have some issues in the beginning with setting up wireless sync for my iPhone, but these were fixed by restarting the Apple Mobile Device Service that runs in the background.
    The remote application seemed to have similar issues in the beginning, so I tried restarting the Apple Mobile Device Service - and this seemed to help, but then wireless sync faulted again.
    After having a bit more of a read, I made sure UPnP was enabled across the board - in my PC and router, SSDP on my PC was changed to automatic mode, all bonjour services were confirmed running and there and I couldn't see any funky rules in my firewall that may be causing me issues.
    I did find though, that both the remote app and the wireless sync functions operate on the same ports; TCP port 3689 and UDP port 5353. I'd imagine if this would be a problem, it would have been picked up - but I can't find any solid info to disregard this thought. Can anyone confirm or deny that this could be an issue?
    Any other ideas? Cheers.

    Welcome to the Apple Community.          (5)
    The following article(s) may help you.
    Troubleshooting Home Sharing
    Troubleshooting Wi-Fi networks and connections
    Recommended Wi-Fi settings

  • AirPlay appears in iTunes and Remote, but not in iPod on iPhone 4

    Have an AirPort and a new iPhone 4. When initially loaded, I could see AirPlay from the iPod, in iTunes and from Remote on the iPhone 4. Now, no AirPlay icon in the iPod. Can still access from Remote on the iPhone and from iTunes on my PCs.
    Any ideas much appreciated.

    Welcome to Apple Discussions!
    Do the songs from those playlists show up?
    Also, are the songs in the playlist purchased?
    Finally, is everything up to date on both computers...
    iTunes
    iPod Updater
    btabz

  • Remote and AppleTV will not Find Itunes?

    I have tried to connect to my iTunes with AppleTV and Remote but it will not show up as an option. My iPhone "sees" the AppleTV and communicates perfectly but not iTunes...even after doing every single step possible. I uninstalled the Remote App and reinstalled it, Turned off home sharing and turned it back on, I even formatted my HD and reinstalled everything but no go.  I have Home Sharing on the proper way.  My wireless router is working perfectly as well.  I disabled All Antivirus and Fierwalls.  Still no go. 
    As a test, I installed iTunes on my laptop at my house and Remote found it right away.  So, I thought it had to be a glitch in my PC and that's why I formatted it but it doesn't appear to be the case.  There's got to be an answer out there.  By the way, remote DID work on this PC in January.  It just stopped working.
    Does anybody have an answer to this?  I am sure I am not the only one with this problem.
    I look forward to any solution you might may have. 
    Thanks!

    Folks, I figured it out.  It was definitely the Wireless Router.  After I disabled the IGMP setting in my Verizon FIOS router and then rebooted my AppleTV and Remote..it worked perfectly.
    So, after wasting hours formatting and reinstalling everything, it ended up being a very easy fix...less than 5 minutes. It's pretty simple to find in the router settings too.  I hope this helps others. 

  • Port forwarding, NAT, SSH and Transmission.

    A couple of days ago I decided to setup the Transmission daemon, along with automatization for my downloads. Recently, however, to put a layer of security around my laptop, I set up a wireless router I had lying around that is now connected with a wire to my laptop. The reason for this is that I have no idea how iptables work yet, and until then I decided this will suffice for the moment. One of the problems though (yes, problems seems to come in twenty-fold where my luck is concerned), is that when I rewire my laptop directly to the internet, without the router, NetworkManager or Archlinux doesn't reset the ip address, which for some reason jumps to 192.168.1.122, which it never uses otherwise. I haven't yet tried reinstalling networkmanager, but when I did turn it off, dhcpdcd assigned the same address... The problem here being that it shouldn't assign a LAN-address, I'm directly connected to the internet. Sidenote here though; my internet connection is just a plug in the wall, the operators here (I live on a kind of campus), probably only use a network-switch to relay the traffic to the socket.
    That's that, my wired network doesn't work directly, only via the wireless router, wired or wireless. Because of this, I have to use port-forwarding for SSH (to test if the port forwarding works), and the Transmission daemon with an rcmp port of 9091., which was my intention in the first place. I have no idea if logging into my.ip.address.here:9091 in a browser would work, I just used localhost:9091.
    Now for the results:
    $ nmap -sT xx.xxx.xx.xx
    Starting Nmap 5.21 ( http://nmap.org ) at 2010-06-14 19:42 CEST
    Nmap scan report for xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    Host is up (0.038s latency).
    Not shown: 996 closed ports
    PORT STATE SERVICE
    22/tcp filtered ssh
    53/tcp open domain
    80/tcp open http
    9091/tcp filtered unknown
    Here it shows that the ports are actually not closed, but they're not exactly opened either, from what I gathered from the internet.
    SSH shows the true problem:
    $ ssh neal@xxxxxxxx
    ssh: connect to host xxxxxxxx port 22: Connection timed out
    SSH-ing to 192.168.0.102 (my internal ip) works, as does to localhost, same for Transmission webGUI. Before I used port-forwarding ssh would correctly say that it couldn't get traffic from the router.
    My router is a cheap solution to another problem I had, but it should work like any router. It's a Sitecom WL-607. I disabled login authentication for the moment. Also, there is no filtering going on in the firewall. Like I said earlier, I don't get iptables, so that's not being used. The hosts file allows all and denies nothing.
    TLDR version; I'm using port-forwarding on my Sitecom WL-607, but all ports except http and the 53 port are being blocked.
    Is there something I'm missing here?
    Thanks in advance,
    Neal van Veen.

    by default, all routers assign there clients an ip address from there internal pool of addresses, your wireless router is assigning you that address and then NAT's the connection with the WAN side, but even after directly plugging in to the wall socket you still dont get a new ip address, use dhcpcd <mydev> in terminal to reresh dhcp lease. if not then your campus/location/etc may also be using NAT on there own side.
    as for the ports, iptables doesnt block any traffic by default, it allows everything. if there is filtering, it is from your wireless router.
    on the above ssh and nmap scans, did u use your lan ip, or your public ip.

  • Error:Provide Host List - SSH User equivalence is not set up on the remote

    Hello,
    I've been receiving an error from OEM 10g GC when I attempt to execute a fresh install of the Agent:
    "1. Provide Host List - SSH User equivalence is not set up on the remote nodes."
    I'm using OEM Grid Control version 10.1.0.4 on a Solaris 10 platform. The agent will be installed on many 8i (post-8.1.7.4), 9i, and 10g clients.
    I've tried most, if not all, of the standard fixes that I've found online (such as Metalink note 376355.1).
    Has anybody had difficulties with this error, and what other fixes could I try besides the one in note 376355.1? Could this be an OS configuration issue, or something else?
    Thanks.

    How are you pushing the agent from 10104. This feature is not there in 10104
    this is supported from 10201
    http://www.oracle.com/technology/products/oem/pdf/10gr2_agent_deploy_bp.pdf

  • Since I downloaded the latest version of iTunes, my remote app on iPhone and iPad does not connect to iTunes library... Any ideas?

    Since I downloaded the latest version of iTunes, my remote app on iPad and iPhone does not recognise ,or connect to, my iTunes library... Any ideas ?

    Hi Pittgo76,
    If you appear to missing your iTunes library after a recent update, you may find the following article helpful:
    Apple Support: No content shows up in iTunes after updating
    http://support.apple.com/kb/ts1967
    Regards,
    - Brenden

  • Remote app on iPod touch and iPhone will not pair with Apple TV

    I have an iphone 3G and ipod touch with the remote app installed. I am unable to pair either with my ATV. When I go to remotes on my ATV and remote app on either ipod or iphone there does not appear to be an option to control apple tv.

    System Requirements for Remote (Apple TV)
    iPhone or iPod touch with software version 2.0 or later
    Apple TV with software version 2.1 or later*
    * iPhone or iPod touch software version 3.0 or later and Apple TV software version 2.4 or later are required for the directional remote feature
    Here's how it works: About Remote for iPhone and iPod touch, http://support.apple.com/kb/HT1947

Maybe you are looking for

  • IPhone can't connect to my wifi, can connect to others. My other devices are fine. Basic T-shooting steps fail.

    Sorry for the repeat post but I want to get more help with this. Prior to problem: All devices surfing wirelessly on Airport Express. Replaced Airport Express with Time Capsule. Problem: Wife's iPhone4 (5.1.1) can not surf on wifi provided by my time

  • G780 Fn+F6 on\off touchpad is not working

    Not having Fn F6 to disable the touch pad is a most annoying problem on my G780.  Had to do a windows 7 (64 bit) clean install a couple of months ago.  After selling me Windows 7 discs Levono support has been zero help.  I have a wireless mouse conne

  • ITunes not showing music

    I have all my music and itunes library on a Mac server on my home network.  On my laptop, I cna connect to the serber, launch itunes and it shows the music on the server.  However, from my iMac, when i connect to the server and launch iTunes it does

  • Imac 5.1 white 17" 2.16 ram capacity

    I understood it to be 3 gigs, but went ahead an put 4 in as it's so inexpensive and for the potential of any benefit coming from parity....it would appear that the machine does in fact see it all. Activity monitor shows 4 gigs as does system profiler

  • PTWC 2.2 and Export Datagrid to Excel

    I have a portlet with an Image Button control that will export a Datagrid to Excel. Using the PT Web controls 2.2 I get a JavaScript Error (Object is Null or Nothing). It works fine outside of the portal. My current work-around is to use an IFrame. H