General :: "X Is Already Running" - Reconnect To That X Session
Dec 17, 2010
I'm currently working on a workaround for a problem I'm having. After I resume from suspend, sometimes I get an error that stops me from getting back in correctly and I get dropped to a terminal. If I hot Control-Alt-F1, I can login via text. If I run startx, I get an error saying that X is already running. I'd like to either via a script or some command, get back into my existing X session. I've done some Google searching but I can't seem to find out how to do this. As it is now I have to kill KDM and restart X, which isn't quite as elegant as I'd like.
View 2 Replies
ADVERTISEMENT
Dec 7, 2009
I am using SSH to access a UNIX running red had Linux. If possible I would like to invoke the GUI on my connection. Is there a way I could do that e.g by exporting the display or running X-server.
View 2 Replies
View Related
Jul 7, 2011
How can we put ssh/putty session running even after in standby or disconnected mode.The idea is to have run a long running job from my notebook, which may take 6-8 hours, and if i come next day, there should be interrupt with it.
View 7 Replies
View Related
Oct 13, 2010
I have both a mac and ubuntu box sitting on my desk. I work on the mac and access the ubuntu box over ssh.Often I need the point-and-click interface of the ubuntu box, at which point I run gnome-session. The problem is that the top and bottom menu bars fill the full size available to them, which can cause me problems (I use two different-sized screens and the barsget hidden), and overall it looks very messy. I would therefore like to confine the gnome-session to a window, much like you get with vnc (or parallels if you're running a virtual ubuntu session).
View 5 Replies
View Related
Jan 30, 2011
My University gives us access to a Linux server, named stud1.
Code:
me@stud1:~$ uname -a
Linux stud1.some.univ.ac 2.6.9-89.31.1.ELsmp #1 SMP Mon Oct 4 21:41:59 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
Apparently I was logged in, and never logged out sometime:
Code:
me@stud1:~$ who
<snip>
me pts/37 Jan 30 13:27 (6.6.66.66)
<snip>
me pts/58 Dec 30 19:13
but when trying to find out why I'm still logged in, I can't find it:
Code:
me@stud1:~$ ps faux |grep me
root 30030 0.0 0.0 51128 4360 ? Ss 13:27 0:00 \_ sshd: me [priv]
me 30033 0.0 0.0 51132 2336 ? S 13:27 0:00 \_ sshd: me@pts/37
[code]....
how can I logout this unused session?
View 2 Replies
View Related
Feb 4, 2009
I frequently access my home computer throughout the day in two ways: either locally, or remotely using nxserver/nxclient. As one user, I have two concurrent X-windows sessions running, possibly with different applications running in each. Is it possible to move a running application from one session to the other? That is, I want all the active windows related to the app to disappear from one desktop,
View 4 Replies
View Related
Jul 19, 2011
I am running matlab 2010b on centOS5.6. Matlab opened without any error either in the computer terminal or in VNCSERVER. While running bench (of matlab) the session or the vncserver are crashing.In some cases the bench run for the first time without any problems, however it will crash the session or the vncserver on the 2-3 runs of the same code.
View 5 Replies
View Related
Nov 6, 2010
System -> Preferences -> Startup Applications -> Options -> Remember Currently-Running Applications I have Skype added to the startup applications list. This works fine. After doing the above, two instances of Skype are starting up every time - and I have not checked the "Automatically remember ... " checkbox. I could not find a way to undo this. After doing the above again, three instances of Skype are starting up every time.
View 3 Replies
View Related
Apr 7, 2010
How do I obtain information about the running x-server from a remote shell session? I want to know things like resolution, color depth, etc. My xorg.conf is basically empty. The only thing I can think of doing is to read the Xorg.0.log file which seems inefficient.
I thought that 'xrandr' displayed some text output but that behavior has changed (?). It seems to require an X display. Is there another way? Something I could incorporate into a shell script? (This is Fedora but that shouldn't really matter)
View 1 Replies
View Related
Sep 14, 2010
I want to run X window graphical application over ssh session on my server running Centos 5.5 . i used the -X flag for ssh (ssh -X user@serverip). i checked the /etc/ssh/sshd_config file on the server and i have the line "X11Forwarding yes". but i can not run any X applicaton. when i use root account i get the message: xauth: creating new authority file /root/.serverauth.15813
[Code]...
View 3 Replies
View Related
Jul 19, 2011
I am running matlab 2010b on centOS5.6.
Matlab opened without any error either in the computer terminal or in VNCSERVER.
While running bench (of matlab) the session or the vncserver are crashing.
In some cases the bench run for the first time without any problems, however it will crash the session or the vncserver on the 2-3 runs of the same code.
Any idea how to solve this issue?
View 1 Replies
View Related
Feb 1, 2011
I used to use kubuntu last years, but I decide to give Ubuntu a try instead.A thing that was working on kubuntu's KDE by default, is that when you close your session, the system remembers what applications was you using, so in the next boot up they will be open exactly as it was.I would like to have this feature also on my Ubuntu 10.04, but I've been not lucky searching for the option to enable it.
View 1 Replies
View Related
Mar 28, 2011
I have ubuntu 10.04 & I telnet to windows vista. Even if I create a hidden process [URL].. from batch file . It seems the process gets killed when I end connection at port 23 to host. Maybe , the hidden process created is still child of current telnet session so tree is killed as session ends. Is there a way to keep process running even after telnet session has ended ?
View 6 Replies
View Related
Oct 15, 2010
Running Ubuntu 10.04 to 10.04 over LAN; I can SSH -X into my server just fine, and am able to launch various applications (Nautilus, Gnome-Terminal, Disk Utility, etc) but I'd really like a Gnome desktop. When I've tried the various StartX commands and gnome-session, but something just isn't clicking. Is there a way to have a 'second' Gnome session running on the client over the first?
To pre-empt some obvious solutions; I don't wish to use VNC, the lag drives me nuts, and I'd like to keep my gnome session running on the client machine if possible. If it's not possible, that's fine; it just seems like there'd be a way to do it?
View 1 Replies
View Related
Jun 6, 2011
I want to configure my tightvnc server installation to use my already running X session (on current :0 screen), but as i understand its not really and its working only at another screen. How can I configure to use it on my current screen?
View 2 Replies
View Related
May 23, 2010
I am trying to configure pppd to connect to a 3G network (Sprint, in this case) and then stay connected, reconnecting automatically if the remote connection is terminated. I have enabled the persist option. My configuration file is as follows:
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/cellular"
[code]....
View 1 Replies
View Related
Jun 4, 2010
If I let my computer sit for about 10 minutes, I lose all the windows I had open (gnome) and i get a message saying I'm running in low graphics mode. I have to restart X in low graphics mode to get it to work. i can't tell the difference, but as an avid writer, I often feel the need to get up and think about whatever I have open in oowriter.
View 3 Replies
View Related
Mar 9, 2011
I am using tcp for data transmission between 2pcs running linux.During transmission, I have noticed that if I unplug the network cable and reinsert it quickly,connection is not lost(same as i expect)and the sender start to resend the packet after 5s(what i expect is that network packets sent immediately after quick physical disconnect and reconnect).My question is can i reduce 5s to 0s(resend immediately after network cable reconnect)?Any parameters(tcp rto,txqueuelength,..) can be modified to achieve this condition?
View 10 Replies
View Related
May 11, 2010
Info about session timeout.
I use tmout = 15 min in my /etc/profile (along with readonly tmout). i have some issues i need to address, looking for ideas.
1. what is considered a idle "session" ?
2. if i & a process to the background and do nothing is this a idle session?
3. if user uses su to a higher level, are there now two sessions? is the tmout for user suspended until su user time outs or leaves su session?
4. i have some users who will run long sql queries. is there a workaround to have the session remain active until process has finished?
View 3 Replies
View Related
Apr 12, 2010
hypothetically speaking, can i write a script in which a telnet session is opened and then some more commands are forwarded to that session?
View 4 Replies
View Related
Nov 10, 2010
I have a very bad attempt at hashing the components of an tcp session to assign/locate the session in a hash table bucket. I am pretty sure that it has a very high collision rate and when there are a very large number of tcp sessions my application is having to search a long linked list to find the session within the bucket.
All the hashing functions I have found take a single string input where I need to input several integers and hash them into a single result. My guess is that any real hashing function is going to produce better results than what I am currently doing.
[Code]...
View 2 Replies
View Related
Nov 1, 2010
Is there a session manager I can use with 10.10? I would like to try Openbox but am not sure how to select it as a startup session. I would like to be able to choose between kde, gnome and openbox.
View 1 Replies
View Related
Jan 22, 2010
I am putting together some new systems for my customer and I'm having some trouble with a script that we use to back up files to a DVD R. The problem is that I can't write a 2nd session to the DVD unless I eject the disk and reload it. The drives are slimline type drives, Sony BD-5730S and Teac DV-W28S-V93, so they won't reload without human intervention. Opsys is CentOS 5.4 or RHEL 5.4. I've tried both AMD and Intel based mother boards. If i try this on Fedora 11 or 12 it works fine. This works on IDE attached drives but not a SATA attached drives. Fedora appears to use something called genisoimage instead of mkisofs. I can't get genisoimage to run on CentOS or RHEL.
Here's the code to setup the test files:
rm -f /tmp/BDtest/*
mkdir /tmp/BDtest
dd if=/dev/zero of=/tmp/BDtest/blank.iso bs=10M count=1
for NUM in {1..160}
[Code].....
View 2 Replies
View Related
Jul 23, 2011
Having these issue with samba, after random time (it can be after 20 min or after 5-8min) my client mashine on windows 7 disconnects from opensuse 11.4 kde server. When i refresh disk on windows I am getting message that local device is already in use and that connection has not been restored.
I need to go to my suse and type service smb restart but these command usualy dont work I need to retype it for few times until windows can reconnect. it happen quite offen, hapend while wathing movie from shared disc...
View 9 Replies
View Related
Jun 1, 2015
On my Raspberry (I know but I could not get any response in raspberry-forums) running raspian I have a problem with a bluetooth-keyboard.
It has bluez 4.99-2 installed and I was able to pair the keyboard and make it trusted and when I run "bluez-test-input connect <address>" I can use it as an input device, but the problem is that when the keyboard goes into a standby-mode after some inactivity the connection is lost and not reestablished. To make it work again I have to run the bluez-test-input command again.
Now when I use the keyboard on my Android-device it also goes into standby but as soon as I start to type again it automatically reestablishes the connection - this is what I would like to achieve on the Rasperry.
My fundamental problem is that I don't know anything about bluetooth really...
I assume that on Android the keyboard initiates a connection when it comes back from sleep but on Raspbian the connection is initiated from the Pi and when the connection is lost the keyboard may try to reconnect but maybe there is no "bluetooth-server" on the Pi to accept the connection but that is just guesswork from someone that really has no clue...
View 0 Replies
View Related
Oct 26, 2015
I have done a clean install of debian 8.2 (jessie) on a new PC. I am working through some of the issues that were not correctly installed. One of them is the wireless network. On startup, I have a wireless connection. At some point within the first 5-25 minutes of being logged in and doing computer stuff (there is no known action that leads to the reaction), the wireless disconnects from the network and will not reconnect. The network-manager-gnome shows three horizontal dots; the system settings> network shows all of the available networks, the strength of their signal, and the "connecting" circle spins. This behavior occurs with both WPA and insecure networks.
I have followed the guidelines for Debian>WiFi>HowToUse (https://wiki.debian.org/WiFi/HowToUse). Nothing appears amiss when following the Network-Manager>Gnome portion of the instructions. I was going to try the alternate WICD program, but one has to uninstall network-manager to use wicd and synaptic also wants to remove something called "gnome", too-- uninstalling a package with that name makes me uneasy. I have noticed that the installed versions of network-manager (0.9.10.0-7) and network-manager-gnome (0.9.10.0-2) don't exactly agree, but I doubt that that is significant.
root@fayalite:/home/agnewton# iwconfig
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:"Mineralogy"
Mode:Managed Frequency:2.472 GHz Access Point: 64:E5:99:2C:A0:7E
Bit Rate=150 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=70/70 Signal level=-18 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
[CODE]..
View 8 Replies
View Related
Mar 5, 2010
I didn't find a solution to making my 3G/GPRS "modem" reconnect automatically when the connection fails, so I made a solution of my own. It's very annoying when you're downloading a file overnight, only to find that the connection has failed 5 min after you went to sleep.Restarting the NetworkManager daemon makes it automatically connect to all configured interfaces, including 3G/GPRS, so I made a simple script to do that.First, we check if the modem is even connected. Replace Huawei with the brand you're using. Any unique word on the line in lsusb will do fine as well. Then we check if the connection is up, and if it is, we simply exit. Otherwise, the NM daemon is restarted, which causes the 3g/gprs to reconnect.
View 2 Replies
View Related
Jan 3, 2011
EDIT: Question removed; I wrote a small howto below.
View 1 Replies
View Related
Nov 27, 2010
i use ppp to connect to a VPN, and i need it to auto reconnect when i looses connection. How do i make it work?I use Debian.
options.pptp settings:
lock
noauth
[code]....
View 1 Replies
View Related
Jul 26, 2010
I presume there is something in the JWM window manager - or Puppy Linux Lupu 5.01 itself that is conflicting with the normal loading of GMPLAYER....
I would like to know how to troubleshoot, and fix this problem if possible (even a workaround would be great).
View 1 Replies
View Related