Re: [CentOS] How to display the IP on the welcome screen [SOLVED]

2010-04-22 Thread Patrick DERWAEL
The directory indicated on ElderGeek is wrong, check this: cat /usr/share/gdm/defaults.conf | grep GraphicalTheme= Cheers 2010/4/21 MHR > On Wed, Apr 21, 2010 at 2:08 AM, Patrick DERWAEL > wrote: > > Well, I have had to tweak this it a little, bit it finally worked fine. > > Initlally, the ari

Re: [CentOS] How to display the IP on the welcome screen

2010-04-21 Thread Sorin Srbu
>-Original Message- >From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf >Of Sorin Srbu >Sent: Wednesday, April 21, 2010 9:20 AM >To: 'CentOS mailing list' >Subject: Re: [CentOS] How to display the IP on the welcome screen > >>

Re: [CentOS] How to display the IP on the welcome screen [SOLVED]

2010-04-21 Thread MHR
On Wed, Apr 21, 2010 at 10:03 AM, Alvin Chang wrote: > updatedb? > Doubted it, but: [...@mhrichter ~]$ sudo updatedb Password: [...@mhrichter ~]$ locate gdm.conf [...@mhrichter ~]$ locate kdm.conf [...@mhrichter ~]$ locate xdm.conf [...@mhrichter ~]$ Seems more than a little strange... [...@m

Re: [CentOS] How to display the IP on the welcome screen [SOLVED]

2010-04-21 Thread Alvin Chang
updatedb? On 21 April 2010 18:00, MHR wrote: > On Wed, Apr 21, 2010 at 9:57 AM, Alvin Chang > wrote: > > > > look for kdm.conf or xdm.conf... > > Hmm - am running GNOME, but: > > [...@mhrichter ~]$ locate xdm.conf > [...@mhrichter ~]$ locate kdm.conf > [...@mhrichter ~]$ > > ??? > > mhr > _

Re: [CentOS] How to display the IP on the welcome screen [SOLVED]

2010-04-21 Thread MHR
On Wed, Apr 21, 2010 at 9:57 AM, Alvin Chang wrote: > > look for kdm.conf or xdm.conf... Hmm - am running GNOME, but: [...@mhrichter ~]$ locate xdm.conf [...@mhrichter ~]$ locate kdm.conf [...@mhrichter ~]$ ??? mhr ___ CentOS mailing list CentOS@cent

Re: [CentOS] How to display the IP on the welcome screen [SOLVED]

2010-04-21 Thread Alvin Chang
On 21 April 2010 17:53, MHR wrote: > > [...@mhrichter ~]$ cat /etc/gdm/gdm.conf | grep GraphicalTheme= > cat: /etc/gdm/gdm.conf: No such file or directory > [...@mhrichter ~]$ locate gdm.conf > > > > So, how does this work under CentOS? > > look for kdm.conf or xdm.conf... -- Alvin Chang _

Re: [CentOS] How to display the IP on the welcome screen [SOLVED]

2010-04-21 Thread MHR
On Wed, Apr 21, 2010 at 2:08 AM, Patrick DERWAEL wrote: > Well, I have had to tweak this it a little, bit it finally worked fine. > Initlally, the arial.ttf could not be found, so that I had to force the use > of courier regular > I'm using the standard default Treeflower theme. I'm late to this

Re: [CentOS] How to display the IP on the welcome screen [SOLVED]

2010-04-21 Thread Patrick DERWAEL
Well, I have had to tweak this it a little, bit it finally worked fine. Initlally, the arial.ttf could not be found, so that I had to force the use of courier regular I'm using the standard default Treeflower theme. The following does toe job: cd /usr/share/gdm/themes/TreeFlower/background.png \ /

Re: [CentOS] How to display the IP on the welcome screen

2010-04-21 Thread Georghy
content of the file > /etc/issue > > > Regards. > > > > > > > > -Message d'origine- > De : centos-boun...@centos.org [mailto:centos-boun...@centos.org] De la part > de Patrick Derwael > Envoyé : mardi 20 avril 2010 19:49 > À : 'CentO

Re: [CentOS] How to display the IP on the welcome screen

2010-04-21 Thread MOKRANI Rachid
part de Patrick Derwael Envoyé : mardi 20 avril 2010 19:49 À : 'CentOS mailing list' Objet : Re: [CentOS] How to display the IP on the welcome screen This is a good step, but how do I get the contents of /etc/issue on the gui ?? Patrick Derwael Rue Hubert Larock, 20 4280 Hannut -

Re: [CentOS] How to display the IP on the welcome screen

2010-04-21 Thread Sorin Srbu
>-Original Message- >From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf >Of Sorin Srbu >Sent: Wednesday, April 21, 2010 9:12 AM >To: 'CentOS mailing list' >Subject: Re: [CentOS] How to display the IP on the welcome screen > >

Re: [CentOS] How to display the IP on the welcome screen

2010-04-21 Thread Sorin Srbu
>-Original Message- >From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf >Of Mogens Kjaer >Sent: Wednesday, April 21, 2010 7:35 AM >To: CentOS mailing list >Subject: Re: [CentOS] How to display the IP on the welcome screen > >On 04/20/2010 0

Re: [CentOS] How to display the IP on the welcome screen

2010-04-20 Thread Sorin Srbu
>-Original Message- >From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf >Of Patrick Derwael >Sent: Tuesday, April 20, 2010 7:49 PM >To: 'CentOS mailing list' >Subject: Re: [CentOS] How to display the IP on the welcome screen > >

Re: [CentOS] How to display the IP on the welcome screen

2010-04-20 Thread Mogens Kjaer
On 04/20/2010 07:49 PM, Patrick Derwael wrote: > Ideally, it should be displayed on the GUI, like the date/time and hostname http://elder-geek.blogspot.com/2009/09/ip-address-on-gdm-login-page.html Mogens -- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Valby,

Re: [CentOS] How to display the IP on the welcome screen

2010-04-20 Thread Athmane Madjoudj
On Tue, Apr 20, 2010 at 6:49 PM, Patrick Derwael wrote: > This is a good step, but how do I get the contents of /etc/issue on the gui > ?? cat /etc/issue | zenity --text-info --width 530 ps. i'm not sure if zenity is standard in CentOS, otherwise install EPEL repo. -- Athmane Madjoudj __

Re: [CentOS] How to display the IP on the welcome screen

2010-04-20 Thread Patrick Derwael
This is a good step, but how do I get the contents of /etc/issue on the gui ?? Patrick Derwael Rue Hubert Larock, 20 4280 Hannut - Belgique G: +32 (0)479.80.50.79 T : +32 (0)19.63.64.45 try a bash script like the following : #!/bin/sh ADRESS=`ifconfig | grep "inet addr" | awk '{print $2}' |

Re: [CentOS] How to display the IP on the welcome screen

2010-04-20 Thread Patrick Derwael
lay the IP on the welcome screen From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Patrick DERWAEL Sent: Tuesday, April 20, 2010 4:01 PM To: centos@centos.org Subject: [CentOS] How to display the IP on the welcome screen Hi all, I'm running CentOS 5.4 in a VMw

Re: [CentOS] How to display the IP on the welcome screen

2010-04-20 Thread Paul Heinlein
On Tue, 20 Apr 2010, Georghy wrote: > try a bash script like the following : > > #!/bin/sh > ADRESS=`ifconfig | grep "inet addr" | awk '{print $2}' | sed s/addr:// | > head -n 1` > echo "The IP adress is : $ADRESS." > /etc/issue Or, if you'd rather use the iproute toolset rather than ifconfig: i

Re: [CentOS] How to display the IP on the welcome screen

2010-04-20 Thread Georghy
Sorin Srbu a écrit : > From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf > Of Patrick DERWAEL > Sent: Tuesday, April 20, 2010 4:01 PM > To: centos@centos.org > Subject: [CentOS] How to display the IP on the welcome screen > > Hi all, > I'm r

Re: [CentOS] How to display the IP on the welcome screen

2010-04-20 Thread Sorin Srbu
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Patrick DERWAEL Sent: Tuesday, April 20, 2010 4:01 PM To: centos@centos.org Subject: [CentOS] How to display the IP on the welcome screen Hi all, I'm running CentOS 5.4 in a VMware guest, with the host connected

Re: [CentOS] How to display the IP on the welcome screen

2010-04-20 Thread m . roth
> Hi all, > > I'm running CentOS 5.4 in a VMware guest, with the host connected to a > DHCP enabled LAN > When CentOS comes up, I would like to see the IP adress displayed on the > welcome screen. > This would save me the hassle of logging in the VM, getting the IP, and > logging off before finally

[CentOS] How to display the IP on the welcome screen

2010-04-20 Thread Patrick DERWAEL
Hi all, I'm running CentOS 5.4 in a VMware guest, with the host connected to a DHCP enabled LAN When CentOS comes up, I would like to see the IP adress displayed on the welcome screen. This would save me the hassle of logging in the VM, getting the IP, and logging off before finally ssh'ing to the