CentOS 5.3 How to Remote Destop to server

General support questions including new installations
aceofblackstar
Posts: 52
Joined: 2009/06/01 19:34:38
Location: NY

Re: CentOS 5.3 How to Remote Destop to server

Post by aceofblackstar » 2009/07/01 17:48:52

Not working.....

Yum install xrdp

does not find anything.....

this is insane.... you would think there would be simple way to install remote desktop...... instead of it being a rocket science....

A question on the side..... IN centos if you minimize something in centos graphical mode like a web page.... where on earth does it go to....
I have to constantly restart the browser and loose all info......

:-?

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: CentOS 5.3 How to Remote Destop to server

Post by pschaff » 2009/07/01 18:04:02

Apparently you have not configured the RPMforge repo correctly. Please read the links provided earlier in the thread. You should have found:
http://wiki.centos.org/AdditionalResources/Repositories/RPMForge

As to your web pages running loose - what happens when you minimize a window depends on what desktop environment and window manager you are running (GNOME, KDE, XFCE, etc.). I'm not going to try to cover them all here.

Please provide more information to get good answers.

aceofblackstar
Posts: 52
Joined: 2009/06/01 19:34:38
Location: NY

Re: CentOS 5.3 How to Remote Destop to server

Post by aceofblackstar » 2009/07/31 18:01:59

Thanks

aceofblackstar
Posts: 52
Joined: 2009/06/01 19:34:38
Location: NY

Re: CentOS 5.3 How to Remote Destop to server

Post by aceofblackstar » 2009/08/11 14:46:06

When I follow the above insturctions on the previos link... Section 1.2 gives me an error message...

[root@localhost ~]# rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
[root@localhost ~]# rpm -K rpmforge-release-0.3.6-1.e15.rf.*.rpm
error: rpmforge-release-0.3.6-1.e15.rf.*.rpm: open failed: No such file or directory
[root@localhost ~]#
[root@localhost ~]#

The download goes ok... and I could access the file via firefox....

aceofblackstar
Posts: 52
Joined: 2009/06/01 19:34:38
Location: NY

Re: CentOS 5.3 How to Remote Destop to server

Post by aceofblackstar » 2009/08/11 14:53:24

Make sure that yum-priorities is enabled by editing the /etc/yum/pluginconf.d/priorities.conf file, and ensuring that it contains the following lines:

[main]
enabled=1

Edit the .repo files in /etc/yum.repos.d/ and set up priorities by adding the line:

priority=N

to a repository entry, where N is an integer number from 1 to 99.

The recommended settings are:

[base], [addons], [update], [extras] ... priority=1
[centosplus],[contrib] ... priority=2
Third Party Repos such as rpmforge ... priority=N (where N is > 10 and based on your preference)
==================================================================================

I have two files in this location:
CentOS-Base.repo
CentOS-Media.repo

I am editing the base file not sure where i am making the enteries...

File attached: :-D



# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#


[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: CentOS 5.3 How to Remote Destop to server

Post by pschaff » 2009/08/13 02:48:31

[quote]
aceofblackstar wrote:
...
I am editing the base file not sure where i am making the enteries...
[/quote]

One needs one "priority=N" line for each stanza in each .repo file, [base], [updates], etc. Not critical exactly where.

aceofblackstar
Posts: 52
Joined: 2009/06/01 19:34:38
Location: NY

Re: CentOS 5.3 How to Remote Destop to server

Post by aceofblackstar » 2009/08/14 18:30:08

Not sure what a "Stanza is" Is the below example accurate...
I added the priority.... now is this the correct way...




# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#


[base]
priority=1
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#released updates
[updates]
priority=1
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#packages used/produced in the build but not released
[addons]
priority=1
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that may be useful
[extras]
priority=1
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that extend functionality of existing packages
[centosplus]
priority=2
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#contrib - packages by Centos Users
[contrib]
priority=2
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

pjwelsh
Posts: 2632
Joined: 2007/01/07 02:18:02
Location: Central IL USA

Re: CentOS 5.3 How to Remote Destop to server

Post by pjwelsh » 2009/08/14 19:01:42

Not real sure what's going wrong with all of your attemps, but the VNC option(s) are generally very easy. VNC may not be as fast as FreeNX or xrdp (as reported by some) and I can't ever say I have noticed *any* CPU issue (besides a mis-configuration for options when using ssh tunnelling).

You may want to try VNC again with the hassle free way:
http://wiki.centos.org/HowTos/VNC-Server#head-29f6855e8f3684dc6c005d4399f60886edf611ec

Firewall restrictions ("iptables -L" to show) can play a part in issues as well as "selinux" ("sestatus" and check for enforcing).

I do assume that your server is user GUI capable with GNOME/KDE/IceWM/XFCE etc. The easy way to tell is by issuing the command[code]yum grouplist[/code] and check in "Installed Groups" section for at least *one* of the mention GUI options. [code]yum groupinstall 'GNOME Desktop Environment'[/code] may be your quick ticket to getting GNOME without much fuss.

Edit: I am also assuming that you do not have a broken virtual server problem: http://wiki.centos.org/TipsAndTricks/BrokenVserver

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: CentOS 5.3 How to Remote Destop to server

Post by pschaff » 2009/08/15 12:40:03

PJ is right to get back on track - should not need other packages, but back on the repo config - looks like it should work. Just note that with [centosplus] at priority=2 you will not get any of the upgraded packages there, even it you enable it. That may/may not be what you want.

terrywongkl
Posts: 19
Joined: 2005/01/22 10:39:41

Re: CentOS 5.3 How to Remote Destop to server

Post by terrywongkl » 2009/08/16 08:41:25

yum groupinstall "FreeNX and NX"
then install nx client for windows (download from nomachine)

fast and easy to use, no configuration needed except need to install client key 1 time. use ssh so is fairly secure too.

if prefer lighter windows environment, use
yum groupinstall XFCE-4.4

then in nx client choose XDM instead of GDM

Post Reply