LinuxQuestions.org
Review your favorite Linux distribution.
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-02-2014, 07:27 AM   #31
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197

Quote:
Originally Posted by allend View Post
Try without the 'exec' part of the command so that the konsole is preserved. You may see an error message that will give you a clue as why it is failing.
I did the same experiment. I don't know if I had the same or different failure as the OP. Removing the exec did not provide any error messages I found helpful.

I had installed wmaker an Xephyr and used that command to start them. Then I managed to start a terminal window inside wmaker. Then, if I tried using the mouse (the way I'm used to in kde or gnome, etc.) to move or resize that terminal window, the whole Xephyr plus wmaker plus terminal went away.
I later found you can use mainly the keyboard for moving windows etc. in that environment. I didn't figure out how to resize a window and I didn't get the basic concept of any of the controls and I kept having mouse accidents that crashed the whole thing (almost any mouse drag action crashed it all).

Someone should tell the OP how to enable xdmcp in his environment (it is too different from enabling xdmcp in mine). I get the fact that the experts here think he shouldn't need to login each desktop. But the alternatives posted don't seem to be getting the job done.
 
Old 01-02-2014, 08:58 AM   #32
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
I am wondering whether this is due to my setup, where I regularly use WindowMaker, and so have an existing ~/.xinitrc file set up for WindowMaker.
From 'man xinit'
Quote:
SYNOPSIS
xinit [ [ client ] options ... ] [ -- [ server ] [ display ] options ... ]
...
If no specific client program is given on the command line, xinit will look for a file in the user's home directory called .xinitrc to run as a shell script to start up client programs.
I have no problems when I do:
Code:
xinit -- /usr/bin/Xephyr :1 -screen 600x960
where the ~/.xinitrc file is used.

The content of my .xinitrc file is:
Code:
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
    xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi

# If the user lacks $HOME/GNUstep, install it:
if [ ! -f $HOME/GNUstep/Defaults/WindowMaker ]; then
    wmaker.inst
fi

# Test for cpp, which wmaker uses to process config files:
if [ ! -x /usr/bin/cpp ]; then
  NOCPP="--no-cpp"
fi

# Start the window manager:
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
  exec ck-launch-session dbus-launch --exit-with-session /usr/bin/wmaker $NOCPP
else
  exec dbus-launch --exit-with-session /usr/bin/wmaker $NOCPP
fi
Perhaps the use of dbus-launch is the reason that I do not have any problem with the mouse.
 
Old 01-02-2014, 05:00 PM   #33
jonnynitro138
Member
 
Registered: Jul 2011
Location: tallahasee
Posts: 253

Original Poster
Rep: Reputation: Disabled
yep I broke something

I am not quite sure what happened, but now I have four new desktops. These are not like xnet they are like linuxmint desktops that come by default and behave the same way. I cannot get back to my original desktops unless I go through Dolphin and click on desktop. I tried to restore everything to default through system settings, but that didn't help. By not being sure what I did I mean I was on the net and watching a movie so both monitors were in use then when I closed both windows I noticed my desktop had changed. All my folders and widgets were gone. Am I now running two sessions at once?
Jonnynitro138
Never mind I fixed my error. I managed it through the login, I changed my session to Xclient script somehow so I just changed it back to plasma.

Last edited by jonnynitro138; 01-02-2014 at 05:44 PM.
 
Old 01-02-2014, 06:38 PM   #34
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
One of the problems with the desktops as they are currently designed is that any configuration change done on an alternate login (which is either xnest/zephyr or just another login) is that they share configurations --- So much so that they could EASILY get confused (I'm familiar with this happening to Gnome as it uses a memory resident configuration service, so changes get propagated willy nilly (via dbus) to whatever shares the access keys, as all such duplication would).

I would suggest using a lightweight window manager such as twm instead. It doesn't do crap like that.
 
Old 01-02-2014, 10:42 PM   #35
jonnynitro138
Member
 
Registered: Jul 2011
Location: tallahasee
Posts: 253

Original Poster
Rep: Reputation: Disabled
I get it now znest, zephyrn, twm, and plasma are window managers. While in the twm desktop; would I get better results for allends? Because at the moment these are my results:

jonnynitro138:~ > SYNOPSIS
SYNOPSIS: command not found
[127]jonnynitro138:~ > xinit [ [ client ] options ... ] [ -- [ server ] [ display ] options ... ]

X: user not authorized to run the X server, aborting.
xinit: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
connection to X server lost
after 7 requests (7 known processed) with 0 events remaining.
jonnynitro138:~ >
 
Old 01-02-2014, 10:55 PM   #36
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by jonnynitro138 View Post
I get it now znest, zephyrn, twm, and plasma are window managers.
No. Xnest and Xephyr are X-servers, Twm is a window manager, Plasma is part of the KDE desktop environment.
Quote:
jonnynitro138:~ > SYNOPSIS
SYNOPSIS: command not found
[127]jonnynitro138:~ > xinit [ [ client ] options ... ] [ -- [ server ] [ display ] options ... ]

X: user not authorized to run the X server, aborting.
xinit: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
connection to X server lost
after 7 requests (7 known processed) with 0 events remaining.
jonnynitro138:~ >
What you see on the man pages are not actual commands, but a description of the syntax of the commands, you can't directly use them. Have a look here to learn how to read man pages: http://www.linuxcommand.org/reading_man_pages.php
 
Old 01-03-2014, 02:18 AM   #37
jonnynitro138
Member
 
Registered: Jul 2011
Location: tallahasee
Posts: 253

Original Poster
Rep: Reputation: Disabled
Sweet I thank you. http://www.kernel.org/doc/man-pages/ was the final destination. I wish I knew about this a few years ago, I would probably be a little better by now.
 
Old 01-03-2014, 07:20 AM   #38
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
It used to be easier to recognize. If the name ended in "dm" then it was a display manager. If the name ended in "wm" it was a window manager. Now you have to read the man pages on everything to find out what it does... If there are any.
 
Old 01-03-2014, 07:04 PM   #39
jonnynitro138
Member
 
Registered: Jul 2011
Location: tallahasee
Posts: 253

Original Poster
Rep: Reputation: Disabled
Reply to all

When logged into twm are both desktops supposed to be black and the only gui available is when you left click?
 
Old 01-03-2014, 08:36 PM   #40
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Yes, Twm is a very basic window manager. If you want something more advanced, like fvwm2.
 
Old 01-04-2014, 10:51 AM   #41
jonnynitro138
Member
 
Registered: Jul 2011
Location: tallahasee
Posts: 253

Original Poster
Rep: Reputation: Disabled
I think I'm getting it

Okay I'm pretty sure this is what I am looking for. It will just take some practice manipulating the proper resolution of the made desktop from quarter size to full size. Does twm accept hot keys so that I can open an close files quicker than going through the slow qui?
Thank you
Jonnynitro138
 
Old 01-04-2014, 10:55 AM   #42
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Yes. An example is here:

http://www.cs.indiana.edu/~kinzler/home/etc/twmrc
 
Old 01-10-2014, 01:59 PM   #43
jonnynitro138
Member
 
Registered: Jul 2011
Location: tallahasee
Posts: 253

Original Poster
Rep: Reputation: Disabled
Not quite what I am looking for

I think this will do nicely. I will practice this for a few weeks more and see how I like the set up.
Thank you
Jonnynitro138
 
Old 03-31-2014, 07:59 PM   #44
jonnynitro138
Member
 
Registered: Jul 2011
Location: tallahasee
Posts: 253

Original Poster
Rep: Reputation: Disabled
Thumbs up I know this is an old post

I finally solved this post. Bodhi is the answer that I was looking for. With Bodhi I don't have to try to use a black screen, and the gui is simple to use. Thank you all though for the great help and suggestions.
Jonnynitro138
 
  


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
window over multiple virtual desktops in KDE adrianab Linux - Desktop 5 10-09-2009 04:57 AM
Starting gdm on multiple virtual desktops daihard Linux - Software 3 05-12-2007 05:49 PM
Running multiple virtual desktops? watha Linux - Software 2 07-24-2006 11:48 PM
KDE 'virtual desktop' not 'multiple desktops' pxlpluker Linux - Software 17 08-06-2003 05:29 PM
Virtual (not multiple) desktops in KDE or Enlightenment Proud Linux - Software 7 04-02-2003 04:18 PM

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

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