Is there Any Windows Terminal Service like for Linux? [closed] - linux

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
We have some codebar scanners based on Windows CE that run remote applications located on some servers via Windows Terminal Service.
Given that we are migrating our server applications to UNIX based operating systems, I was wondering is there any reliable RDP based solution that can be considered ?
Thanks,

vnc is the main unix alternative for a graphical session other than that you could run some commands over ssh.

Not RDP, there is X-windows. it's not like terminal services, but it might solve your problem (the app runs on the server, only the graphics on the client).
You run the app on the server, and re-route the display to your device.

VNC and NX are the two things that perform the same functionality as RDP.

Linux supports many different ways of remoting applications, since you probably want to detach and re-attach to the session then ssh X11 forwarding is out of the picture, which leaves:
NX: the advantage here is the speed and the fact that you can get seamless sessions. There are many wrappers around the NX libraries, the most popular ones are: x2go and winswitch - don't bother with FreeNX and NeatX which are unmaintained.
Xpra: does seamless sessions like NX, not full desktops.
VNC: TigerVNC, TurboVNC, TightVNC, ... I would go with the one that ships with your distro. Full desktops only, not seamless.
RDP (there are RDP servers for Linux too although I would not recommend them), the RDP clients are fine, although I could not get seamless sessions to work with them...
I have put up a more detailed comparison here - it also explains what seamless sessions are, etc.

Related

