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??
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?
I have apache installed and I have it all setup so that when I create a user, in their home directory i created a folder called public_html and then that user can upload web content. Users then can browse to their site by going to[URL],,.How can I get apache to show a different or default page if the user does not have a index.html file in their public_html folder. Cause if they dont, you get a 401 saying you dont have permissions to view, etc. So id like apache to default to something else if the user doesnt have a index.html.
Running debian wheezy. I noticed recently, whenever I fork a process using "&" from a terminal, such as
Code: Select allleafpad &
it starts up, shows the processid in the terminal, but every time when I close the terminal, leafpad gets killed. However, I create a simple bash script,
Code: Select all#!/bin/bash leafpad& exit
The script launches leafpad, then exits out leaving leafpad running, as it should. Is what I mentioned above normal? I'm confused, because I think I used to be able to do this in terminal without it depending on the terminal to stay running.
I guess I'm remembering wrong. As it turns out, commands begun on terminal get closed with terminal unless, as mentioned, you use nohup or start subshell. Process hierarchy and tracking etc.
I really can't say what I did that may have triggered this problem. I've been trying to setup remote access through SSH but that's about it. Haven't changed any settings in a bit though. I downloaded Konsole and it closes immediately as well.
I can't open my terminal anymore. I changed a preference under the Title and Command tab in the preferences of the GNOME terminal. I put a custom command instead of the normal shell, but after I closed I realized that under the "When Command Exits" menu, I chose "Close Terminal". This means that the terminal closes automatically as soon as the command is done. After I open, it finishes the command and closes. I was wondering whether there is some way to change the terminal preferences from somewhere else or reinstall the terminal, and I obviously can't use terminal commands.
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?
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....
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.
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).
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.
I removed the LXDE and XFCE packages and now when I try to boot into F14 it goes into a loop between the login page and the fedora icon with blue background showing a X over the icon. In other words, it is looping between the login screen and the previous screen. I think I broke it good. Is there anyway to recover from this?
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
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.
I'm setting up Ubuntu based multimedia PC. I need instructions how to make Music Player Daemon to lauch at login. Tried to put it to startup programs but it still doesnt lauch. Could it be that wlan connection and network drive mount not are not established fast enough for mpd to launch? From terminal mpd launches normally and works perfectly.
I'm trying to make some pages. For this I try to host them locally. However, when I have an error in my PHP code, the server shows an internal error 500 page and doesn't show on what line and what compile error it encountered. There is no such information in the error log either. What should I do about it, it's not really nice to comment all the lines and then try to uncomment them one by one. I've been googling for a while, but didn't find anything.. I forgot to mention, I;m using Fedora :P, the apache that came with it and mysql and php from the repository...
After running yum update my F12 today the gdm greeting shows only other user login. I always have to type im my user name. This change after the first login is closed and gdm shows up login screen again. This happens on both of my machines laptop and server.
I recently upgraded my Fedora server from 13 -> 15 and imported all the linux and samba accounts from the old setup. I have the machine operating as a domain server for my network using samba and tbm files for storing user info for samba. I now have all the machine accounts (machine$) show up at the login screen after startup as well as the user accounts. How can I hide these machine accounts like before?
when I get into the login page, I can only see the background and the login box in the middle of the page just turns whole white and keeps flashing. no response for any clicks. I was force to ctrl+alt+F1 to switch to init 1 to do my work. But I still want to use my graphical desktop either KDE or Gnome is ok. I am using gnome.
I'm not sure if this is the correct section to ask this question, so mods please move if needed. This happens with a freshly installed Lucid 64 bit, 2.6.32-22-generic kernel. Each time I boot into the system I get prompted for my password: "Unlock Login Keyring
Enter password to unlock your login keyring The login keyring did not get unlocked when you logged into your computer." At first I thought it was the wireless network problem, so I already checked my wireless as "Available to all users", but this didn't stop the prompt. Doing a little bit more of research, if I cancel the dialog without entering my password, I can access the web without any problems (so again it is not the wireless connection problem), but then if I try to launch Gwibber I get the prompt again (two times actually, if I press Cancel the first time), or if I launch Empathy as well (three times in a row if I press Cancel; probably it has to do with the fact that I'm logged into 3 different accounts, facebook, gmail and hotmail?).
Furthermore, this two nice pieces of sofware offer almost zero configuration options to the user, at least GUI-wise, so there is no checkbox for "Available to all users" or anything simmilar for the matter. For instance, in gwibber I have spell-check turned on by default and there is no way to turn it off. So I guess I'll have to tweak some configuration file in some obscure folder,
I'm wondering if there is an option to not show specyfic user on login screen in my gnome desktop - so f.e. I've got 3 users: "a", "b" and "c" and I want only "a" and "b" to be shown in login window.
I have problem with login to Fedora 14. After I type my password is show Fedora 14 screen but It stop doing anything it show only Fedora 14 Picture background.
I want to put a photo slide show in a web page I am creating. What is my best option? Want open source. I know CSS and HTML but am not a programmer. Need something fairly easy to install.
I did a perl/cgi script for uploading image. The script works, image is iploaded in upload directory, but the problem is: How can I to load and show image in web page?
I updated Firefox today via Yast, since this time it doesn't show any page.I choosed in Configuration no proxy.The sites are empty, nothing just white.I also tried a downgrade to the previous version, didn't help.The Firewall I deactivated for test in Yast, too.A new profile didn't help, starting as administrator either not.
(I am new to Ubuntu though have experimented with various Linux flavors in the past.) I have been struggling with this issue with Firefox 3.6.17 on Ubuntu 10.10. When I start Firefox it always loads the previous session's tabs, though I have the option set to load home page, not restore tabs. Where would it be picking this up from ?
Is it possible to tweak 11.04 to show the old toolbar at the top of the desktop page? If I want to put apps on the desktop how do I do that from the apps page?