LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-02-2014, 04:21 AM   #1
Pawan_Battula
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Rep: Reputation: Disabled
Login Message in RHEL 6


How do i display a Welcome Message, when user is logged in, using gui not ssh.
 
Old 02-02-2014, 10:20 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by Pawan_Battula View Post
How do i display a Welcome Message, when user is logged in, using gui not ssh.
Your question isn't clear...do you want to MAKE the changes using a GUI, or do you want something to pop up when you log IN using the GUI?

You can probably use the 'display' command to pop up an image for a few seconds (using a script), and put that either in the users .bashrc/.bash_profile/.profile, or you can write some other script to pop up whatever text you want, where you want it.
 
Old 02-02-2014, 11:31 AM   #3
Pawan_Battula
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Your question isn't clear...do you want to MAKE the changes using a GUI, or do you want something to pop up when you log IN using the GUI?

You can probably use the 'display' command to pop up an image for a few seconds (using a script), and put that either in the users .bashrc/.bash_profile/.profile, or you can write some other script to pop up whatever text you want, where you want it.

I Just want to POP a Message with USERNAME, DATE and TIME.
 
Old 02-02-2014, 01:00 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by Pawan_Battula View Post
I Just want to POP a Message with USERNAME, DATE and TIME.
Ok, so write a script to do it. Xmessage gives you a tool to be able to do just that, but the better question is "why"?? The user is already going to KNOW what their user name is, and what date/time it is. Putting a message on the screen telling them what they already know (and then making them click something or wait until the message clears is just going to annoy users.
 
Old 02-03-2014, 09:07 AM   #5
Pawan_Battula
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Ok, so write a script to do it. Xmessage gives you a tool to be able to do just that, but the better question is "why"?? The user is already going to KNOW what their user name is, and what date/time it is. Putting a message on the screen telling them what they already know (and then making them click something or wait until the message clears is just going to annoy users.
Can You Post the script or any example of the script. It may help me to understand better.
 
Old 02-03-2014, 09:36 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by Pawan_Battula View Post
Can You Post the script or any example of the script. It may help me to understand better.
No, you need to write your own scripts. If you need examples of scripts, you can easily find them if you show a bit of effort...there are THOUSANDS of scripting tutorials with examples you can find with a simple Google search. There's even a scripting tutorial in my posting signature...have you bothered to look at it?
 
Old 02-03-2014, 10:52 AM   #7
pingwinowiewc
Member
 
Registered: Feb 2014
Location: Europe
Distribution: Debian, Mint, Arch (multiboot)
Posts: 90

Rep: Reputation: Disabled
Dont be so impolite.....
Scripting in bash or basrc isnt so hard, its more like writing in TP/BP scco
 
Old 02-03-2014, 12:14 PM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by pingwinowiewc View Post
Dont be so impolite.....
Scripting in bash or basrc isnt so hard, its more like writing in TP/BP scco
If you want to write the OP's script, then go right ahead. Countless people come here over and over again, asking for people to write scripts for them, and it doesn't work. This is a place to come for HELP...and that means, you have to show effort of your own.

If you have a problem with the OP's script not being written for them, then why don't you write it and post it?
 
Old 02-03-2014, 04:44 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
with a few more things we COULD point the OP it the right direction
but we do not even have a bare minimal
--- like
" hay i saw this neat login option "
-- insert URL of a photo of it
how would i go about that ?

all we have is a very basic " i need a script to add unneeded things to the login , - please make it for me "

Grub 0.9 legacy that is in RHEL6 is VERY customizable

there are a bunch of built in tools

Also we do not know if this is for "Plymouth" or from the fallback

Last edited by John VV; 02-03-2014 at 04:48 PM.
 
  


Reply



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
How to setup system Login banner and Login message 06-03-05 Linux - Newbie 13 07-24-2020 02:05 PM
RHEL 6 - Upon GUI Login Present successful and unsucessful User Login johnmccarthy Linux - Newbie 2 07-24-2013 12:38 PM
Login times out while writing long message and then still can't submit message homerun LQ Suggestions & Feedback 6 08-19-2009 10:16 AM
RHEL and pcAnywhere error message. DrEntropy Red Hat 1 01-02-2009 06:44 PM
Login problems with XDMCP from a pre-RHEL-4 client to a RHEL-4 server running KDE cspao Red Hat 0 07-21-2006 06:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:07 AM.

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
Open Source Consulting | Domain Registration