Linux SSH Server (tunneling) without network tweaks such as port forwarding or firewall exceptions [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
Background Info:
My office is closing down due to COVID19 outbreak policies.
Unfortunately we do not have a VPN in place, and currently one of my coworkers has to going in every day to make commits for everyone who is working remotely--our repos are stored inside the office internal network.
The Problem:
I need to be able to get inside the internal network remotely using SSH, without having to make any changes to network configuration (I do not have access to the network devices). This means I would not be opening ports, or making firewall exceptions for example.
I was thinking of using a raspberry pi with a fresh linux image (any supported distro would be fine, I'm open to suggestions).
My goal is to plug the pi3 to my workstation ethernet port, and leave it there for the time being. I would not be able to do any physical reboots , etc.
I need a suggestion for a free tunneling solution that would be easy to set up and use for 1-10 people to be able to connect using a secure connection (SSH) and gain access to internal resources remotely.
Question:
I need suggestions for which distro would be nice and light enough for the pi3 to handle, and SSH server software to use.
I looked into OpenSSh which has been suggested in other similar threads, but it would require configuring firewall and opening port 22, which I cannot do.
Other
I've used Google Chrome's remote desktop in the past and it has worked wonderfully. I would set up the "host" machine with it, and then any other machine with Chrome (with the same account) could remote in without any sort of network configuration.
I guess I just need something similar to this, but instead of remote desktop I need an SSH solution. I would create a few root-enabled accounts to allow other devs to connect to it at the same time if possible.
I found a solution to my problem and will pass it along to my IT team for proper approval prior to putting in place. However I wanted to share the answer here in case anyone else ever has a similar situation.
As stated, be sure to check your company's policy and consult the proper channels before doing this sort of thing, as it can cause security risks and could get you fired... so be advised, do this at your own risk!
With that said, a "Reverse SSH" could be the solution to the problem. It allows you to connect to a machine inside of a network without having to open ports or firewall exceptions.
This isn't a good long term solution for most cases, but might be the workaround you need to do the trick in a pinch.

How to make a program user directly comes into when turns on PC? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I want to build a gadget with PC-boards like raspberry and Linux(or Windows) OS. And when user turns on the gadget sees my company name, and directly goes to my program and couldn't exit from that.something like ATM machines.
How can I do that?
What is this topic name and where can I find sources and guides?
You can hard-code your user-space process to run after bootup by updating the init script. You can run it as a daemon process and block all signals to it by the user. You can further disable other services and application processes like login process if you want the application to be accessed by everyone.
Link: Creating a Kiosk with Linux
On Linux, you just configure the system to run your specialized program. This can be as simple as configuring (e.g. in some /etc/rc.local or /etc/rc.2/ ...) (or even replacing or enhancing) the init program, or configuring the startup of the X11 server.
There are also several "kiosk oriented" Linux distributions. Details about configuration of the init process may be distribution specific. And systemd is now often a replacement of init and is configured specifically.
So you need first to choose some Linux distribution then dive into its documentation.
BTW, crontab(5) knows about #reboot so can be a way to customize the startup procedure
You first should learn more about Linux programming and its system administration (which is distribution specific). If you don't know Linux, I strongly suggest you to install Linux on your laptop and become familiar with it.
Maybe you should look into raspbian
Have a look at the current issue (#93) of the fullcircle magazine (as pdf or epub available). It contains an article about how to install a kiosk mode for ubuntu. It should be easily adoptable to your usecase (replace your app with firefox as mentioned in the article).
Disclaimer: I'm the founder of the opensource Webconverger Web kiosk project.
Debian based Webconverger uses the inittab to manage services. I highly recommend you work from the opensource Webconverger project and do not roll you own kiosk.
The new version of Webconverger for Rpi2 and PCs will be using systemd exclusively.

SSH into Linux and Open GUI [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
So i know how to SSH into a box and create/modify directories etc. However I do want to know how I can open the exact GUI (For instance I want the Fedora environment that I have on my virtual machine) to open up. Meaning I need to be able to simply see my linux environment. Would anyone know how I can achieve this?
I am using a mac.
I'm presuming you want to see the gui you are running on the vm, which won't really help you here. You have a couple of options:
If you are running linux (or an X server like xceed) on the machine you are actually using, then you can enable X forwarding in ssh (-X on the command line) and then run your window manager from there.
Alternatively, you could look at installing a vnc server on your linux machine (I'd recommend tightvnc) and your host and connecting that way.
Either way this would be getting you a fresh desktop rather than what is visible on the console of the machine.
For the specific case of a virtual machine, as you mentioned, both vmware and virtualbox (I'm guessing you are using one of those) provide either vnc or rdesktop head support; you can then use either a vnc client or windows remote desktop client to connect to the actual console. In this instance this is probably what you want to do.
Set up a VNC server on your Linux machine, it can provide you with a desktop environment.

I need to use Linux for a few days. Any free service on internet? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I was wondering if there is such service, either free or very cheap, where I can use a Linux machine for a few days to install and run 2 programs on it. Really all I need is to debug my ANSI C application with Valgrind debugger which only runs on Linux and I don't have access to it right now for various reasons.
So all I need is this:
being able to compile/install valgrind and my prog with gcc
run valgrind and my prog
ftp/sftp, or any other method as long I can send or download the files on machine
I thought of doing it over sourceforge but my software is not anything useful to humanity, it is for a scientific research, doing some math calculations...
Maybe anyone of you know of such service?
Or knows where I can use a Linux machine once in a while?
Please let me know
thanks
maxim
You can set up an Ubuntu micro instance for free on Amazon's infrastructure: http://aws.amazon.com/free/
But really, I would rather recommend you installing Linux on your own, you can even do it on a USB memory stick (pendrive).
The AWS micro instances are free for I think a year. Question is whether they are sufficient enough to do what you want, though besides that if you only need a few days perhaps the hourly paid instances are also cheap enough.
Another option would be to run a LiveCD in either a VM or physical machine and do it from there.
Assuming you're using Windows, you can download VMware Player for free.
http://www.vmware.com/products/player/
Then download whatever Linux distro ISO image you'd like to use and open it in VMware Player. It will run like you installed Linux on your machine.
If you're using a Mac, I'm out of my element but I think someone told me before Macs run on top of Linux so I think you can open a terminal and run/test/develop your program.

Capturing session for remote control from a linux host [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Use case:
A does something on his box and gots stuck. He asks B (remote) for support.
B logs into the session of A, sees all windows, A was seeing and is able to manipulate the GUI.
If A uses Windows it is very convenient to log into a running session e.g. via VNC. But if A uses Linux, AFAIK, this is not possible. Using VNC requires a "vncserver"-session, which is a separate session. You could get screen captures from remote by querying the X-server, but you cannot press buttons on the screen.
Is there some workaround for this?
There is x11vnc: "x11vnc allows one to view remotely and interact with real X displays (i.e. a display corresponding to a physical monitor, keyboard, and mouse) with any VNC viewer. It has built-in SSL encryption and authentication, UNIX account and password support, server-side scaling, single port HTTPS and VNC, mDNS service advertising, and TightVNC and UltraVNC file-transfer".
It could be used with existing X11 session, without need to start one under "xvncserver".
Apart from x11vnc (which is indeed really nice) and krfb (which I have no experience with), recent Gnome desktops have the Vino VNC server built-in. IIRC it can be enabled under System->Settings->Desktop Sharing. It has a nice GUI and is well-integrated with Gnome and the system, but AFAIK it uses more CPU time than x11vnc does.

Resources