General :: Xvnc Sessions Do Not Allow Program Or Terminal Launching?

Feb 12, 2010

I just added 8 additional vncserver sessions(Xvnc) (using a well-documented procedure my predecessor used) to my RH Enterprise 2.4.21-4 (OK it went by fast) server. This brings the number of session listed in my /etc/sysconfig/vncservers file to ~32. Applications and terminals now seem to choose if they will open or not in the Xvnc session and not all sessions start at boot. I can start them manually, and they will work, but then they stop working properly. You can open a session, view the active desktop, click on menus and associated drop-down items to try and open apps, but the apps/terminals just won't open. Is there a limit to the number Xvnc Sessions that can be managed? If so, what is it? This happens whether I try to connect from a Winddows box or another Linux box.

View 3 Replies


ADVERTISEMENT

CentOS 5 :: Xinetd Xvnc 'Teminal' Sessions - Only One Allowed At A Time?

Mar 2, 2009

I'm setting up my CentOS server and I'm having issue with the VNC server. I've set up xinetd services for connections all of which work individually bringing me to a login window. But only one will work at a time. If I kill the process or if I click the disconnect button I can make a new one but as they are terminal sessions (using wait) I wanted to be able to leave one logged in and have the option of another connection if I wanted to log on a different user.

Can someone help with the setting which would be to allow more than one connection? I know if you setup permanent session paths in vncserver this should work but (and I'm sure this has worked for me in the past) the xinetd method is supposed to open up sessions as required. I am working from a write-up for doing this in Ubuntu and aside from odd path differences the only noticeable change is the guide uses vnc4server rather than vncserver that comes pre-installed on CentOS. Should that matter?

View 2 Replies View Related

Ubuntu :: Launching A Program From Terminal To A Specific Viewport (Compiz)?

Mar 18, 2011

Anyone know how to launch a program from CLI (command line) to a specific viewport? I start programs all the time from the CLI and there are times when I'm in "typing demon" mode and don't want to touch the mouse. Being able to launch a program to a certain viewport (Compiz, w. effects) would be really helpful at times.

I'm familiar with wmctrl and i can use the -a and -c options to switch to and close windows fine. I only have 1 desktop (9 viewports, though), and wmctrl's support for viewport seems limited at best. Ideally, I'd like to launch a program to a specific viewport, but just being able to move an existing one to a specific viewport would work, too.

Please note: I'm talking about moving apps to viewports AD HOC or DYNAMICALLY, not in a fixed way like I believe devilspie and such (and Compiz' Place plugin). Depending on my task, I need to quickly launch several apps to different viewports, and this VARIES for me a lot. ubuntu 10.04 lts / gnome / compiz w. full effects

View 2 Replies View Related

General :: Launching TMUX Using Gnome Terminal

Oct 18, 2010

I'm a little confuse regarding how one launches tmux. When I launch my terminal (current gnome-terminal), I would like to have tmux up and running. I'm currently doing this by calling "tmux" in my .zshenv (kind of like .bashrc in bash). This does in fact launch tmux, but has some annoying side effects. First, hitting Ctrl-D to exit the shell, only kills tmux, and leaves the tmux-less gnome-terminal still running. An additional Ctrl-D will kill that as well. Second, when ssh into a box with this setup, I get a second, nested instance of tmux. I don't want tmux to launch again when I ssh. Is this the right approach, how should tmux be launched usually?

View 2 Replies View Related

General :: Link Terminal Sessions - Show Logged In As The Same User?

Jun 7, 2011

I was doing some rather lengthy procedures using a terminal. Then I wrote script using Kate, and input it into that terminal, and then realized that I was logged in as a normal user in that terminal as opposed to a superuser, which is how I was logged in at the other terminal. I've never noticed this before because I've never done anything that takes this long.

Is there any way to link all terminal sessions in such a way that they all show me logged in as the same user? I don't even know if this is even important, but I don't want to risk losing any things that I had done.

View 2 Replies View Related

