Like this:
if [[ -z $DISPLAY ]]; then temp=$(tty) && exec startx -- :${temp:8} vt${temp:8}; fi
What's different between ~./bashrc and ~/.bash_profile?
Edit: After reading this I think I should...
Type: Posts; User: bkvaluemeal; Keyword(s):
Like this:
if [[ -z $DISPLAY ]]; then temp=$(tty) && exec startx -- :${temp:8} vt${temp:8}; fi
What's different between ~./bashrc and ~/.bash_profile?
Edit: After reading this I think I should...
I didn't realize it did that. I understand now, but how could I make it start on tty1 and not tty7? Is that a wise thing to do?
I'm using a Debian base install, but between Ubuntu and Debian the...
I should clarify that I'm trying to build my own personal distro from the ground up. I've installed xorg, openbox, tint2 and configured my .bashrc to automatically run startx. I want the gui to start...
When I run startx and then change to a new tty the gui closes, but the server is still running. How do I make it so that I return to the gui on that tty?
I run Ubuntu Server. I don't have a gui. I will research enterprise connections.
I have an AppleTV that I run Ubuntu server on. I use ndiswrapper to connect to wireless networks. I can connect to networks, but here at college we need to authenticate with a username and password....
Solved my own problem. I should have created accounts with adduser.
There is a commented share for all home directories. Why not use that?
I have an external hard drive mounted to /mnt
I created a new user...
sudo useradd -d /mnt/Justin -m Justin
sudo passwd Justin
... but can't login to ftp.
My user account works perfect,...
Is there a way I can "mount" another computer's VNC as a local display? My plan is to use xdotool on those displays. I'm trying to automate things on an Android phone.
I'm trying to add the Proxmox ISO to grub2 that I'm running on a flash drive, but don't really know what I'm doing. How do I make it work?
This is what I've got:
set timeout=-1
set default=0
...
Working with wireless, I have installed ndiswrapper and the driver. wlan0 just won't show up like it should. What do I need to do?
Edit:
It appears that the wireless keeps loading ssb and not...
Thank you for your help. I was just trying to get the thing online and use a normal consumer router. Nothing fancy. I do however want to implement vpn in the future.
How do I enable this on boot?
Edit:
I fixed that. I edited /etc/udev/rules.d/70-persistent-net.rules to make eth1 eth0.
# This file was automatically generated by the...
lshw -class network told me that the ethernet was eth1 and disabled. So I enabled it with ifconfig eth1 up and now it shows up in ifconfig. I'm trying to figure out how to use dhcp, I think that's...
Like I said, Debian had no issues connecting to the internet. I know it isn't the cable, and my router hasn't had any problems either.
ifconfig
Link encap:Local Loopback
inet addr:127.0.0.1...
I've been at this for 3 days now trying to turn an old Apple TV 1st gen into a server. I installed Ubuntu Server 12.04.2 32bit without a problem, but sadly I haven't any internet. I've been following...