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 - 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 01-24-2005, 01:25 PM   #1
JMCraig
Member
 
Registered: Feb 2003
Location: Utah, USA
Distribution: Red Hat EL/CentOS, Ubuntu/Debian
Posts: 113

Rep: Reputation: 15
Unhappy Xterm to Graphical Environment: run what?


Hi Folks,

I've successfully made an xterm connection from my Windoze PC to my Fedora Linux box and the X-Server is all started and running (it's even forwarding over SSH); now what I'm looking at on the X-Server display is a terminal session. I can start individual programs (like, say, xclock) by just running them.

Isn't there a way to start up a Gnome (or other) X11 enviroment inside the X-Server session?

When I log in directly on the console, it drops me into Gnome. So, where do I look to find out what the startup sequence is to launch the X11 environment when I log in via the console (or am I barking up the wrong tree, here)?

(I hope this was an appropriate forum for this kind of question. I'm certainly feeling like a newbie at the moment and I'm hoping that answer's not Fedora-specific.)

Thanks for any suggestions.

John
 
Old 01-24-2005, 01:29 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
what windows software are you using? eXceed? Xwin32? normally there's an option on the main menu to choose a full desktop session.

alternatively, if you're after a full emersion experience, you might get a quicker cheaper resul by usign VNC, which now can plug directly into X to export your main login, or a traditional setup where you can create your own personal login for the windows machine.
 
Old 01-24-2005, 02:46 PM   #3
JMCraig
Member
 
Registered: Feb 2003
Location: Utah, USA
Distribution: Red Hat EL/CentOS, Ubuntu/Debian
Posts: 113

Original Poster
Rep: Reputation: 15
The product I'm using is LabF's WinAxe+ and I use it all the time on my LAN here with an XDMCP setup. It works great.

But, for working with a client, I need to be able to use SSH forwarding (or some other secure means of connecting to some Unix boxes that may or may not have the usual Linux capabilities). They do run X on them, so I'm just trying to wring this process out here in my own little LAN and hope it'll work on their boxes too. LabF's instructions for using their XServer via SSH are to start the XServer, then use their SSH-enabled Telnet program to connect via SSH and indicate that you want X Forwarding enabled. At that point, you run
xterm -display <your box's IP>:0.0 &

And you end up with a terminal session in the XServer window. At which point you can run specific programs--presumably you could also run other things rather than xterm. (LabF's uninteresting, but illustrative example is xclock; it works fine.) So, if I can start anything, it seemed to me that I should be able to run Gnome or KDE; but I don't know what the sequence is to start them.... So, I was hoping there'd be a script somewhere that runs when I normally connect on the console that starts Gnome; I don't know where to look for it (and, perhaps there isn't one and that's not how it works). Or perhaps I could just find the names of the programs and run them and see what setup issues they complain about.

Using SSH forwarding is ideal for this situation in terms of (apparent) simplicity of firewall settings at my customer's site and providing good security. However, I'd like to be able to run graphical programs. So, if there's no slick way to get the full X11 GUI going inside the X-Server, then perhaps I can find some useful programs (like the Nautilus file manager). xclock (my only example so far) is in /usr/X11R6/bin, but there's nothing with a name like "nautilus".... So, is there a place in the X configuration where there's an association between the entries on the Applications menu and the programs? (There is, I know, can you help me find it?)

Thanks,

John
 
Old 01-24-2005, 03:12 PM   #4
JMCraig
Member
 
Registered: Feb 2003
Location: Utah, USA
Distribution: Red Hat EL/CentOS, Ubuntu/Debian
Posts: 113

Original Poster
Rep: Reputation: 15
Lightbulb

The command:

gnome-session

seems to be the magic executable that you need to run. It probably should have some parameters to go with it, but even without anything it gets the full environment up and going (when I'm hitting RedHat EWS at least). Now to test it over the Internet.....

Thanks for taking time to read this!

John
 
  


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
HOWTO Run as root in graphical environment fedix Fedora 7 10-14-2005 02:39 PM
graphical environment not working mouse46 Mandriva 11 08-09-2004 08:33 AM
Graphical Desktop Environment Gerardoj Linux - General 3 10-30-2003 07:00 PM
can't log in graphical environment abd_bela Debian 3 09-12-2003 07:43 AM
Environment Variables: xterm, ls, mc, and emacs colors kulitpuro Slackware 4 09-01-2003 01:06 AM

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

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