General :: Using Script To Automatically Record Terminal Sessions When A User Logs In?

Mar 3, 2010

I'm trying to set up automatic recording of user sessions when they login without their knowledge. I tried sticking the script command into /etc/profile and but that didn't really work. I also tried /etc/bashrc but that had the same affect.I have also tried setting the shell in /etc/passwd to SHELL=/bin/bash /usr/bin/script -q /testing.txt.

View 8 Replies View Related

General :: Bash Script - Obtain Current Workdirs Of All Konsole Terminal/sessions?

Jan 15, 2011

I am trying to write a bash script that would save the current state of my konsole terminals and sessions. I'm using KDE3.X and for some reason the "profile" save does not save the current working directories... Anyway, I would like to know if there is an elegant way to obtain the current workdir of each terminal and session ? I've managed to do something with a clever use of DCOP extended functions, but it requires me to start every konsole with the --script option enabled, and I don't want to do that.

View 9 Replies View Related

General :: Launching A Task From Cli And Divorcing It From Terminal Task?

Feb 10, 2011

How do you launch a task from a terminal command line interface and it not be kill'ed if you close the terminal window. Like if I run jedit I type jedit & which launches jedit as a backgorund task. But, if I close terminal window, jedit dies to. How do I laucnch jedit and completely divorce it from the terminal task?

View 6 Replies View Related

Debian :: Terminal In GUI Environment Not Launching

Aug 26, 2015

I got a problem with the terminal in GUI Environment after i upgraded it From debian 7 to 8 "it's not launching" ....

Root Terminal is Working....

View 3 Replies View Related

Ubuntu :: 9.10 - How To Get Sessions Through Terminal

Feb 9, 2010

Where is sessions in 9.10? How do i get it, Is it called something different.

View 5 Replies View Related

Fedora :: Run Graphical Apps As Su Without Launching From The Terminal?

Jan 8, 2010

Is there a way to run graphical apps as su without launching from the terminal? For example is there a way to open File Browser as su? And if the only way is via the terminal, then how can I find out the names of apps like the File Browser so I can launch them?

View 8 Replies View Related

Ubuntu :: Command Not Found After Launching Terminal?

Jan 26, 2011

As soon as I launch terminal I get the following:

[...]: command not found
[...]: command not found

And it then goes to a $~ prompt as usual. How do I make it so the two commands it is trying to launch don't run upon launching terminal?

View 5 Replies View Related

Programming :: Launching A Terminal Command With A Qt Button?

Feb 9, 2010

I've created a QT interface with some buttons and labels, and i want to launch a terminal command with one of these buttons,but the command maust starts with "sudo",unfortunately it didn't work because it wants root password and i can't enter it even in the Button cammand....

View 6 Replies View Related

Ubuntu Servers :: Launching A Gui Program On A Remote Computer?

Aug 14, 2010

Is it possible to use ssh to launch a program and it's gui on a remote computer? I've tried connecting with ssh -X computer@ipaddress but when I launch gedit it loads on the local computer

View 9 Replies View Related

Ubuntu :: Launching Program From Main Menu Fails?

Oct 8, 2010

I'm running GuitarPro6 on my EeePC, and it will only start correctly if I start it from a terminal, in the install directory (/opt/GuitarPro6)

If I attempt to start it from somewhere else, like ~/, I get a library error. GP appears to want to look for this library in the working directory, and will only find it and start if I CD to /opt/GuitarPro6 first.

For this reason, I believe, when I click on the shortcut I made in Main Menu, nothing happens.

Is there any way to define the working directory for a shortcut in Main Menu?

View 2 Replies View Related

Software :: X-server Segmentation Fault On Program Launching?

Apr 14, 2010

