Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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 ~]#
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.
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.
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 =)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.