Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'll look into installing Xnest, in the meantime,I found out that we have Exceed on the PCs in the office and they issue a command to the solaris box something like this:
rexec olwm
Is there any way I could get something like that working with my Xserver?
It's not as simple as:
ssh -X <server>
olwm
Because it says that a server is already running on the display.
First you start a new instance of X on your local computer. Then you set that as the default display for the shell session you're in. Then you use the "ssh -X" command. Finally you issue the window manager start command.
Code:
X :1 &
env DISPLAY=:1 ssh -X user@host
olwm &
The first command starts a new X server on your local machine. The second says to use that for the DISPLAY variable for the ssh command, which starts X forwarding to it and logs you into that machine. Note: this will probably switch you to the X session a couple times during this process. Use <ctl>-<alt>-<f1> or <f6> or whatever it takes to get you to the place where you were typing these commands. By default, I use <f1> just so I'm not starting a new X session from inside X.
The last command starts the window manager, it will open and run on the new display.
With both CDE and OLWM I get an error when running two apps. I can get one of the apps to load under XDMCP, but sometimes it's not drawing the graphics correctly (Fedora doesn't, but Xubuntu did and gentoo did).
The error says:
Quote:
server: X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Value in failed request: 0x8
Serial number of failed request: 1178
Current serial number in output stream: 1521
Any ideas? Basically I can run just about everything but this legacy software. Could it be a font issue?
Also under Fedora Core 6, the SSH forwarding looks to be blocked. I tried turning off the firewall, but it continues to not go through.
I get the following error:
AUDIT: Mon Oct 30 10:05:01 2006: 3265 Xnest: client 1 rejected from local host
Quote:
AUDIT: Mon Oct 30 10:05:01 2006: 3265 Xnest: client 1 rejected from local host
Auth name: MIT-MAGIC-COOKIE-1 ID: -1
Xlib: connection to "localhost:11.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
olwm: cannot connect to (NULL DISPLAY)
I've checked the ssh_config and sshd_config and both have X11 forwarding on, I saw some things on another board about PAM being setup incorrectly, but the entire PAM file is commented out. PAM is set to yes in the sshd file of the fedora box, but I'm using fedora as the client. Any thoughts?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.