Results 1 to 12 of 12

Thread: Remotely supporting Redhat

  1. #1
    TiG
    TiG is offline
    Walk a mile in other peoples shoes...
    Join Date
    Jul 2003
    Location
    Questioning it all
    Posts
    6,213
    Thanks
    45
    Thanked
    48 times in 43 posts

    Remotely supporting Redhat

    Got a slight problem with a redhat box i'm working with, in the sense that we're running a 3rd party app (large money one) on it and termainal windows provide 0 support functionality for it.

    Everything for the configuration and support is in the Xwindows environment. Anyone know of any functionality to launch an Xwindows session from a windows machine?. I seem to remember using one ages ago but haven't been able to track down anything without a fee attached to it at present?.

    Any suggestions

    Cheers
    TiG
    -- Hexus Meets Rock! --

  2. #2
    Administrator Moby-Dick's Avatar
    Join Date
    Jul 2003
    Location
    There's no place like ::1 (IPv6 version)
    Posts
    10,665
    Thanks
    53
    Thanked
    385 times in 314 posts
    Vnc ? secure it through an SSH tunnel ?
    my Virtualisation Blog http://jfvi.co.uk Virtualisation Podcast http://vsoup.net

  3. #3
    TiG
    TiG is offline
    Walk a mile in other peoples shoes...
    Join Date
    Jul 2003
    Location
    Questioning it all
    Posts
    6,213
    Thanks
    45
    Thanked
    48 times in 43 posts
    Never even used VNC on linux before, to be honest not even considered it based on not knowing it supported redhat. Sounds sensible way of doing things tho.

    TiG
    -- Hexus Meets Rock! --

  4. #4
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    http://forums.hexus.net/showpost.php...1&postcount=12

    not redhat specific, but hopefully informative

  5. #5
    Gentoo Ricer
    Join Date
    Jan 2005
    Location
    Galway
    Posts
    11,048
    Thanks
    1,016
    Thanked
    944 times in 704 posts
    • aidanjt's system
      • Motherboard:
      • Asus Strix Z370-G
      • CPU:
      • Intel i7-8700K
      • Memory:
      • 2x8GB Corsiar LPX 3000C15
      • Storage:
      • 500GB Samsung 960 EVO
      • Graphics card(s):
      • EVGA GTX 970 SC ACX 2.0
      • PSU:
      • EVGA G3 750W
      • Case:
      • Fractal Design Define C Mini
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • Asus MG279Q
      • Internet:
      • 240mbps Virgin Cable
    You can tunnel Xforwarding through SSH without VNC and invoke applications directly on your local X server if you don't want to bother with setting up VNC. Some distros configure X11 to start without network support out of the box, so make sure you check this on your local machine too if you'd rather take this route.

    Hexy's post is a good guideline for what you want too.
    Quote Originally Posted by Agent View Post
    ...every time Creative bring out a new card range their advertising makes it sound like they have discovered a way to insert a thousand Chuck Norris super dwarfs in your ears...

  6. #6
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    Quote Originally Posted by aidanjt View Post
    You can tunnel Xforwarding through SSH without VNC and invoke applications directly on your local X server if you don't want to bother with setting up VNC. Some distros configure X11 to start without network support out of the box, so make sure you check this on your local machine too if you'd rather take this route.

    Hexy's post is a good guideline for what you want too.
    x-forwarding is great as long as you're not on windows - since cygwin-x sucks

  7. #7
    Agent of the System ikonia's Avatar
    Join Date
    May 2004
    Location
    South West UK (Bath)
    Posts
    3,736
    Thanks
    39
    Thanked
    75 times in 56 posts
    if you are running "money" apps, be careful what you do with X.

    My advise is to not run an Xserver on the box, run it on your windows PC and either export it to your windows X server display, or as suggested above tunnel it through ssh.

    Some windows based X servers I've used are hummingbird exceed, pc-Xware and reflections X.

    of course if security is of little concern, hex and aidjnt's comments are excellent
    It is Inevitable.....


  8. #8
    TiG
    TiG is offline
    Walk a mile in other peoples shoes...
    Join Date
    Jul 2003
    Location
    Questioning it all
    Posts
    6,213
    Thanks
    45
    Thanked
    48 times in 43 posts
    Its a voice recording system for legal compliance, It will be easier for me to see what i actually need once i get hold of something to test in the office.

    I just had to go to southampton and "fix" it on Friday having 0 knowledge of what it did or how it did it. Fixed all of the problems from putty, and from reading the documentation everything seems to be X windows based in terms of configuration/support. As i won't be supporting it long term and our engineers are crap at linux going to need someone more graphical for them to support.

    Thanks for the info.

    TiG
    -- Hexus Meets Rock! --

  9. #9
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    Okay, sounds like a quick run-down of the basics is needed. Put on your learning hat!

    Linux (and all other UNIX systems such as HP-UX, AIX, Solaris, etc) use a system called X11 for graphical applications. An X11 server controls a graphics card in a PC, and an X11 client (i.e. an application) uses network-based code to ask for things to be drawn on a given X11 server. So, on a typical Linux desktop, that means the screen is controlled by the X.Org server, and apps like Firefox connect to the server in order to show things.

    The server to connect to is contained in an environmental variable called DISPLAY - and if the app fails to connect to the named display, it dies:
    Code:
    jms@osc-bigmac:~$ echo $DISPLAY
    :0.0
    jms@osc-bigmac:~$ DISPLAY=nipples xlogo
    Error: Can't open display: nipples
    One reason for doing things using network-based code is it means apps can transparently display on a remote X server - for example, I can connect from machine A (a desktop) to machine B (a server with no graphics card), and run applications which are displayed on A's desktop. This is option 1: Run an X11 server on your machine, connect to the remote system using an SSH client, and run the remote apps with a local display

    Alternatively, there's the VNC solution I perfected. What this does is slightly different - you're aware of how VNC exports a given screen over a network? Well You can configure things such that VNC exports a new X11 server, running on machine B, over VNC - you can connect to that VNC session using a VNC client on machine A. The upside is you don't need to use anything scary like SSH (it's all graphical). The downside is increased bandwidth requirements and lower security

  10. #10
    mush-mushroom b0redom's Avatar
    Join Date
    Oct 2005
    Location
    Middlesex
    Posts
    3,438
    Thanks
    174
    Thanked
    362 times in 279 posts
    • b0redom's system
      • Motherboard:
      • Some iMac thingy
      • CPU:
      • 3.4Ghz Quad Core i7
      • Memory:
      • 24GB
      • Storage:
      • 3TB Fusion Drive
      • Graphics card(s):
      • nViidia GTX 680MX
      • PSU:
      • Some iMac thingy
      • Case:
      • Late 2012 pointlessly thin iMac enclosure
      • Operating System:
      • OSX 10.8 / Win 7 Pro
      • Monitor(s):
      • Dell 2713H
      • Internet:
      • Be+
    Products like tightvnc (a VNC varient) use compression. I've found that they are much better when you're not on the same LAN - especially over ADSL.

    I've found that the best way of doing this stuff is VNC over SSH. Basically:

    1. Set vnc server up on remote machine
    2. ssh to remote machine:

    ssh -L9998:myRemoteMachine:9999 user@myRemoteMachine

    3. Connect to localhost:9998 from your local vnc client

    Then you have a fast, compressed, encrypted session.

    Note that:

    9998 is the port on your own PC
    9999 is the port on the remote server VNC is running on

    You can obviously change these.

  11. #11
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    Quote Originally Posted by b0redom View Post
    Products like tightvnc (a VNC varient) use compression. I've found that they are much better when you're not on the same LAN - especially over ADSL.

    I've found that the best way of doing this stuff is VNC over SSH. Basically:

    1. Set vnc server up on remote machine
    2. ssh to remote machine:

    ssh -L9998:myRemoteMachine:9999 user@myRemoteMachine

    3. Connect to localhost:9998 from your local vnc client

    Then you have a fast, compressed, encrypted session.

    Note that:

    9998 is the port on your own PC
    9999 is the port on the remote server VNC is running on

    You can obviously change these.
    would you believe I've never done an SSH tunnel? good stuff

    i've been using RealVNC 4 for serving, as all the others I tried were rather crashy on a 64-bit host

  12. #12
    mush-mushroom b0redom's Avatar
    Join Date
    Oct 2005
    Location
    Middlesex
    Posts
    3,438
    Thanks
    174
    Thanked
    362 times in 279 posts
    • b0redom's system
      • Motherboard:
      • Some iMac thingy
      • CPU:
      • 3.4Ghz Quad Core i7
      • Memory:
      • 24GB
      • Storage:
      • 3TB Fusion Drive
      • Graphics card(s):
      • nViidia GTX 680MX
      • PSU:
      • Some iMac thingy
      • Case:
      • Late 2012 pointlessly thin iMac enclosure
      • Operating System:
      • OSX 10.8 / Win 7 Pro
      • Monitor(s):
      • Dell 2713H
      • Internet:
      • Be+
    Not had the opportunity to use a 64bit Linux platform on the desktop yet. In my current role I'm stuck on a crappy XP laptop.

    IIRC the last time I did it I used TightVNC - worked pretty well...

    <geek>

    From home I sshd through a bastion host to my work desktop, so I could use a VM XP instance to talk over a VPN to some production servers. Set it up and it worked first time!!!

    </geek>

    Incidentally, you can tunnel X over ssh by adding a -X from the command line:

    ssh -X user@host

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to turn on pc remotely (Wake On Lan)
    By speedy_s in forum Networking and Broadband
    Replies: 23
    Last Post: 02-05-2006, 08:56 AM
  2. The $100 lappy will run Redhat
    By Steve in forum HEXUS News
    Replies: 6
    Last Post: 30-11-2005, 08:59 AM
  3. SSH - logging in remotely - 'to' secure? ;)
    By Bobby in forum Networking and Broadband
    Replies: 13
    Last Post: 22-08-2005, 01:46 PM
  4. Linux Redhat 9
    By Nemeliza in forum Software
    Replies: 11
    Last Post: 10-10-2003, 02:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •