Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-12-2013, 01:02 AM   #1
Registered: Nov 2003
Posts: 79

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:

The Redhat 5.5 instructions utilized the utility: gdmsetup

From Redhat 5.5,

rpm -qa | grep -i 'gdm'

which 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


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



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
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
Red Hat Content Author
Registered: Nov 2007
Location: Brisbane, Australia
Distribution: RHEL, Fedora
Posts: 29

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.

Old 11-13-2013, 01:45 PM   #4
Registered: Nov 2003
Posts: 79

Original Poster
Rep: Reputation: 15

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
Registered: Nov 2003
Posts: 79

Original Poster
Rep: Reputation: 15

I did some more work on it.

From Mobaxterm on Windows, ssh to Redhat 6.5

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

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
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration