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

2010-04-22 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-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 mhullr...@gmail.com On Wed, Apr 21, 2010 at 2:08 AM, Patrick DERWAEL patr...@derwael.be wrote: Well, I have had to tweak this it a little, bit it finally

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 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 Ideally, it should be displayed on the GUI,

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 07:49 PM, Patrick Derwael wrote:

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 -Original Message- From:

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

2010-04-21 Thread MOKRANI Rachid
Hi, Add the content of the file /etc/issue in the file /etc/gdm/custom.conf . See the line : . . [gui] [greeter] TitleBar=true LockPosition=false ConfigAvailable=false BackgroundType=1 BackgroundImage=YOUR BACKGROUND IMAGE Logo=YOUR LOGO DefaultWelcome=false Welcome=%s: %r - %n

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

2010-04-21 Thread Georghy
MOKRANI Rachid a écrit : Hi, Add the content of the file /etc/issue in the file /etc/gdm/custom.conf . See the line : . . [gui] [greeter] TitleBar=true LockPosition=false ConfigAvailable=false BackgroundType=1 BackgroundImage=YOUR BACKGROUND IMAGE Logo=YOUR LOGO

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 [SOLVED]

2010-04-21 Thread MHR
On Wed, Apr 21, 2010 at 2:08 AM, Patrick DERWAEL patr...@derwael.be 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.

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 mhullr...@gmail.com wrote: [...@mhrichter ~]$ cat /etc/gdm/gdm.conf | grep GraphicalTheme= cat: /etc/gdm/gdm.conf: No such file or directory [...@mhrichter ~]$ locate gdm.conf nothing there So, how does this work under CentOS? look for kdm.conf or xdm.conf...

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 alvin.ch...@gmail.com wrote: look for kdm.conf or xdm.conf... Hmm - am running GNOME, but: [...@mhrichter ~]$ locate xdm.conf [...@mhrichter ~]$ locate kdm.conf [...@mhrichter ~]$ ??? mhr ___ CentOS

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 mhullr...@gmail.com wrote: On Wed, Apr 21, 2010 at 9:57 AM, Alvin Chang alvin.ch...@gmail.com wrote: look for kdm.conf or xdm.conf... Hmm - am running GNOME, but: [...@mhrichter ~]$ locate xdm.conf [...@mhrichter ~]$ locate kdm.conf

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 alvin.ch...@gmail.com 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

[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

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

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 to a

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 running CentOS 5.4 in a VMware guest,

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: ip -o -f

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

2010-04-20 Thread Patrick Derwael
Ideally, it should be displayed on the GUI, like the date/time and hostname -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Sorin Srbu Sent: mardi 20 avril 2010 16:22 To: 'CentOS mailing list' Subject: Re: [CentOS] How to display the IP

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 Athmane Madjoudj
On Tue, Apr 20, 2010 at 6:49 PM, Patrick Derwael patr...@derwael.be 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. --

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,