Having upgraded Debian Linux i386 squeeze release from kernel 2.6.30 to 2.6.32 everything works except X-server segmentation fault on launching a graphic program (CHIMERA, [URL]... I have successfully recompiled CHIMERA on the updated Linux, to no avail.

Below - between *** - the final part of "Xorg.0.log" reporting troubles. Before that, the log is identical to when X-server is working properly (reported in full between ).

[Code]...

View 5 Replies View Related

Ubuntu :: Launching Terminal Apps In URXVT Automatically

May 12, 2011

Problem with use of -hold|+hold on rxvt-unicode (urxvt) v9.09 on ubuntu server. On startup, I'm trying to launch terminal apps in urxvt automatically. E.g:
Code:
"urxvt -e /usr/bin/weechat-curses +hold"
or
Code:
"urxvt -hold -e mutt"

However, -|+hold does not seem to hold the terminal open. There is a flicker of a new window opening & then it's gone. I'm trying to invoke this from .xinitrc (startx-->.xinitrc) and also tried commands from inside awesome wm rc.lua (awful.util.spawn_with_shell("urxvt -hold -e mutt") seem to get same flicker result but closes immediately. I see this error in .xsession-errors, which might be relevant (do I perhaps need to specify the display??).

Code:
[1461:1634:41805904:ERROR:all_status.cc(117)]
Unrecognized Syncer Event: 7
E: awesome: a_xcb_io_cb:230: X server connection broke
urxvt: X connection to ':0' broken, unable to recover, exiting.

Code:
rxvt-unicode (urxvt) v9.09 - released: 2010-11-13
options: perl,xft,styles,combining,blink,encodings=eu+vn+jp+jp-ext+kr+zh+zh-ext,fade,transparent,tint,afterimage,XIM,frills,selectionscrolling,wheel,slipwheel,smart-resize,cursorBlink,pointerBlank,scrollbars=plain+rxvt+NeXT+xterm
Usage: urxvt [-help] [--help]
...
[-n string] [-sl number] [-embed windowid] [-depth number]
[-/+override-redirect] [-pty-fd fileno] [-/+hold] [-w number] [-b number]
[-/+bl] [-lsp number] [-letsp number] [-/+sbg] [-mod modifier] [-/+ssc]
[-/+ssr] [-pe string] [-blt string] [-e command arg ...]

Code:
~$ awesome -k
✔ Configuration file syntax OK.
link to urxvt man: [URL]

View 7 Replies View Related

Ubuntu :: Stop User - From Launching A Browser From Terminal

Jun 30, 2011

How do I stop a user, from gaining access to the internet(port) via a restricted browser? In other words, I want a general user to only to have access to Firefox and no other browsers.

My first approach so far, has been to write a bash shell script. It terminates a program based on keywords from known browsers (opera, asus, ect).

View 9 Replies View Related

Ubuntu :: How To View Previous Terminal Sessions

Nov 10, 2010

I often use the terminal to shut down my system whilst watching TV in bed, I use SUDO AT TIME and HALT.This works a treat most of the time, but a couple of time this week I have woken in the night and the PC/TV is still running? Maybe I mis typed somthing? Is there any way I can view previous terminal sessions to check ???

View 4 Replies View Related

Ubuntu :: Automatically Save Terminal Sessions?

Nov 23, 2010

i'd like to ask how could I save my Terminal Sessions to a text file or something like the option we could do at Putty or Kitty?

View 1 Replies View Related

Fedora :: Launching GUI From Terminal - VNC Closes And Won't Show A GUI Login Page

Aug 20, 2009

Having logged in (to Fedora 11) with a terminal session, what command do I give to spawn the Gnome GUI desktop environment? Background: I'm running two Fedora boxes: one local, and one at the other end of my building (on fast LAN). I have full control/ownership of both boxes.

On the local box, I log-in to my vanilla F11 build, and I get the Gnome GUI automatically. Then I can open a terminal window, 'ssh -X -l myself remotebox; cinelerra' to run Cinelerra nicely in local desktop windows.

But sometimes I want to see my typical user desktop for the remote box. Now, IF the remote box is ALREADY running Gnome, I can VNC to it, etc. But, once having logged-out of the remote box, VNC closes and won't show me a GUI login page. (BTW: The remote box usually has no monitor, as well as being out of reach. So schlepping over to logon to it is a real pain.) So, here's the thing: I can login (to terminal session) and can bring up programs in local windows. But WHAT program do I launch in order to bring up Gnome??

View 3 Replies View Related

Programming :: Launching Interactive Gnome-terminal With A Command (and Not Exiting)

Oct 13, 2010

I want to have a script (tcsh/bash/python) that launches a bunch of gnome-terminals (or 1 with multiple tabs). And I want it to execute a command, but keep the shell interactive. Currently, if you type gnome-terminal then it launches a new interactive shell, but if you give it the execute flag, then it executes the command and quits (or stays open, but non-interactive depending on the users gnome-terminal settings).

I have this command which I want to run automatically before I start working. What the command does is dynamic and different for each shell. It takes arguments. So it's not something I can take care of in a .cshrc type file.

View 3 Replies View Related

General :: Uninstall A Program From The Terminal?

Jul 13, 2009

add/remove option in the graphics mode is not working......its showing cant retrieve software information how can i remove a software from the terminal

View 7 Replies View Related

General :: Tell If A C Program Is Running Without A Terminal?

May 9, 2010

I have a C program that can run disconnected ( like most ), is there a programmatical way to tel if the program is running without a terminal? Example:nohup my-program &What I want is to modify the program so it can be used as a HUB interface. It does Peer to Peer communication and I want to make it a server function with a command line option.Currently if I disconnect the program, it will loop on the read for stdin, I need to be able to detect that and go into 'HUB' mode.

View 4 Replies View Related

General :: Terminal Command In C Program?

May 21, 2010

I want to design c program can run terminal command and put the output of command into file... How can i do this ? for example :

string s = " iwlist scan "

and when i run the programm this command applied and put the output into specific file

View 1 Replies View Related

General :: Diary Program That Runs In The Terminal?

May 1, 2011

Is there a diary program for Linux that runs in the terminal?

View 1 Replies View Related

General :: Compile C++ Program Using Open Terminal?

May 13, 2010

I had wrote a program in the vi editor using the command vi [filename.cc] in open terminal and now i need to compile n run it

View 3 Replies View Related

General :: Navigating To Folders Within The Terminal Program?

Jan 31, 2010

I'm trying to install Flash Player 10 (to access Hulu) with no success. Here are the instructions Adobe gave me:

1. Click the download link to begin installation. A dialog box will appear asking you where to save the file.

2. Save the .tar.gz file to your desktop and wait for the file to download completely.

3. Unpackage the file. A directory called install_flash_player_10_linux will be created.

4. In terminal, navigate to this directory and type ./flashplayer-installer to run the installer. Click Enter. The installer will instruct you to shut down your browser(s).

5. Once the installation is complete, the plug-in will be installed in your Mozilla browser. To verify, launch Mozilla and choose Help > About Plug-ins from the browser menu.

When I'm in the terminal program, I type this in but don't get a response. I'm not sure how to navigate to directories...

View 2 Replies View Related

General :: Launch Screen As First Program When Opening Terminal?

Jun 14, 2011

I want to launch the screen program by default and automatically every time that I open the bash terminal. How can I set this in terminal? I'm using lxterminal - terminal for lxde desktop environment.

View 2 Replies View Related

Ubuntu :: Run Program In Terminal With A Terminal Specific Profile From GUI

Dec 12, 2010

I'd like to run a program [URL] from the GUI menu (yes, I know I can run it from the command line). I've gotten this to work by using a menu entry (see attached screenshot).The command is:

Code:

gksu chkrootkit

with the option for Type: was selected as Application in Terminal However, when chkrootkit is finished, the terminal immediately snaps shut according to the profile selection: When Commands Exits: Close terminal What I'd like to do is create another profile that causes the terminal to be held open (see screenshot) when the command exits and be able to choose that profile from the GUI Menu entry. I believe the command when using the CLI is:

Code:

gnome-terminal --profile=<profile_name>

how do I incorporate this within the Command entry line of the launcher?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved