LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-17-2017, 08:59 AM   #1
triley831
Member
 
Registered: Feb 2017
Posts: 34

Rep: Reputation: Disabled
Change Rhel7_client-x64 configure as kiosk


I have a RHEL7 machine that uses X11 for display. We have a need to make this sort of like a kiosk machine. We need it to have a solid black desktop background, no desktop icons, and no right-click menu for the community user account configured on the system.

I'm drowning in all the info about X11, Gconf-editor, gnome, etc. etc.

Can someone please point me in the right direction to do this?

Thanking you in advance....
 
Old 03-17-2017, 09:06 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,689

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by triley831 View Post
I have a RHEL7 machine that uses X11 for display. We have a need to make this sort of like a kiosk machine. We need it to have a solid black desktop background, no desktop icons, and no right-click menu for the community user account configured on the system.

I'm drowning in all the info about X11, Gconf-editor, gnome, etc. etc. Can someone please point me in the right direction to do this?

Thanking you in advance....
The RHEL 7 docs on the Red Hat knoweldgebase have this:
https://access.redhat.com/documentat...iosk_Mode.html

...a step by step guide for enabling kiosk mode. That said, are you paying for RHEL??? Because if you're not, it's not really a good choice, since you will not have access to bugfixes/security patches/updates, and it will make installing things MUCH harder in the future. If you need a SERVER CLASS distro, like RHEL, use CentOS instead. If you are paying for RHEL support, calling Red Hat would get you going faster.
 
Old 03-17-2017, 09:30 AM   #3
triley831
Member
 
Registered: Feb 2017
Posts: 34

Original Poster
Rep: Reputation: Disabled
We are paying for RHEL support but for reasons I can't go into we can't use xguest. We also have to use RHEL7
 
Old 03-17-2017, 10:02 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,689

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by triley831 View Post
We are paying for RHEL support but for reasons I can't go into we can't use xguest. We also have to use RHEL7
Well, if you can't give any details and you're locked into RHEL7...not a whole lot anyone here can help you with. Without details, we can't offer much in the way of help. You hint at the fact you've read some of the docs, but don't say what you've done/tried, nor what application this system is going to run.

If you're paying for RHEL7 and you're locked into it, then contact them for assistance. If it's browser based, you have a low-tech option; run the browser in full-screen mode and disable the F11 and F4 keys via the keyboard mapping utility...map them to some CTRL-ALT-SOMETHING that you know option, and disable the right mouse button. Can do both through Gnome or KDE easily. F11 takes the browser full-screen, no border. Disabling that key keeps it that way. Disable F4 so no one can hit ALT-F4 to CLOSE the browser, either. You're left with one window, full screen, no way to do anything but interface with what's on it.
 
Old 03-17-2017, 12:28 PM   #5
triley831
Member
 
Registered: Feb 2017
Posts: 34

Original Poster
Rep: Reputation: Disabled
Icon removal/black desktop background

DOD requirements - that's why we're locked into RHEL7 and why also it can't be a pure kiosk, has a lot to do with the software that will be installed and run over top of the base OS.

I figured out the right click part. Used the command xmodmap -e 'pointer = 1 2 0 4 5 6 7 8 9' in the .bashrc file within the users' home folder that I'm locking down. Logged out, and in again, no ability to right-click anymore.

As far making a plain black background, have no idea. If I use the gconf-editor command and go to "Desktop", then gnome, then background, I see two choices Primary and Secondary Colors. The values are in hex. Someone speculated that black in hex is ffffff. I changed both of those values to that but nothing happened.

I've read where this can be easily done in Nautilus. I checked and have Nautilus installed. But everywhere I read this it says that if I bring up gconf-editor again, I should see Nautilus as a choice under "Apps". The only choice there is gconf-editor. Nautilus doesn't appear.

As far as removing the Home and Trash icon on the users' desktop, again, supposedly easily done in Nautilus. But again, it's apparently done within gconf-editor again, under App "Nautilus". Don't have that choice there.
 
Old 03-17-2017, 01:57 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,689

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by triley831 View Post
DOD requirements - that's why we're locked into RHEL7 and why also it can't be a pure kiosk, has a lot to do with the software that will be installed and run over top of the base OS.
I'm well familiar witih DoD requirements. However, it seems VERY odd that a DoD machine doing anything that you can't talk about, would be running in kiosk mode, unattended.
Quote:
I figured out the right click part. Used the command xmodmap -e 'pointer = 1 2 0 4 5 6 7 8 9' in the .bashrc file within the users' home folder that I'm locking down. Logged out, and in again, no ability to right-click anymore.
Ok...so that takes care of right-click, but you can still use the keyboard to simulate it. SHIFT-F10 does the trick nicely.
Quote:
As far making a plain black background, have no idea. If I use the gconf-editor command and go to "Desktop", then gnome, then background, I see two choices Primary and Secondary Colors. The values are in hex. Someone speculated that black in hex is ffffff. I changed both of those values to that but nothing happened.
Standard HTML color codes. Try 000000 instead...or creating a totally black JPG image, and scale it to desktop.
Quote:
I've read where this can be easily done in Nautilus. I checked and have Nautilus installed. But everywhere I read this it says that if I bring up gconf-editor again, I should see Nautilus as a choice under "Apps". The only choice there is gconf-editor. Nautilus doesn't appear.

As far as removing the Home and Trash icon on the users' desktop, again, supposedly easily done in Nautilus. But again, it's apparently done within gconf-editor again, under App "Nautilus". Don't have that choice there.
Ok, but again, if you're paying for RHEL support, you can call Red Hat and they can walk you through all of this. But I think you're misunderstanding kiosk mode from a locked-down desktop. Kiosk mode means that there is only ONE application visible, and that is the ONLY thing that works, period. Also, using Gnome is more work than you need for a single-application system. There are VERY lightweight window managers, such as lxde...ANY GUI app will go full-screen, no borders, with ALT-F11, which you can simulate in a script that's run upon a user logging in...which takes them to one window.

Which goes back to disabling those keys in the window manager, so it stays there.
 
Old 03-17-2017, 02:00 PM   #7
triley831
Member
 
Registered: Feb 2017
Posts: 34

Original Poster
Rep: Reputation: Disabled
Lock-down

You're right. It's more of a lock-down than a kiosk. The system is one in which sailors will sit in front of on a ship. That's all I can say. we don't want them being able to bring up a terminal window, no icons on desktop, plain black background.

Last edited by triley831; 03-17-2017 at 02:05 PM.
 
Old 03-17-2017, 02:29 PM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,689

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by triley831 View Post
You're right. It's more of a lock-down than a kiosk. The system is one in which sailors will sit in front of on a ship. That's all I can say. we don't want them being able to bring up a terminal window, no icons on desktop, plain black background.
That's fairly easy.
https://help.gnome.org/admin/deployment-guide/
https://access.redhat.com/documentat...sktop-features

Again, Red Hat support can walk you through all of this. And if you want no icons on the desktop, you'll have to enable the Gnome panel/launcher. Which opens holes of its own. A single-purpose icon on the desktop that can't be modified is far safer.
 
  


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
FFMPEG for APACHE 2.4.6 (x64), PHP 5.5 (x64), MYSQL 5.6 (x64) on WINDOWS 8 (x64) Punctual Programming 3 08-07-2013 05:20 PM
How to change var folder to a new mounted raid 1 drive on Centos 6 x64 Adil Boyun Linux - Server 2 11-21-2011 04:39 PM
How to configure pvr150 and install mythtv to work on 2008.1 powerpack x64 dirty_bastard Mandriva 11 10-04-2008 09:13 PM
after partition number change, 10.0 x64 root missing shshjun SUSE / openSUSE 2 05-12-2006 07:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:26 PM.

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