GUI forwarding without desktop installed


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers GUI forwarding without desktop installed
# 1  
Old 09-15-2014
GUI forwarding without desktop installed

Hi everyone

I'm installing a homeserver running debain without a desktop GUI as its not needed

The box is a low power all in one, which won't have a monitor

If I've not installed the desktop part, can I still ssh to the box and forward GUI applications with Xming when needed to a windows box?

Thanks
Chris
# 2  
Old 09-15-2014
You will still need to install X and I recommend installing VNC server. In fact you can install the "gui version" and disable it from running on the console.
# 3  
Old 09-16-2014
Quote:
Originally Posted by tofa83
If I've not installed the desktop part, can I still ssh to the box and forward GUI applications with Xming when needed to a windows box?
I do not know Xming, but i suppose it is some sort of X-Server software, like the well-known Opentext Exceed (formerly known as Hummingbird Exceed). In this case: yes, you can.

X-Windows is a client-/server-system, where you have locally an "X-server" running, which manages your graphical display. Think of it like a driver for your graphic card along with a - networked - function library so clients can make use of its services. This part is installed locally, at your client (yes, the "server" running on the "client" can be a bit confusing, but with the explanation above it should make perfect sense).

A "X-client" is a software which makes use of these functions a X-server offers. Examples of a X-client would be "xterm" or "Firefox". These X-clients will run on any networked host (your client as well as any server) and will connect (via the "X-protocol", a specialized network protocol) to your local X-server to display (in a window) their frontend on your display. They do so by using the services your X-server offers.

Which X-server an X-client uses is determined by the environment variable "DISPLAY", which should point to a display managed by a X-server. Notice, that X-servers have a sort-of authentication, managed by the "xauth" and the "xhost"-utilities. For a quick test you can use xhost + to allow all hosts to use the X-server. Once you found the setup to be working fine-tune this to allow only the hosts you want.

Quote:
Originally Posted by blackrageous
You will still need to install X
No, in fact you do not. You just have to install the X-clients.

I hope this helps.

bakunin
# 4  
Old 09-16-2014
Quote:
Originally Posted by bakunin
...

No, in fact you do not. You just have to install the X-clients.

I hope this helps.

bakunin
True, but in my experience the bulk of the X install is the client tools and libraries anyway, so unless disk space is really tight you might as well install it all anyway and just set the runlevel to run a command-line login.

That would be a lot easier and faster than trying to figure out which packages need to be installed and which ones don't.
# 5  
Old 09-16-2014
Quote:
Originally Posted by achenle
True, but in my experience the bulk of the X install is the client tools and libraries anyway, so unless disk space is really tight you might as well install it all anyway and just set the runlevel to run a command-line login.
Yes and no. You may be right about the amount of disk space needed, but in my line of work every package you install creates additional work: you need to get, test and install updates, you might introduce dependencies - all said and done you introduce additional complexity to your system. This - and not the disk footprint, which, i give you that, is negligeable - is the reason why i would never install an unnecessary package onto a system.

Maybe we are just coming from different environments. My main work is with AIX systems, but in big data centers and every shop below several hundred LPARs is considered small in my business. Making such an amount of systems work with the minimum administrative work possible is different than making a single home server do something.

My colleagues from the Linux department regularly have interns. Usually they come with an untouchable confidence about their Linux skills - i have downloaded and set up my laptop with Ubuntu all on my own, there is nothing i can't do - and leave with the saddening knowledge that whatever they did with their home-PC was not professional Linux-administration at all.

I hope this helps.

bakunin
# 6  
Old 09-16-2014
The X server and client packages are part of the OS distribution, and I'd think you'd already have them installed on some systems.

I'd rather install everything in the base OS distribution on every machine, just so the OS install is the same everywhere.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Bash find version of an installed application but if none is found set variable to App Not Installed

Hello Forum, I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so: APP=application --version But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2 Replies

2. Red Hat

Remote access computer system as a whole not just desktop with GUI

Hi All, I've been looking at various options at administering several servers remotely like: - VNC (don't like the lax security of 8 characters max for a password) and - NX (awesome piece of kit but still limited to a per desktop viewer)... What I'm looking for is a GUI that... (7 Replies)
Discussion started by: ASGR
7 Replies

3. Programming

Python gui or C++ gui or java gui?

python gui or c++ gui or java gui? and when to use etch one? (1 Reply)
Discussion started by: kaja
1 Replies

4. Red Hat

Trouble with installed / not installed rpm unixODBC/libodbc.so.1

Hey there, i run 1: on my server (RHEL 6) and getting response that the libodbc is not installed. If i use yum for installation, it tells me, there is no package like this ( 2: ). Since in the description of Definiens is mentioned that the Run-time dependency is unixODBC (libodbc.so.1), I assume... (2 Replies)
Discussion started by: rkirsten
2 Replies

5. SCO

Change SCO - GUI or Desktop interface to DOS based interface

Hi all I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface? If you have any ideas, please tell me then. Thank you (2 Replies)
Discussion started by: TinhNhi
2 Replies

6. UNIX and Linux Applications

Problem with accessing subversion installed on unix server through windows GUI

We are using subversion as a version control system in our project. We are connecting to client`s sun Solaris box through check point VPN. Client has installed subversion . We have created repository and add files to it. Now we want to access the same from our windows machine (through... (0 Replies)
Discussion started by: aasid
0 Replies

7. Cybersecurity

ssh X-forwarding and remote forwarding behind proxy

Hi, from my workplace we use a proxy to connect to the outside world, including external ssh servers. The problem is that the server is seeing the connection coming from the proxy and knows nothing about the client behind it. The ssh connection itself works fine, but x-forwarding does not work as... (1 Reply)
Discussion started by: vampirodolce
1 Replies

8. UNIX for Dummies Questions & Answers

ssh to see remote desktop gui

Hey, how do I access the desktop gui for a remote fedora box? $ ssh user@ip $ xinit Fatal server error: Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again. Thanks (1 Reply)
Discussion started by: JustinT
1 Replies

9. UNIX for Dummies Questions & Answers

If a is windows gui ( client), b is a unix gui ( Server for a) and c is a shell scrip

Hello all, 1) I want to have a GUI application that will call Unix shell scripts, 2) that GUI application should be able to reside on windows ( if possible) and then call Unix shell script either directly or through a server residing on unix. That is for example. If a is windows gui (... (1 Reply)
Discussion started by: hchivukula
1 Replies

10. UNIX for Advanced & Expert Users

Starting GUI Desktop

I have installed Oracle 9 client on 32-bit machine for Linux Enterprise 2.4. After complete installation and testing the oracle client. After rebooting the system I was presented with a login prompt but the GUI desktop does not come. I tried startx but that did not work. What command would I use... (0 Replies)
Discussion started by: aliraza123
0 Replies
Login or Register to Ask a Question