LinuxQuestions.org
Visit Jeremy's Blog.
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 11-12-2013, 01:02 AM   #1
Darrell22
Member
 
Registered: Nov 2003
Posts: 83

Rep: Reputation: 15
Question Redhat 6.4: How to configure Remote Login to allow X Windows


Dear Experts,

With Redhat 5.5, I managed to configure the server to allow remote logins, and have the X Windows GUI with MobaXterm.
Using these instructions:
https://rodgersnotes.wordpress.com/2...to-redhat-5-5/

The Redhat 5.5 instructions utilized the utility: gdmsetup


From Redhat 5.5,

rpm -qa | grep -i 'gdm'
gdm-2.16.0-56.el5

which gdmsetup
/usr/sbin/gdmsetup

------------

However, with Redhat 6.4, there is no such utility.

which gdmsetup
/usr/bin/which: no gdmsetup in (/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

find / -type f -iname "gdm*" 2> /dev/null

/usr/bin/gdmflexiserver
/usr/bin/gdm-screenshot
/usr/sbin/gdm-binary
/usr/sbin/gdm
/usr/lib64/python2.6/site-packages/orca/scripts/apps/gdmlogin.pyc
/usr/lib64/python2.6/site-packages/orca/scripts/apps/gdmlogin.pyo
/usr/lib64/python2.6/site-packages/orca/scripts/apps/gdmlogin.py
/etc/dbus-1/system.d/gdm.conf
/etc/pam.d/gdm-password
/etc/pam.d/gdm-autologin
/etc/pam.d/gdm-fingerprint
/etc/pam.d/gdm-smartcard
/etc/pam.d/gdm
/etc/gdm/gdm.schemas
/etc/gconf/schemas/gdm-simple-greeter.schemas


rpm -qa | grep -i "gdm" | sort

gdm-2.30.4-39.0.1.el6.x86_64
gdm-libs-2.30.4-39.0.1.el6.x86_64
gdm-plugin-fingerprint-2.30.4-39.0.1.el6.x86_64
gdm-plugin-smartcard-2.30.4-39.0.1.el6.x86_64
gdm-user-switch-applet-2.30.4-39.0.1.el6.x86_64
plymouth-gdm-hooks-0.8.3-27.0.1.el6.x86_64
pulseaudio-gdm-hooks-0.9.21-14.el6_3.x86_64



-----------


So far, I can only ssh login and get a character terminal.

In Redhat 6.4, what is the secret to get XWindows with Mobaxterm?

Thanks a lot!
 
Old 11-12-2013, 01:49 AM   #2
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
If you are happy to use ssh for logins you can use it with the "-X" option. You will get a cli, but you can execute xwindows applications. Alternatively you can run something like tigervnc.

Gdm-setup is no longer packaged with gnome as i understand. So therefor no more utility.

You will have to find the booleans in the respective configuration files and toggle them from there

Last edited by ericson007; 11-12-2013 at 02:02 AM.
 
Old 11-12-2013, 01:53 AM   #3
dob12460
Red Hat Content Author
 
Registered: Nov 2007
Location: Brisbane, Australia
Distribution: RHEL, Fedora
Posts: 32

Rep: Reputation: 4
I don't know anything about Mobaxterm but I've been known to use ssh -X -Y remoteuser@remotehost

I believe there are security risks involved with enabling X11 fwding, so investigate what you're doing and where you're connecting before you use it.

cheers
 
Old 11-13-2013, 01:45 PM   #4
Darrell22
Member
 
Registered: Nov 2003
Posts: 83

Original Poster
Rep: Reputation: 15
Question

Thanks for responding.

From Mobaxterm, do you know then how I could:
ssh -X -Y remoteuser@remotehost

??

Thanks a lot!
 
Old 11-13-2013, 01:47 PM   #5
Darrell22
Member
 
Registered: Nov 2003
Posts: 83

Original Poster
Rep: Reputation: 15
Question

I did some more work on it.


From Mobaxterm on Windows, ssh to Redhat 6.5

root@192.168.2.201's password:
Last login: Mon Nov 11 21:01:30 2013 from 192.168.2.107


gedit &
[1] 2922
root@/home/notes/2013# Xlib: extension "RANDR" missing on display "localhost:10.0".


In my Windows laptop, the gedit program opens, that will save to the Redhat 6.4 server.



What I'd really like, is a session to the Redhat server, that
emulates the desktop when I log in directly on the server.

Any ideas on how to do that?

Thanks a lot!
 
Old 11-13-2013, 05:31 PM   #6
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
Yes, if you use something like tiger vnc you can get what you are after, but it does not emulate the desktop, it allows directly controlling it remotely.

I do use it for some function but not very often. Just make sure that if you do run it remotely you secure it with a vpn and strict firewall rules.

You really don't want it easily reachable from the public.
 
  


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
A way to configure LTSP clients for remote login? Silver565 Linux - Software 0 05-25-2009 08:31 PM
How to configure SLES9 to permit remote telnet login coffeebreak SUSE / openSUSE 1 09-15-2005 09:46 PM
Remote Graphical Login to Redhat yogi1061 Linux - Software 2 10-08-2004 06:01 PM
Redhat 9 Remote Desktop Sharing at Login nick81 Linux - Software 2 02-23-2004 10:21 PM
RedHat 7.3 - Need help with remote login SnapETom Red Hat 2 10-13-2003 10:52 AM

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

All times are GMT -5. The time now is 12:28 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