Link to home
Start Free TrialLog in
Avatar of deklinm
deklinmFlag for United States of America

asked on

Ubuntu 11.04 GNU/Linux 2.6.35.4-rscloud x86_64

I am running Ubuntu 11.04 GNU/Linux 2.6.35.4-rscloud x86_64.

I only have remote access to this server.  How can i check to see if the GUI is installed?

Can the GUI be installed if it's not there?
Avatar of Gary Coltharp
Gary Coltharp
Flag of United States of America image

Do you mean X-Windows?
Avatar of deklinm

ASKER

yes
ASKER CERTIFIED SOLUTION
Avatar of farzanj
farzanj
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of team_netwk
team_netwk

See if you can run "startx".  (Will fail as you're starting from an SSH session, but if it tries to run, you most likely have X installed.

And yes, it can be installed remotely.  I'm not familiar with Ubuntu, but if it's a standard/default install, the GUI is there already.
You need have a some kind of GUI server running on the remote machine.  VNC Server is one of the best ones.


Also, you need VNC viewer to connect to it.
myuser@laptop:~$ ps ax | grep X
 1020 tty7     Ss+   28:27 /usr/bin/X :0 -br -verbose -auth /var/run/gdm/auth-for-gdm-G8oz7Q/database -nolisten tcp vt7

Just run the above - if you see /usr/bin/X running, then the graphical environment is enabled.

If it is not there, yes, it can be installed but you will want to do that from the actual console/screen of the machine if you can.  If it is already running, you can run x11vnc on the Ubuntu server, and any vncviewer program on the remote client to access the already running X server.