LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-05-2014, 01:53 PM   #1
mcadoosf
LQ Newbie
 
Registered: Aug 2013
Posts: 7

Rep: Reputation: Disabled
Starting Graphic Interface


Ok, I'm not a complete newbie, just very rusty. I worked with unix years ago and can cd,ls,etc ok. Now I am working with a linux (centos) server through a vpn connection and putty to get a text window through which I login. I have a couple of questions:

1. How to determine if a graphical interface is installed?
2. If so, how to get it started?
3. If not, how to install a graphical interface?
 
Old 03-05-2014, 03:12 PM   #2
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
starting gui

depends on the distros
Most of the times it is 'startx' even for a non root account.
To check if GUI is installted try 'whereis X'
hope this helps
 
Old 03-05-2014, 03:17 PM   #3
mcadoosf
LQ Newbie
 
Registered: Aug 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
My distro is centos, allegedly a free distro of RedHat. I ran startx as root and it returned
[root@wec-hou20 Documents]# startx
xauth: creating new authority file /root/.serverauth.1764


Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.


Please consult the CentOS support
at https://www.redhat.com/apps/support/
for help.

Which, it seems to say is the server is already running.

So, the next step is to get kde or gnome runing? Also, how to find our how to set display back through my vpn tunnel to my local machine?
 
Old 03-05-2014, 04:29 PM   #4
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
The startx command shouldnt be issued as root.

Here is a link on how to get Gnome in CentOS http://www.idevelopment.info/data/Un...lInstall.shtml
 
Old 03-05-2014, 06:07 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,239

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
you really should start x running as a normal NON root user
CentOS 6.5( the current) will not stop you .But it will fill up the server logs with a ton of warning messages
and you DO need FULL!!! root access " su -" or "su -l root"

otherwise you WILL get an error


you also have a lock file in place stopping you
from the error you posted
" /tmp/.X0-lock"
remove it as the error message recommends
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
graphic interface disabled uxan Fedora 1 05-23-2008 10:42 AM
graphic interface diamo Linux - Newbie 2 10-28-2003 08:16 PM
Returning to graphic interface blegit Linux - Newbie 7 10-01-2003 10:18 AM
how to get graphic interface in phatlinux newmex2linux Linux - Newbie 1 06-13-2003 07:44 PM
No graphic interface barDo Linux - Software 1 02-08-2002 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration