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 11-19-2010, 03:56 AM   #1
l33789
LQ Newbie
 
Registered: Nov 2010
Posts: 4

Rep: Reputation: 0
installing vnc and a gui


im new to linux all together im wondering if anyone has an IM and would be willing to help me in installing vnc and a gui on my centos server.

possibly paid if you can help me... im new and these are my goals firstly haha..

cheers =)

also any really good tutorials would be handy im really noob atm
 
Old 11-19-2010, 04:03 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
You can use your package manager yum for installing anything you want that is available in the repositories. man yum for more details on how to use it. yum search vnc should give you packages available for installation. You can install it using install option.
And why do you want to install GUI on your server? Is the server production or development? If its production, you better not have GUI on it. It can take a lot of valuable resources. Also what install option did you select? And what packages did you select for install? Did you select X server packages? If you want GUI, you will need X server and some desktop environment, either Gnome or KDE. These are available as groups.
yum grouplist should give you the available list.
 
Old 11-19-2010, 04:25 AM   #3
l33789
LQ Newbie
 
Registered: Nov 2010
Posts: 4

Original Poster
Rep: Reputation: 0
i think i installed kde and when i tried startx i get V any ideas? ps havent got vnc on here yet so i dont expect to be able to connect but i assume this would start even if it cant be seen? ps im doing all this on a VPS im basically trying to learn so id like a gui till i get enough knowledge behind me. appreciate your replies linuxlover.chaitanya =)



Quote:
Last login: Fri Nov 19 12:17:39 2010 from
[root@server ~]# startx
xauth: creating new authority file /root/.serverauth.9315


X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.18-53.el5 i686 Red Hat, Inc.
Current Operating System: Linux server.server89.me 2.6.18-194.17.1.el5.028stab070.7 #1 SMP Fri Oct 1 14:17:14 MSD 2010 i686
Build Date: 17 November 2010
Build ID: xorg-x11-server 1.1.1-48.76.el5_5.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Nov 19 12:22:33 2010
(EE) Unable to locate/open config file

Fatal server error:
xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)

XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
Couldnt get a file descriptor referring to the console
[root@server ~]#
 
Old 11-19-2010, 04:39 AM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
try start kde

also key combination Ctrl^Alt^F7
 
Old 11-19-2010, 04:46 AM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Did you make a users account? I noticed you logged in as root, my machine only has cli for root account.
When you installed did you choose desktop environment? My first time installing I thought I chose desktop environment, but didn't.
You have to hit space bar to select.
 
Old 11-19-2010, 05:45 AM   #6
l33789
LQ Newbie
 
Registered: Nov 2010
Posts: 4

Original Poster
Rep: Reputation: 0
ive got vnc going and connecting now yay it shows the gray screen and cursor... ive only got the 1 user atm...

my OS is CentOS 5 32bit and ive only got terminal access atm as its via a VPS so the install was preinstalled as such so i didnt get to choose desktop enviro...

ive got kde installed now as far as i know but im getting the following errors atm

i installed kde by the following yum groupinstall "X Window System" "KDE (K Desktop Environment)" (291mb dl and 280~ install all complete) thanks for the replies guys =)

Quote:
[root@server ~]# startkde
xsetroot: unable to open display ''
xset: unable to open display ""
xsetroot: unable to open display ''
startkde: Starting up...
ksplash: cannot connect to X server
kdeinit: Aborting. $DISPLAY is not set.
Warning: connect() failed: : No such file or directory
ksmserver: cannot connect to X server
ERROR: Couldn't attach to DCOP server!
startkde: Shutting down...
Warning: connect() failed: : No such file or directory
Error: Can't contact kdeinit!
startkde: Running shutdown scripts...
startkde: Done.
 
Old 11-19-2010, 05:59 AM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Create a users account, the newer distro's have taken gui out of root login.
Start kde using sudo
 
Old 11-19-2010, 06:10 AM   #8
l33789
LQ Newbie
 
Registered: Nov 2010
Posts: 4

Original Poster
Rep: Reputation: 0
simple reboot fixed it i was given a terminal via vnc and startkde worked with it... you were spot on with gui being not the best idea i notice my memory go from 20mb to 500 haha... its all a learning process thanks for your help Eddy1 =)
 
Old 11-19-2010, 06:18 AM   #9
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
You're welcome, I'm a newbie also
 
  


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
No GUI in VNC xoise Linux - Software 3 04-10-2009 05:41 AM
rhel4 vnc problem, where to configure GUI vnc server? hocheetiong Linux - Newbie 1 10-24-2007 07:05 AM
vnc gui not showing up linuxmandrake Linux - Software 9 11-28-2005 05:51 PM
Difference between vnc and ssh with GUI xpucto Linux - Newbie 3 11-24-2005 06:09 AM
VNC : can log in but i dont have a Gnome GUI jasoncngo Linux - Software 5 03-20-2003 06:29 PM

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

All times are GMT -5. The time now is 11:35 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